Skip to main content

revolve()

Revolves the last sketch 360 degrees around an axis.

Returns: Revolve

tip

See the guide for detailed usage examples.

Signatures​

revolve(axisLike: AxisLike | Connector, target?: SceneObject): Revolve

Revolves the last sketch 360 degrees around an axis.

ParameterTypeDescription
axisLikeAxisLike | ConnectorThe axis to revolve around — a world axis, an axis(), or a connector (its Z axis through its origin)
targetSceneObjectThe sketch to revolve (optional)

revolve(axisLike: AxisLike | Connector, angle: NumberParam, target?: SceneObject): Revolve

Revolves the last sketch by a given angle around an axis.

ParameterTypeDescription
axisLikeAxisLike | ConnectorThe axis to revolve around — a world axis, an axis(), or a connector (its Z axis through its origin)
angleNumberParamThe sweep angle in degrees
targetSceneObjectThe sketch to revolve (optional)