-rw-r--r-- | titan-bracket.scad | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/titan-bracket.scad b/titan-bracket.scad index 48858bb..924214a 100644 --- a/titan-bracket.scad +++ b/titan-bracket.scad @@ -1,49 +1,49 @@ // The thickness of the mount plate (in mm) mountplate_thickness = 5 ; // [0:10] // The thickness of the motor mount plate (in mm) motormountplate_thickness = 2 ; // [2:7] /* [Hidden] */ layer_height=.25; extrusion_width=.5; epsilon=.01; module smoothen(r) { offset(r=+r,$fn=r*PI*6) offset(delta=-r) children(); } module the_bracket( mountplate_size=[62,40], mountplate_r = 3, mounthole_d = 3.5, mountholes_span=[54,30], motor_side=42.3, motor_protrusion_hole_d = 23.5, motormountholes_span = 31, thickness = 2, motormountplate_thickness = 2.5, mountplate_thickness = 2, - motormounthole_d = 3, + motormounthole_d = 3.1, motorconnector_width = 16.5, motorconnector_hole_r = 2.5, motorconnector_distance = 16.5, mountscrew_l = 10, mountscrewhead_d = 6, mountscrewhead_h = 3, mounthole_depth = 5, motormounthole_depth = 4, extra_spacer = 0 ) { titan_h = 25; titan_bowdenmount_h = 4; echo("max longscrew",titan_h+motormountplate_thickness+extra_spacer+motormounthole_depth); echo("max shortscrew",titan_bowdenmount_h+motormountplate_thickness+extra_spacer+motormounthole_depth); difference() { union() { // mount plate linear_extrude(height=mountplate_thickness) smoothen(r=mountplate_r) translate([-mountplate_size.x/2,0]) square(size=mountplate_size); // motor mount plate hull() for(sx=[-1,1]) translate([sx*(motor_side/2+thickness-motormountplate_thickness/2),motormountplate_thickness/2,0]) cylinder(d=motormountplate_thickness,h=motor_side+mountplate_thickness,$fn=motormountplate_thickness*PI*2); // sides for(sx=[-1,1]) translate([sx*(motor_side+thickness)/2,0,0]) |