Skip to main content
OG_OPERATION_SWEEP moves a closed profile along a path. The parameters are { profile, path, caps? }. Both are wires. Place the profile across the start of the path. Its plane normal should point along the path.

A bend

The profile is a rectangle at the start of a quarter arc. The arc gives one exact bend with two cylindrical walls:
This prints 6. A circle profile on the same path gives torus faces: a pipe elbow.

An open sheet

With caps: false the ends stay open. The result has no volume, so it is a Sheet:
This prints Sheet 8: eight side faces and no end faces. A sheet shows its surface from the front only. STEP export refuses it, and Sheet has no operate.

Rules

  • caps is true when you leave it out.
  • An arc in an open profile path should meet its lines tangentially.
  • A sweep that would cut through itself throws SweepSelfIntersection.
  • new Solid with caps: false, or new Sheet without it, throws BodyTypeMismatch.
Last modified on November 10, 2026