lay_flat
Rotate an STL model so a stable face rests on the print bed, selecting the orientation that minimizes part and support volume per mm² of bed contact and returns the new STL path.
Instructions
Rotate the model so a face rests on the bed (Z=0), choosing the orientation with the least part and support volume per mm² of bed contact. A face counts only if nothing hangs below it. Returns the new STL path; structuredContent.laid_flat is false, with the input path, when no orientation qualifies.
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>"
},
"name": "lay_flat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stl_path | Yes | Path to the STL file |