add_extruded_spline
Create a closed smooth spline through 2D points and extrude it to a 3D body for organic shapes like cams and rounded outlines. Returns measured mass properties.
Instructions
Extrude a smooth CLOSED spline through points: points_mm = [[x,y], ...] in mm.
Like add_extruded_profile but the outline is a smooth curve through the points (free-form/organic shapes: cams, rounded outlines, aesthetic bosses), auto-closed and extruded by depth_mm. A spline's area is not analytic, so the returned volume is the measured value. 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": {
"points_mm": "<points_mm>",
"depth_mm": "<depth_mm>"
},
"name": "add_extruded_spline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Spline | |
| depth_mm | Yes | ||
| points_mm | Yes |