construct_print
Converts a valid v2 scene or parameter document into a watertight 3MF or STL for 3D printing, with checks for bed fit, thin walls, overhangs and required supports.
Instructions
One watertight body of a valid v2 scene or parameter document, to 3D print: 3MF (default) or binary STL, base64, in millimetres, Z up, on the bed; with the checks (watertight, separate pieces, fits the bed, overhangs that need supports, what was thickened) and the scale.
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": {
"document": "<document>"
},
"name": "construct_print"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | the largest print that stands on the printer's bed | |
| join | No | gaps between parts up to this wide are closed, in mm (default 1.6) | |
| size | No | the longest side in mm (default 100) | |
| wall | No | open surfaces thickened to this wall in mm (default 0.8) | |
| exact | No | 3MF: the construct's own solids, parts of one object the slicer joins; only open and too-thin surfaces become voxels | |
| lines | No | the parts drawn only in lines: none, engrave (cut in) or raised (true) | |
| scale | No | print at 1:N of the real size instead | |
| detail | No | the voxel size in mm (default 0.4) | |
| format | No | ||
| printer | No | a printer class: its bed, finest voxel and thinnest wall | |
| document | Yes | a construct-scene (version 2) or a construct-params document | |
| compare_printers | No | instead of a print: for each printer class, the largest print and how much detail survives |