create MethodStatic

Create a rotational sweep. All input objects are CAPTURED.

create(contour: AnyCurve, axis: Ray3d, sweepAngle: Angle, capped: boolean): RotationalSweep | undefined

Parameter Type Description
contour AnyCurve profile to sweep, coplanar with axis.
axis Ray3d rotation axis.
sweepAngle Angle signed angular sweep.
capped boolean whether to cap the surface to make a solid.

Returns - RotationalSweep | undefined

Defined in

Last Updated: 09 June, 2026