Skip to content

Commit 35d2296

Browse files
committed
Handlebar rail for handle stem
1 parent b82c5e8 commit 35d2296

File tree

1 file changed

+40
-8
lines changed

1 file changed

+40
-8
lines changed

src/Mounting/HandlebarRail.scad

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module HandlebarRailStopblock() {
4545
cube([HandlebarRail_stopblock_magnet_width, HandlebarRail_stopblock_magnet_thickness * 2, HandlebarRail_stopblock_magnet_height], center=true);
4646

4747
translate([0, -HandlebarRail_stopblock_magnet_thickness/2, HandlebarRail_stopblock_height-3])
48-
cube([HandlebarRail_stopblock_magnet_width, HandlebarRail_stopblock_magnet_thickness, 6], center=true);
48+
cube([HandlebarRail_stopblock_magnet_width, HandlebarRail_stopblock_magnet_thickness, 7], center=true);
4949
}
5050
}
5151
}
@@ -64,22 +64,54 @@ module HandlebarRail() {
6464
union() {
6565
HandlebarRailRail();
6666
HandlebarRailStopblock();
67+
68+
block_width=18;
69+
70+
// 90° block for handle stem
71+
translate([7, 18-(block_width/2), 0])
72+
cube([45,block_width,7]);
6773
}
6874

6975
translate([0, 0, -HandlebarRail_tube_radius + HandlebarRail_tube_indent]) {
7076
union () {
7177
// tube
72-
translate([0, 50, 0])
73-
rotate([90, 0, 0])
74-
cylinder(r=HandlebarRail_tube_radius, h=100);
78+
// translate([0, 50, 0])
79+
// rotate([90, 0, 0])
80+
// cylinder(r=HandlebarRail_tube_radius, h=100);
7581

7682
// ziptie wide
77-
translate([0, 4, 0])
78-
HandlebarRailZiptieCutout(11);
83+
//translate([0, 4, 0])
84+
//HandlebarRailZiptieCutout(11);
7985

8086
// ziptie small
81-
translate([0, HandlebarRail_rail_length - 4 - 5.5, 0])
82-
HandlebarRailZiptieCutout(5.5);
87+
//translate([0, HandlebarRail_rail_length - 4 - 5.5, 0])
88+
//HandlebarRailZiptieCutout(5.5);
89+
90+
// 90° tube for handle stem
91+
translate([-40, 18, 0.4])
92+
rotate([90, 0, 90])
93+
cylinder(r=HandlebarRail_tube_radius, h=100);
94+
95+
// 90° 1st zip for handle stem
96+
translate([18, 18, -1])
97+
rotate([0, 0, 90])
98+
HandlebarRailZiptieCutout(6);
99+
100+
// 90° 2nd zip for handle stem
101+
translate([28, 18, -1])
102+
rotate([0, 0, 90])
103+
HandlebarRailZiptieCutout(6);
104+
105+
// 90° 3rd zip for handle stem
106+
translate([38, 18, -1])
107+
rotate([0, 0, 90])
108+
HandlebarRailZiptieCutout(6);
109+
110+
// 90° 4th zip for handle stem
111+
translate([48, 18, -1])
112+
rotate([0, 0, 90])
113+
HandlebarRailZiptieCutout(6);
114+
83115
}
84116
}
85117
}

0 commit comments

Comments
 (0)