create_curve
Build a 3D curve in SketchUp from millimeter coordinate points, optionally closing it and wrapping it in a group that returns its bounds and details.
Instructions
Create a SketchUp curve from 3D points.
All coordinates are millimeters (mm).
Points are interpreted as model coordinates [x, y, z]. The resulting curve is wrapped in a SketchUp Group.
Set closed=true to connect the final point back to the first point.
Returns JSON containing: {id, name, type, closed, point_count, bbox_mm{min,max}}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional name for the curve group | |
| closed | No | Whether to close the curve by connecting the last point to the first point | |
| points | Yes | 3D curve points [[x,y,z], ...] in mm. At least 2 points. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |