create_shape
Draw a flat polygon face from ordered [x,y,z] mm points in a new SketchUp group, then optionally extrude it by a push/pull thickness to create a solid for floors, slabs, or outlines.
Instructions
Draw a flat face from a polygon (list of [x,y,z] mm points, >= 3 coplanar points) in a new group. pushpull (mm) extrudes it into a solid (e.g. draw a floor outline, then pull it up to the slab thickness). Returns: {id, persistent_id, type, name, tag, material, bounds_mm{min,max,size}}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| name | No | ||
| color | No | ||
| points | Yes | Polygon vertices [[x,y,z],...] mm, >= 3 coplanar points, in order around the perimeter | |
| material | No | ||
| pushpull | No | Extrusion thickness (mm); a horizontal face is pulled up along +Z |