alignToSweep
alignToSweep: boolean | undefined
Though the y-axis of the frame returned by getConstructiveFrame is perpendicular to the contour plane, it can point in one of two directions. This option allows the caller to control this direction.
- If
false(default), the y-axis of the frame is the normal reported by the contour. This direction is independent of the solid's sweep direction. - If
true, the y-axis of the frame is aligned to the solid's sweep direction: specifically, it points in the direction of positive sweep. With this choice, columns 0, 1 of the returned frame can be used to construct thevector0andvector90vectors needed to construct a centerline arc for the solid.
Defined in
- solid/RotationalSweep.ts Line 38
Last Updated: 09 June, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.