add_revolved_profile
Create a revolved solid or ring by spinning a closed profile on the Front plane around an axis in it. Use for shafts, vases, or rings; returns mass properties.
Instructions
Revolve a closed profile on the Front plane about an axis in it.
Without axis_mm: profile_mm = [[r, z], …] in mm, r = distance from the Y axis, z = position along it. With axis_mm = [[x1, y1], [x2, y2]]: profile_mm gives [x, y] points and the axis is the line through those two points, anywhere and at any angle (a hub turned about its own centre). Auto-closed and spun angle_deg (default 360°). Points on the axis give a solid (shafts, vases); a profile away from it gives a ring. The profile may not cross the axis. corner_radii_mm rounds corners as for add_extruded_profile (not those on the axis). Returns mass properties. Use new_part first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Revolve | |
| axis_mm | No | ||
| angle_deg | No | ||
| profile_mm | Yes | ||
| corner_radii_mm | No |