create MethodStatic
Create a sweep of a starting contour.
create(contour: AnyCurve, direction: Vector3d, capped: boolean): LinearSweep | undefined
| Parameter | Type | Description |
|---|---|---|
| contour | AnyCurve | contour to be swept, CAPTURED |
| direction | Vector3d | sweep vector. The contour is swept the full length of the vector. |
| capped | boolean | true to include end caps |
Returns - LinearSweep | undefined
Defined in
- solid/LinearSweep.ts Line 49
Last Updated: 29 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.