revolve

open fun revolve(): Revolution

Create a solid of revolution. Take this object, stand it up, so that it is on the plane Y=0, and then spin it around the Z axis.

NOTE, this shape must be completely in the region X >= 0. It must not cross the Y axis.

Specify the number of sides and the convexity by calling Revolution.sides and Revolution.convexity


open fun revolve(angle: Double): Revolution

Create a solid of revolution. Take this object, stand it up, so that it is on the plane Y=0, and then spin it angle degrees around the Z axis.

Specify the number of side and the convexity by calling Revolution.sides and Revolution.convexity