rescale_model
Scale an STL model to match a printer's build volume or exact dimensions using uniform height, max-dimension, multiplier, or per-axis scaling.
Instructions
Rescale an STL model to meet dimensional targets.
Useful when a generated model is the wrong size for the printer's
build volume or doesn't match the desired dimensions.
**Uniform scaling** -- provide exactly ONE of:
- ``target_height_mm``: Scale so Z-axis equals this value.
- ``scale_factor``: Uniform multiplier (2.0 = double size).
- ``max_dimension_mm``: Scale down so largest axis fits this limit.
**Per-axis scaling** -- provide ``scale_x``, ``scale_y``, and/or
``scale_z``. Omitted axes default to 1.0 (no change).
Cannot combine uniform and per-axis options.
Args:
file_path: Path to the STL file to rescale (modified in-place).
target_height_mm: Desired Z-axis height in mm.
scale_factor: Uniform scale multiplier.
max_dimension_mm: Maximum dimension on any axis.
scale_x: Per-axis X scale factor.
scale_y: Per-axis Y scale factor.
scale_z: Per-axis Z scale factor.INLINE 3D STAGE: on success this tool opens Kiln's interactive 3D stage — an inline viewer panel the user can orbit, zoom, and turn over — in hosts that render MCP Apps panels (Kiln's hosted connection attaches a browser stage link for hosts that don't). Oversized meshes are decimated automatically for the stage; the PNG preview is the floor, not the whole experience.
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": {
"file_path": "<file_path>"
},
"name": "rescale_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale_x | No | Per-axis X scale factor. | |
| scale_y | No | Per-axis Y scale factor. | |
| scale_z | No | Per-axis Z scale factor. | |
| file_path | Yes | Path to the STL file to rescale (modified in-place). | |
| scale_factor | No | Uniform scale multiplier. | |
| max_dimension_mm | No | Maximum dimension on any axis. | |
| target_height_mm | No | Desired Z-axis height in mm. |