Shape push pull
shape_push_pullPush or pull a flat face of a 3D solid to extend or carve it. Choose a face direction and distance to reshape the model.
Instructions
Shape Studio (SketchUp Push/Pull): pick a flat face of node_id and push it in (negative distance → carves) or pull it out (positive → extends the solid). The face is the whole coplanar region reached from the triangle whose outward normal matches face ("+x","-x","+y","-y","+z","-z" or [nx,ny,nz]); point [x,y,z] selects among several faces facing that way (nearest wins), otherwise the outermost one. Works on any node, including results of earlier push/pulls and booleans. Example: box then shape_push_pull(face:"+z", distance:0.5) raises the top by 0.5 m.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"node_id": "<node_id>",
"face": "<face>",
"distance": "<distance>"
},
"name": "shape_push_pull"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| face | Yes | "+x","-x","+y","-y","+z","-z" or a normal vector [nx,ny,nz] | |
| name | No | ||
| point | No | ||
| node_id | Yes | ||
| distance | Yes |