Rotate a sketch around some provided axis, creating a solid from its extent.
This, like extrude, is able to create a 3-dimensional solid from a 2-dimensional sketch. However, unlike extrude, this creates a solid by using the extent of the sketch as its revolved around an axis rather than using the extent of the sketch linearly translated through a third dimension.
Revolve occurs around a local sketch axis rather than a global axis.
You can provide more than one sketch to revolve, and they will all be revolved around the same axis.
Arguments
| Name | Type | Description | Required |
|---|---|---|---|
sketches | [Sketch; 1+] | The sketch or set of sketches that should be revolved | Yes |
axis | Axis2d or Edge | Axis of revolution. | Yes |
angle | number(Angle) | Angle to revolve (in degrees). Default is 360. | No |
tolerance | number(Length) | Defines the smallest distance below which two entities are considered coincident, intersecting, coplanar, or similar. For most use cases, it should not be changed from its default value of 10^-7 millimeters. | No |
symmetric | bool | If true, the extrusion will happen symmetrically around the sketch. Otherwise, the extrusion will happen on only one side of the sketch. | No |
bidirectionalAngle | number(Angle) | If specified, will also revolve in the opposite direction to 'angle' to the specified angle. If 'symmetric' is true, this value is ignored. | No |
tagStart | TagDecl | A named tag for the face at the start of the revolve, i.e. the original sketch. | No |
tagEnd | TagDecl | A named tag for the face at the end of the revolve. | No |
bodyType | string | What type of body to produce (solid or surface). Defaults to "solid". | No |
Returns
[Solid; 1+]