Draw Spline
draw_splineCreate a spline in the most recent sketch using fit points for a curve through points or control points for a control-polygon spline.
Instructions
Draw a spline in the most recent sketch. Use fit_points for a curve through points, or control_points for a control-polygon spline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| degree | No | Spline degree (only for control_points, 3 or 5) | |
| points | Yes | Array of [x,y] or [x,y,z] points. Ignored: sketch curves lie in the sketch plane. Leave at 0 and use create_sketch(z_offset=...) to move the plane itself. | |
| spline_type | Yes |