Scale Shape
scale_shapeScale a shape uniformly or per axis to bake a standalone solid, optionally around a pivot center; the source geometry is consumed into the scaled copy.
Instructions
Scale a shape uniformly or per-axis, baking a fresh static solid.
Scaling breaks parametric history, so this produces a standalone Part::Feature (not a linked/parametric feature); the source object is hidden since its geometry is consumed into the scaled copy.
handle: source shape handle. factor: scalar for uniform scale, or [sx, sy, sz] for per-axis scale. All factors must be > 0. center: optional [x, y, z] mm pivot to scale about; when omitted the scale is about the world origin (so the shape also moves away from/toward origin). name: object label (default 'Scaled').
Lengths in mm. Returns {handle, name, volume, factor} where factor is the
normalized [sx, sy, sz] applied and volume (mm^3) equals the source volume
times sxsysz.
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": {
"handle": "<handle>",
"factor": "<factor>"
},
"name": "scale_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Scaled | |
| center | No | ||
| factor | Yes | ||
| handle | Yes | ||
| workspace | No | Run this call in this named workspace |