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).
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 |