vertical_bushing_base_size = bushing_z[1]*2 + 2 * thinwall;
x_box_length = 45; // TODO: auto-adjust based on bearing size?
+// z position of rotor shaft
+motor_shaft_z = 30.25;
// todo: add ghost bearing model to make it easier to spot check if
// everything is aligned
function x_base_outside() = vertical_bushing_base_size/2;
// y position of edge of main block facing toward the x-axis
function x_base_inside() = -x_box_length/2 - vertical_bushing_base_size/2;
+// z position of motor shaft (for aligning idler pulley)
+function x_motor_shaft_z() = motor_shaft_z; // TODO: if it's straightforward, return vector [x,y,z]. x = x_base_inside()
module x_end_base(){
// Main block