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 the vector0 and vector90 vectors needed to construct a centerline arc for the solid.

Defined in

Last Updated: 09 June, 2026