From 5f73245791398e905aaea2dab2f6fd3b905c1ee0 Mon Sep 17 00:00:00 2001 From: Clinton Ebadi Date: Thu, 12 Aug 2021 23:41:28 -0400 Subject: [PATCH] x-end: add mock up of motor pulley No teeth, just a primitive representation of the pulley selected in the config. --- box_frame/x-end-motor.scad | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/box_frame/x-end-motor.scad b/box_frame/x-end-motor.scad index 0b8d8e6..e897022 100644 --- a/box_frame/x-end-motor.scad +++ b/box_frame/x-end-motor.scad @@ -144,6 +144,22 @@ module x_end_motor_holes(){ } } +module x_end_motor_pulley () { + // todo: y alignment uses magic expression "x_base_outside() + 44/2 + motor_y_offset" copies from motor mount translate + // todo: x alignment uses magic expression "(x_box_width-10)/2" + // to move past back wall of x-end, will need to be + // adjusted if slot width is made to dynamically adjust or + // is changed in size + translate ([x_base_back() + motor_pulley[1]/2 + (x_box_width-10)/2, x_base_outside() + 44/2 + motor_y_offset, x_motor_shaft_z ()]) { + rotate ([0, 90, 0]) { + difference () { + cylinder (d=motor_pulley[0], h=motor_pulley[1], center=true); + translate ([0, 0, -0.01]) cylinder (d=motor_pulley[2], h=motor_pulley[1]+0.03, center=true); + } + } + } +} + // Final part module x_end_motor(){ difference(){ @@ -152,6 +168,7 @@ module x_end_motor(){ } // strain relief (zip tie point) below the motor x_end_motor_sr(); + %x_end_motor_pulley(); } //rotate([0,0,180]) -- 2.20.1