
This part is a solid of revolution created from a PlanarProfile part, a closed list of curves, or the face of another solid part. To completely define the revolved solid, a profile is needed, as well as the origin and direction of revolution.
| Name | Type | Description |
|---|---|---|
| profile | part | Profile or face part to revolve. |
| angle | number | Total angle of revolution in degrees. This should not exceed 360. |
| origin | point | Origin of the axis of revolution. |
| direction | vector | Normal vector used to define the axis of revolution. |
| Name | Type | Description |
|---|---|---|
| curves | list | List of curves that make up the revolve profile. The curves do not have to be in any particular order, but they should form a closed loop with curves that do not intersect each other. The curves should not create a manifold solid when revolved. |
| ray | any | Ray part that defines the origin and direction of the revolution. |
<curves_only (curves)> If a curve list is supplied, a profile is created.
<ray_only (ray)> Satisfies the origin and direction inputs using the ray's origin and direction.

| Name: | RevolvedSolid_Ex01 | |
| Design: | acDrawingDocument | |
| Name | Type | Formula |
| pointList | list | {Point(-10, 0, 0), Point(-10, 2, 0), Point(-5, 2, 0), Point(-2, 10, 0), Point(-7, 10, 0), Point(-7, 11, 0), Point(7, 11, 0), Point(7, 10, 0), Point(2, 10, 0), Point(5, 2, 0), Point(10, 2, 0), Point(10, 0, 0), Point(-10, 0, 0)} |
| Child Name: | outline | |
| Child Design: | :line | |
Child List? |
||
| Name | Type | Supplied |
| thruPoint1 | point | nth(child.index, Me.pointList) |
| thruPoint2 | point | nth(child.index, rest(Me.pointList)) |
| Quantity | integer | length(rest(Me.pointList)) |
| Child Name: | result | |
| Child Design: | :RevolvedSolid | |
| Name | Type | Supplied |
| angle | number | 270.0 |
| curves | list | outline |
| direction | vector | vector(1, 0, 0) |
| origin | point | point(0, -10, 0) |
| color | string | "jungleGreen" |
| Child Name: | axis | |
| Child Design: | :Line | |
| Name | Type | Supplied |
| thruPoint1 | point | point(-20, -10, 0) |
| length | number | 40 |
| dirVector | vector | vector(1, 0, 0) |
| linePattern | string | "dotted" |
| color | string | "red" |