Skip to main content
OG_OPERATION_EXTRUDE raises a closed wire into a solid. The parameters are { profile, holes?, distance }:
  • profile: a closed wire, such as a rectangle, a circle, a closed polyline or a closed profile.
  • holes: closed wires inside the profile, on the same plane.
  • distance: the height, along the profile’s plane normal.

A line-and-arc profile

A closed OG_PRIMITIVE_PROFILE extrudes into exact planes and cylinders. This is a quarter ring sector, 3 m high:
A curved wall is the same kind of profile, extruded up. Openings in it are booleans. See Booleans.

Rules

  • The profile must be closed. An open wire throws InvalidParameter.
  • A hole that encloses the whole profile throws InvalidParameter.
  • The extrude goes along the profile’s plane normal. On the default ground plane that is +Y.
  • The wires stay separate bodies. Changing one later does not change the solid.
Last modified on November 10, 2026