Input variables
| Variable | Meaning | Unit |
|---|---|---|
| x | Original width | mm |
| y | Original depth | mm |
| z | Original height | mm |
| target | Target width | mm |
Equations
Uniform scale · %
s = 100*target/x
Scaled depth · mm
newy = y*target/x
Scaled height · mm
newz = z*target/x
Solid volume multiplier · times
v = (target/x)**3
Notation
PI means π. ** means a power, sqrt means square root, and abs gives the absolute value. Trigonometric functions use radians. min and max select the smallest or largest argument.
ceil rounds upward, floor rounds downward, and round rounds to the nearest integer with halves toward positive infinity. roundup(value, step) rounds upward to the next multiple of the step; a zero step leaves the value unchanged.
Assumptions
- Uniform scaling preserves proportions. Set the same factor on all axes in the slicer.
- Volume grows with the cube of scale only for geometrically similar solid material.
- Wall thickness, clearances and fine details also change with uniform scaling.
- Slicer settings can prevent actual material usage from following the ideal cubic multiplier.
Precision and verification
The tool uses ordinary double-precision numeric arithmetic. Output is displayed to at most four decimal places; measurement precision is usually much lower. Check the worked examples, your project’s specifications, and a real sample before committing material.