use $tiny_padding = 0.01; // calculate cylinder/circle "Fragments Number" based on diameter function diameterToFn(d, mult = 4) = (d * PI * mult); function dToFn(d, mult = 4) = diameterToFn(d, mult); function hole_z(h) = assert(h > 0, "hole_z: h should be greater than 0") -h * 0.001; function hole_h(h) = assert(h > 0, "hole_h: h should be greater than 0") h * 1.002;