Construct a circle.
(r: float)
| 6352 | |
| 6353 | |
| 6354 | def circle(r: float) -> Edge: |
| 6355 | """ |
| 6356 | Construct a circle. |
| 6357 | """ |
| 6358 | |
| 6359 | return _shape( |
| 6360 | BRepBuilderAPI_MakeEdge( |
| 6361 | gp_Circ(gp_Ax2(Vector().toPnt(), Vector(0, 0, 1).toDir()), r) |
| 6362 | ).Edge(), |
| 6363 | Edge, |
| 6364 | ) |
| 6365 | |
| 6366 | |
| 6367 | def ellipse(r1: float, r2: float) -> Edge: |