Worked example
Layer count: 50
Inputs
- Object height (mm): 10
- First layer (mm): 0.3
- Regular layer (mm): 0.2
The first layer is capped at object height.
Use the units shown.
If a ≤ b, one layer. Otherwise 1 + roundUp((a−b)/c).
One-layer case: a. Otherwise subtract the first layer and all complete regular layers before the final layer from a.
The first layer is capped at object height. Later layers use the regular height except the final layer, which is shortened to reach the target exactly. Your slicer may enforce different minimum heights.
OpenStax: algebra and proportional reasoning ↗Layer count: 50
Layer count: 5