modify_stl_section
Apply scale, rotate, or translate transformations to a chosen top, bottom, center, or custom section of an STL file for 3D printing preparation.
Instructions
Apply a specific transformation to a selected section of an STL file
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": {
"stl_path": "<stl_path>",
"section": "<section>",
"transformation_type": "<transformation_type>"
},
"name": "modify_stl_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| section | Yes | Section to modify: 'top', 'bottom', 'center', or custom bounds | |
| value_x | No | Transformation value for X axis | |
| value_y | No | Transformation value for Y axis | |
| value_z | No | Transformation value for Z axis | |
| stl_path | Yes | Path to the STL file | |
| custom_max_x | No | Maximum X for custom section bounds | |
| custom_max_y | No | Maximum Y for custom section bounds | |
| custom_max_z | No | Maximum Z for custom section bounds | |
| custom_min_x | No | Minimum X for custom section bounds | |
| custom_min_y | No | Minimum Y for custom section bounds | |
| custom_min_z | No | Minimum Z for custom section bounds | |
| transformation_type | Yes | Type of transformation to apply |