transform_entities
Move, rotate, or scale SketchUp model entities by applying uniform scaling, axis rotation, and relative translation to specified IDs or the current selection.
Instructions
Move / rotate / scale entities. Empty entity_ids = use the current selection. translate [dx,dy,dz] mm; rotate_deg about axis (default Z) at pivot (mm, default entity center); scale is a uniform factor. Order applied: scale -> rotate -> translate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | No | Rotation axis [x,y,z]; default [0,0,1] | |
| pivot | No | Rotation/scale center [x,y,z] mm; default = bounding box center of the FIRST entity | |
| scale | No | Uniform scale factor, > 0 (e.g. 1.5) | |
| translate | No | RELATIVE offset [dx,dy,dz] mm, not a target position | |
| entity_ids | No | Ids from tool results (selection_info, create_*...); only valid in the current SketchUp session. Empty = current selection. | |
| rotate_deg | No | Rotation angle (degrees), positive = counterclockwise when viewed from the axis tip |