OG_OPERATION_REVOLVE turns a closed profile a full turn into a solid. The parameters are { profile, axis? }:
profile: a closedOG_PRIMITIVE_PROFILEwire.axis:{ point: [u, v], direction: [du, dv] }in the profile’s own[u, v]. By default it is{ point: [0, 0], direction: [0, 1] }, the profile plane’s v axis.
A bowl
On the default ground plane, the v axis runs along −Z, so the solid would lie on its side. Draw the profile on an upright plane instead, with u as the radius and v as the height. The bowl then stands upright about the Y axis:Rules
These throwInvalidParameter:
- A profile that crosses the axis, touches it at a single point, or meets it along two separate stretches.
- An arc whose circle meets the axis.
- A zero
direction.
- A partial turn. There is no sweep angle; every revolve is a full turn.
- A profile with holes.
OG_OPERATION_REVOLVEtakes noholes. - The shell of a full-turn revolve throws
CoverageGap.

