Construct an elliptical face.
(
self: T,
a1: Real,
a2: Real,
angle: Real = 0,
mode: Modes = "a",
tag: Optional[str] = None,
)
| 262 | return self.each(lambda l: res.located(l), mode, tag) |
| 263 | |
| 264 | def ellipse( |
| 265 | self: T, |
| 266 | a1: Real, |
| 267 | a2: Real, |
| 268 | angle: Real = 0, |
| 269 | mode: Modes = "a", |
| 270 | tag: Optional[str] = None, |
| 271 | ) -> T: |
| 272 | """ |
| 273 | Construct an elliptical face. |
| 274 | """ |
| 275 | |
| 276 | res = Face.makeFromWires( |
| 277 | Wire.makeEllipse( |
| 278 | a1, a2, Vector(), Vector(0, 0, 1), Vector(1, 0, 0), rotation_angle=angle |
| 279 | ) |
| 280 | ) |
| 281 | |
| 282 | return self.each(lambda l: res.located(l), mode, tag) |
| 283 | |
| 284 | def trapezoid( |
| 285 | self: T, |
nothing calls this directly
no test coverage detected