Generate locations along the curve. :param ds: distance or parameter values :param mode: position calculation mode (default: length) :param frame: moving frame calculation method (default: frenet) :param planar: planar mode :return: A list of Locatio
(
self: Mixin1DProtocol,
ds: Iterable[float],
mode: ParamMode = "length",
frame: FrameMode = "frenet",
planar: bool = False,
)
| 2461 | return Location(TopLoc_Location(T)) |
| 2462 | |
| 2463 | def locations( |
| 2464 | self: Mixin1DProtocol, |
| 2465 | ds: Iterable[float], |
| 2466 | mode: ParamMode = "length", |
| 2467 | frame: FrameMode = "frenet", |
| 2468 | planar: bool = False, |
| 2469 | ) -> list[Location]: |
| 2470 | """ |
| 2471 | Generate locations along the curve. |
| 2472 | |
| 2473 | :param ds: distance or parameter values |
| 2474 | :param mode: position calculation mode (default: length) |
| 2475 | :param frame: moving frame calculation method (default: frenet) |
| 2476 | :param planar: planar mode |
| 2477 | :return: A list of Location objects representing local coordinate systems at the specified distances. |
| 2478 | """ |
| 2479 | |
| 2480 | return [self.locationAt(d, mode, frame, planar) for d in ds] |
| 2481 | |
| 2482 | def project( |
| 2483 | self: T1D, face: Face, d: VectorLike, closest: bool = True |