create_component
Creates primitive groups (cube, cylinder, sphere, cone) in SketchUp using inch-based position and dimensions for direct 3D modeling.
Instructions
Create a primitive (type: cube, cylinder, sphere, cone) as a group.
position and dimensions are in INCHES (SketchUp's internal unit).
For a cylinder, position is the corner of its bounding box (not the
centre) and dimensions are [diameter, ignored, height].
A cube placed at z=0 extrudes DOWNWARD (z from -height to 0).
For real modelling work prefer eval_ruby.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | cube | |
| position | No | ||
| dimensions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |