-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 | |||
@@ -9,33 +9,33 @@ epsilon=.01; | |||
9 | 9 | ||
10 | module smoothen(r) { | 10 | module smoothen(r) { |
11 | offset(r=+r,$fn=r*PI*6) offset(delta=-r) children(); | 11 | offset(r=+r,$fn=r*PI*6) offset(delta=-r) children(); |
12 | } | 12 | } |
13 | 13 | ||
14 | module the_bracket( | 14 | module the_bracket( |
15 | mountplate_size=[62,40], | 15 | mountplate_size=[62,40], |
16 | mountplate_r = 3, | 16 | mountplate_r = 3, |
17 | mounthole_d = 3.5, | 17 | mounthole_d = 3.5, |
18 | mountholes_span=[54,30], | 18 | mountholes_span=[54,30], |
19 | motor_side=42.3, | 19 | motor_side=42.3, |
20 | motor_protrusion_hole_d = 23.5, | 20 | motor_protrusion_hole_d = 23.5, |
21 | motormountholes_span = 31, | 21 | motormountholes_span = 31, |
22 | thickness = 2, | 22 | thickness = 2, |
23 | motormountplate_thickness = 2.5, | 23 | motormountplate_thickness = 2.5, |
24 | mountplate_thickness = 2, | 24 | mountplate_thickness = 2, |
25 | motormounthole_d = 3, | 25 | motormounthole_d = 3.1, |
26 | motorconnector_width = 16.5, | 26 | motorconnector_width = 16.5, |
27 | motorconnector_hole_r = 2.5, | 27 | motorconnector_hole_r = 2.5, |
28 | motorconnector_distance = 16.5, | 28 | motorconnector_distance = 16.5, |
29 | mountscrew_l = 10, mountscrewhead_d = 6, mountscrewhead_h = 3, | 29 | mountscrew_l = 10, mountscrewhead_d = 6, mountscrewhead_h = 3, |
30 | mounthole_depth = 5, | 30 | mounthole_depth = 5, |
31 | motormounthole_depth = 4, | 31 | motormounthole_depth = 4, |
32 | extra_spacer = 0 | 32 | extra_spacer = 0 |
33 | ) { | 33 | ) { |
34 | titan_h = 25; titan_bowdenmount_h = 4; | 34 | titan_h = 25; titan_bowdenmount_h = 4; |
35 | echo("max longscrew",titan_h+motormountplate_thickness+extra_spacer+motormounthole_depth); | 35 | echo("max longscrew",titan_h+motormountplate_thickness+extra_spacer+motormounthole_depth); |
36 | echo("max shortscrew",titan_bowdenmount_h+motormountplate_thickness+extra_spacer+motormounthole_depth); | 36 | echo("max shortscrew",titan_bowdenmount_h+motormountplate_thickness+extra_spacer+motormounthole_depth); |
37 | difference() { | 37 | difference() { |
38 | union() { | 38 | union() { |
39 | // mount plate | 39 | // mount plate |
40 | linear_extrude(height=mountplate_thickness) | 40 | linear_extrude(height=mountplate_thickness) |
41 | smoothen(r=mountplate_r) | 41 | smoothen(r=mountplate_r) |