add_lofted_solid
Blend two or more closed profiles on stacked parallel planes into a lofted solid, returning its mass properties. Build a ruled or smooth transition from polygon or round sections.
Instructions
Loft (blend) 2+ closed profiles on parallel planes stacked along +Z.
profiles_mm: per profile a polygon [[x,y],…] (mm) in Front-plane coords, or a round section {"center_mm": [x, y], "diameter_mm": d} (thick at the knee, thin at the foot, centres free to wander). heights_mm = the +Z offset (mm) of each profile, same length, strictly increasing, starting at 0. A 2-profile loft is a ruled transition; 3+ blend smoothly. Each profile starts at its first vertex (a round one on +x): give polygons in a consistent vertex order to avoid twist. Returns mass properties. Use new_part first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Loft | |
| heights_mm | Yes | ||
| profiles_mm | Yes |