add_lofted_solid
Create a lofted solid by blending two or more closed profiles on parallel planes stacked along +Z, returning mass properties for validation.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"profiles_mm": "<profiles_mm>",
"heights_mm": "<heights_mm>"
},
"name": "add_lofted_solid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Loft | |
| heights_mm | Yes | ||
| profiles_mm | Yes |