Layer height magic numbers
calculate_layer_heightsCompute the Z-axis "magic number" layer heights for a printer from its stepper step angle, microstepping and lead-screw pitch/starts, filtered to what suits the nozzle. Defaults match most Ender/Prusa-style printers (1.8°, 1/16, T8 2 mm × 4 starts → 0.04 mm steps).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "calculate_layer_heights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| microstepping | No | ||
| lead_screw_starts | No | ||
| nozzle_diameter_mm | No | ||
| step_angle_degrees | No | ||
| lead_screw_pitch_mm | No | ||
| max_layer_height_mm | No |