use 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;