author | Michael Krelin <hacker@klever.net> | 2018-08-04 21:20:26 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-04 21:20:26 (UTC) |
commit | 62c1ffcff93a1880b26829bd5cd5fed9c3eb6293 (patch) (side-by-side diff) | |
tree | a133e1f24cbc3490f79bff57d1421100362dc668 | |
parent | 50a9f2b028a5e10ed3fd46516276296a1147d94c (diff) | |
download | extrudery-62c1ffcff93a1880b26829bd5cd5fed9c3eb6293.zip extrudery-62c1ffcff93a1880b26829bd5cd5fed9c3eb6293.tar.gz extrudery-62c1ffcff93a1880b26829bd5cd5fed9c3eb6293.tar.bz2 |
titan bracket: default 5mm plate thickness
-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 2bd146b..48858bb 100644 --- a/titan-bracket.scad +++ b/titan-bracket.scad @@ -1,66 +1,66 @@ // The thickness of the mount plate (in mm) -mountplate_thickness = 2 ; // [0:10] +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, 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]) hull() { translate([-thickness/2,motormountplate_thickness/2,0]) cube(size=[thickness,mountplate_size.y-motormountplate_thickness/2,mountplate_thickness]); translate([-thickness/2,motormountplate_thickness/2,0]) cube(size=[thickness,motormountplate_thickness/2,mountplate_thickness+motor_side]); } } // mount holes for(sx=[-1,1]) for(sy=[-1,0,1]) translate([sx*mountholes_span.x/2,sy*mountholes_span.y/2,0]) translate([0,mountplate_size.y/2,0]) { translate([0,0,-1]) cylinder(d=mounthole_d,h=mountplate_thickness+2,$fn=mounthole_d*PI*2); translate([0,0,mountscrew_l-mounthole_depth]) cylinder(d=mountscrewhead_d,h=mountplate_thickness+1,$fn=mountscrewhead_d*PI*2); } // motor protrusion cutout |