Skip to content

Commit fd4ea91

Browse files
committed
Bulk rename variables
1 parent 1f732bb commit fd4ea91

6 files changed

Lines changed: 220 additions & 241 deletions

File tree

assembly.scad

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ translate([0, 5, 0])
1616
MainCaseLid();
1717

1818
translate([
19-
OBS_height + GpsAntennaHousing_depth - GpsAntennaLid_thickness + 10 * max(0, explode - 0.2) / 0.8,
20-
GPS_antenna_offset + 6 * (min(1, explode + 0.2) - 0.2) / 0.8,
19+
OBS_height + MainCase_gps_antenna_housing_depth - MainCase_gps_antenna_lid_thickness + 10 * max(0, explode - 0.2) / 0.8,
20+
MainCase_gps_antenna_y_offset + 6 * (min(1, explode + 0.2) - 0.2) / 0.8,
2121
OBS_depth/2,
2222
])
2323
rotate([0, 90, 0])

lib/utils.scad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ module MountRail(clearance=MountRail_clearance) {
9090

9191
translate([MountRail_base_width/2, 0, MountRail_width/2])
9292
rotate([0, -90, 0])
93-
cylinder(r=MountRail_pin_radius, h=MountRail_pin_length);
93+
cylinder(d=m3_screw_diameter_loose, h=MountRail_pin_length);
9494
}
9595
}
9696

src/MainCase/MainCase.scad

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module DebugPCB() {
2323
translate([0, 0, m3_insert_hole_depth])
2424

2525
// move by the offset
26-
translate([PCB_offset.x, PCB_offset.y, 0])
26+
translate([MainCase_pcb_offset.x, MainCase_pcb_offset.y, 0])
2727

2828
// import the file
2929
rotate([0, 0, 90])
@@ -65,28 +65,28 @@ module GpsAntennaHousingPyramid() {
6565
cube([100, 100, 100]);
6666

6767
hull() {
68-
translate([0, 0, GpsAntennaHousing_depth-1])
68+
translate([0, 0, MainCase_gps_antenna_housing_depth-1])
6969
linear_extrude(1)
70-
polygon(roundedRectangle(GpsAntennaHousing_top_width, GpsAntennaHousing_top_height, GpsAntennaHousing_top_radius));
70+
polygon(roundedRectangle(MainCase_gps_antenna_housing_top_width, MainCase_gps_antenna_housing_top_height, MainCase_gps_antenna_housing_top_radius));
7171

72-
translate([0, GpsAntennaHousing_bottom_offset, -1])
72+
translate([0, MainCase_gps_antenna_housing_bottom_offset, -1])
7373
linear_extrude(1)
74-
polygon(roundedRectangle(GpsAntennaHousing_bottom_width, GpsAntennaHousing_bottom_height, GpsAntennaHousing_bottom_radius));
74+
polygon(roundedRectangle(MainCase_gps_antenna_housing_bottom_width, MainCase_gps_antenna_housing_bottom_height, MainCase_gps_antenna_housing_bottom_radius));
7575
}
7676
}
7777
}
7878

7979
module GpsAntennaLidCutBody(tab_clearance=0) {
8080
union() {
81-
translate([-50, -GpsAntennaHousing_top_height/2+GpsAntennaLid_offset, GpsAntennaHousing_depth - GpsAntennaLid_thickness])
81+
translate([-50, -MainCase_gps_antenna_housing_top_height/2+MainCase_gps_antenna_lid_offset, MainCase_gps_antenna_housing_depth - MainCase_gps_antenna_lid_thickness])
8282
cube([100, 100, 10]);
8383

84-
translate([0, -GpsAntennaHousing_top_height/2+GpsAntennaLid_offset, GpsAntennaHousing_depth - GpsAntennaLid_thickness])
85-
linear_extrude(GpsAntennaLid_tab_height - tab_clearance)
84+
translate([0, -MainCase_gps_antenna_housing_top_height/2+MainCase_gps_antenna_lid_offset, MainCase_gps_antenna_housing_depth - MainCase_gps_antenna_lid_thickness])
85+
linear_extrude(MainCase_gps_antenna_lid_tab_height - tab_clearance)
8686
polygon(polyRound(mirrorPoints([
8787
[0, 0, 0],
88-
[GpsAntennaLid_tab_width / 2 - tab_clearance, 0, 0],
89-
[GpsAntennaLid_tab_width / 2-GpsAntennaLid_tab_depth - tab_clearance, -GpsAntennaLid_tab_depth+tab_clearance, 0],
88+
[MainCase_gps_antenna_lid_tab_width / 2 - tab_clearance, 0, 0],
89+
[MainCase_gps_antenna_lid_tab_width / 2-MainCase_gps_antenna_lid_tab_depth - tab_clearance, -MainCase_gps_antenna_lid_tab_depth+tab_clearance, 0],
9090
], 180), fn=$pfn));
9191
}
9292
}
@@ -96,26 +96,26 @@ module GpsAntennaHousing() {
9696
GpsAntennaHousingPyramid();
9797

9898
// Hole for ceramic antenna
99-
cube([GpsAntennaHousing_hole_width, GpsAntennaHousing_hole_height, 100], center=true);
99+
cube([MainCase_gps_antenna_housing_hole_width, MainCase_gps_antenna_housing_hole_height, 100], center=true);
100100

101101
// remove the lid
102102
GpsAntennaLidCutBody();
103103

104104
// heatset insert hole
105-
translate([0, GpsAntennaHousing_top_height / 2 - GpsAntennaHousing_screw_offset, GpsAntennaHousing_depth - GpsAntennaLid_thickness])
105+
translate([0, MainCase_gps_antenna_housing_top_height / 2 - MainCase_gps_antenna_housing_screw_offset, MainCase_gps_antenna_housing_depth - MainCase_gps_antenna_lid_thickness])
106106
HeatsetInsertHole();
107107
}
108108
}
109109

110110
module GpsAntennaLid() {
111-
translate([0, 0, -GpsAntennaHousing_depth + GpsAntennaLid_thickness])
111+
translate([0, 0, -MainCase_gps_antenna_housing_depth + MainCase_gps_antenna_lid_thickness])
112112
difference() {
113113
intersection() {
114114
GpsAntennaHousingPyramid();
115115
GpsAntennaLidCutBody(0.15);
116116
}
117117

118-
translate([0, GpsAntennaHousing_top_height / 2 - GpsAntennaHousing_screw_offset, GpsAntennaHousing_depth - GpsAntennaLid_thickness])
118+
translate([0, MainCase_gps_antenna_housing_top_height / 2 - MainCase_gps_antenna_housing_screw_offset, MainCase_gps_antenna_housing_depth - MainCase_gps_antenna_lid_thickness])
119119
cylinder(d=m3_screw_diameter_loose, h=10, $fn=32);
120120
}
121121
}
@@ -139,16 +139,16 @@ module MainCase(without_inserts=false, top_rider=MainCase_top_rider, back_rider=
139139

140140
union() {
141141
translate([wall_thickness, wall_thickness, wall_thickness]) {
142-
translate([PCB_offset[0], PCB_offset[1], 0]) {
143-
translate([PCB_holes[0][0], PCB_holes[0][1], 0])
144-
HeatsetInsertStandoff(PCB_holes[0][0] + PCB_offset[0]);
142+
translate([MainCase_pcb_offset[0], MainCase_pcb_offset[1], 0]) {
143+
translate([MainCase_pcb_holes[0].x, MainCase_pcb_holes[0].y, 0])
144+
HeatsetInsertStandoff(MainCase_pcb_holes[0].x + MainCase_pcb_offset[0]);
145145

146-
translate([PCB_holes[1][0], PCB_holes[1][1], 0])
146+
translate([MainCase_pcb_holes[1].x, MainCase_pcb_holes[1].y, 0])
147147
HeatsetInsertStandoff();
148148

149-
translate([PCB_holes[2][0], PCB_holes[2][1], 0])
149+
translate([MainCase_pcb_holes[2].x, MainCase_pcb_holes[2].y, 0])
150150
rotate([0, 0, 180])
151-
HeatsetInsertStandoff(OBS_height - PCB_holes[2][0] - 2 * wall_thickness - PCB_offset[0]);
151+
HeatsetInsertStandoff(OBS_height - MainCase_pcb_holes[2].x - 2 * wall_thickness - MainCase_pcb_offset[0]);
152152
}
153153
}
154154
}
@@ -197,7 +197,7 @@ module MainCase(without_inserts=false, top_rider=MainCase_top_rider, back_rider=
197197
], fn=$pfn));
198198

199199
// Hole 4
200-
*translate([OBS_height-TopHole4_offset_top, OBS_width-sin(frontside_angle)*TopHole4_offset_top, 0])
200+
*translate([OBS_height-MainCaseLid_hole4_offset_x, OBS_width-sin(frontside_angle)*TopHole4_offset_top, 0])
201201
rotate([0, 0, frontside_angle]) {
202202
translate([0, -wall_thickness, 0])
203203
linear_extrude(OBS_depth)
@@ -245,13 +245,13 @@ module MainCase(without_inserts=false, top_rider=MainCase_top_rider, back_rider=
245245
translate([0, 78, 0])
246246
cube([OBS_height-16,30,100]);
247247

248-
translate([0, PCB_offset.y + wall_thickness-30, 0])
248+
translate([0, MainCase_pcb_offset.y + wall_thickness-30, 0])
249249
cube([OBS_height-16,30,100]);
250250
}
251251
}
252252

253253
// Housing for the GPS antenna
254-
translate([OBS_height, GPS_antenna_offset, OBS_depth/2])
254+
translate([OBS_height, MainCase_gps_antenna_y_offset, OBS_depth/2])
255255
rotate([0, 90, 0])
256256
GpsAntennaHousing();
257257

@@ -263,16 +263,16 @@ module MainCase(without_inserts=false, top_rider=MainCase_top_rider, back_rider=
263263
union() {
264264
// not shift on y by wall_thickness
265265
translate([wall_thickness, 0, wall_thickness])
266-
linear_extrude(UsbCharger_height)
266+
linear_extrude(MainCase_usb_port_housing_height)
267267
polygon(polyRound([
268268
[0, 0, 0],
269-
[UsbCharger_width, 0, 0],
270-
[UsbCharger_width, UsbCharger_depth + 0.92, 3],
271-
[0, UsbCharger_depth + 0.92, 0],
269+
[MainCase_usb_port_housing_width, 0, 0],
270+
[MainCase_usb_port_housing_width, MainCase_usb_port_housing_depth + 0.92, 3],
271+
[0, MainCase_usb_port_housing_depth + 0.92, 0],
272272
], fn=$pfn));
273273

274274
// a little standoff for the PCB
275-
translate([wall_thickness, PCB_offset.y + wall_thickness, wall_thickness])
275+
translate([wall_thickness, MainCase_pcb_offset.y + wall_thickness, wall_thickness])
276276
linear_extrude(m3_insert_hole_depth)
277277
polygon(polyRound([
278278
[0, 0, 0],
@@ -300,13 +300,13 @@ module MainCase(without_inserts=false, top_rider=MainCase_top_rider, back_rider=
300300
// The hole for the sensor
301301
translate([OBS_height-16, OBS_width-16-sin(frontside_angle)*16, 0]) {
302302
translate([0, 0, -2])
303-
cylinder(r=SensorHole_diameter/2, h=70+4);
303+
cylinder(r=MainCase_sensor_hole_diameter/2, h=70+4);
304304

305305
// In the main case, we have to cut the clearance hole larger than
306306
// requeste, to account for the width and twice the clearance of the rim
307307
// in the lid
308308
translate([0, 0, wall_thickness])
309-
cylinder(r=SensorHole_diameter/2+SensorHole_ledge+MainCaseLid_rim_width+MainCaseLid_rim_clearance*2, h=70);
309+
cylinder(r=MainCase_sensor_hole_diameter/2+MainCase_sensor_hole_ledge+MainCaseLid_rim_width+MainCaseLid_rim_clearance*2, h=70);
310310
}
311311

312312
// Hole for accessing Micro-USB of the ESP32 from underneath the GPS
@@ -317,17 +317,17 @@ module MainCase(without_inserts=false, top_rider=MainCase_top_rider, back_rider=
317317

318318
// Hole for GPS antenna cable from the inside of the antenna housing to the
319319
// inside of the main case
320-
translate([OBS_height, GPS_antenna_offset, OBS_depth/2])
320+
translate([OBS_height, MainCase_gps_antenna_y_offset, OBS_depth/2])
321321
rotate([0, 90, 0]) {
322322
translate([0, -13.5, 0])
323-
cylinder(d=GpsAntennaHousing_cable_hole_diameter, h=GpsAntennaHousing_cable_hole_diameter, center=true);
323+
cylinder(d=MainCase_gps_antenna_housing_cable_hole_diameter, h=MainCase_gps_antenna_housing_cable_hole_diameter, center=true);
324324

325325
*translate([0, -13.5+4, 0])
326326
cube([4, 8, 4], center=true);
327327
}
328328

329329
// Cutouts and hole for switch
330-
translate([Switch_offset_bottom, OBS_width_small+sin(frontside_angle)*Switch_offset_bottom, wall_thickness+4])
330+
translate([MainCase_switch_offset_x, OBS_width_small+sin(frontside_angle)*MainCase_switch_offset_x, wall_thickness+4])
331331
rotate([0, 0, frontside_angle]) {
332332
// Square cutout on outside
333333
translate([0, 0, 11])
@@ -350,7 +350,7 @@ module MainCase(without_inserts=false, top_rider=MainCase_top_rider, back_rider=
350350

351351

352352
// Hole for USB Cover
353-
translate([UsbPort_offset, UsbCover_depth, 0])
353+
translate([MainCase_usb_port_x_offset, UsbCover_depth, 0])
354354
rotate([0, 0, 180]) {
355355
UsbCoverMainBody(clearance=0.15);
356356

@@ -362,7 +362,7 @@ module MainCase(without_inserts=false, top_rider=MainCase_top_rider, back_rider=
362362
}
363363

364364
// Hole for USB Charger Port
365-
translate([UsbPort_offset, 0, m3_insert_hole_depth + wall_thickness - UsbPort_vertical_offset])
365+
translate([MainCase_usb_port_x_offset, 0, m3_insert_hole_depth + wall_thickness - MainCase_usb_port_vertical_offset])
366366
hull()for(i=[-1, 1])for(j=[-1, 1]) {
367367
translate([i/2*6.5, 0, j/2*0.7])
368368
rotate([-90, 0, 0])

src/MainCase/MainCaseLid.scad

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,34 @@ use <MainCase.scad>
66

77
module MainCaseLid() {
88
module BatteryHolderChannel() {
9-
translate([0, BatteryHolderChannel_width/2, 0])
9+
translate([0, MainCaseLid_battery_holder_channel_width/2, 0])
1010
rotate([90, 0, 0])
11-
linear_extrude(BatteryHolderChannel_width)
11+
linear_extrude(MainCaseLid_battery_holder_channel_width)
1212
polygon(polyRound(mirrorPoints([
13-
[0, BatteryHolderChannel_depth/2, 0],
14-
[BatteryHolder_inner_width/2+3, BatteryHolderChannel_depth/2, BatteryHolderChannel_radius],
15-
[BatteryHolder_inner_width/2+3, BatteryHolderChannel_depth/2+BatteryHolderChannel_radius, 0],
16-
[BatteryHolder_inner_width/2+3+BatteryHolderChannel_extra_length, BatteryHolderChannel_depth/2+BatteryHolderChannel_radius, 0],
17-
[BatteryHolder_inner_width/2+3+BatteryHolderChannel_extra_length, -BatteryHolderChannel_depth/2, 0],
18-
[0, -BatteryHolderChannel_depth/2, 0],
13+
[0, MainCaseLid_battery_holder_channel_depth/2, 0],
14+
[MainCaseLid_battery_holder_inner_width/2+3, MainCaseLid_battery_holder_channel_depth/2, MainCaseLid_battery_holder_channel_radius],
15+
[MainCaseLid_battery_holder_inner_width/2+3, MainCaseLid_battery_holder_channel_depth/2+MainCaseLid_battery_holder_channel_radius, 0],
16+
[MainCaseLid_battery_holder_inner_width/2+3+MainCaseLid_battery_holder_channel_extra_length, MainCaseLid_battery_holder_channel_depth/2+MainCaseLid_battery_holder_channel_radius, 0],
17+
[MainCaseLid_battery_holder_inner_width/2+3+MainCaseLid_battery_holder_channel_extra_length, -MainCaseLid_battery_holder_channel_depth/2, 0],
18+
[0, -MainCaseLid_battery_holder_channel_depth/2, 0],
1919
], 180), fn=$pfn));
2020
}
2121

2222
module BatteryHolder() {
23-
translate([0, BatteryHolder_length/2, BatteryHolder_lift])
23+
translate([0, MainCaseLid_battery_holder_length/2, MainCaseLid_battery_holder_lift])
2424
rotate([90, 0, 0])
25-
linear_extrude(BatteryHolder_length)
25+
linear_extrude(MainCaseLid_battery_holder_length)
2626
polygon(polyRound(mirrorPoints([
2727
[0, 0, 0],
28-
[BatteryHolder_inner_width / 2, 0, BatteryHolder_inner_radius],
29-
[BatteryHolder_inner_width / 2, BatteryHolder_height, 0],
30-
[BatteryHolder_inner_width / 2 + 1, BatteryHolder_height, 0],
31-
[BatteryHolder_inner_width / 2 + 2.55, BatteryHolder_height - 1.8, 0],
32-
[BatteryHolder_inner_width / 2 + 2, BatteryHolder_height - 2.35, 0],
33-
[BatteryHolder_inner_width / 2 + 2, BatteryHolder_height - 5.85, 0],
34-
[BatteryHolder_inner_width / 2 + 3, BatteryHolder_height - 6.85, 0],
35-
[BatteryHolder_inner_width / 2 + 3, -BatteryHolder_lift, 0],
36-
// [0, -BatteryHolder_lift, 0],
28+
[MainCaseLid_battery_holder_inner_width / 2, 0, MainCaseLid_battery_holder_inner_radius],
29+
[MainCaseLid_battery_holder_inner_width / 2, MainCaseLid_battery_holder_height, 0],
30+
[MainCaseLid_battery_holder_inner_width / 2 + 1, MainCaseLid_battery_holder_height, 0],
31+
[MainCaseLid_battery_holder_inner_width / 2 + 2.55, MainCaseLid_battery_holder_height - 1.8, 0],
32+
[MainCaseLid_battery_holder_inner_width / 2 + 2, MainCaseLid_battery_holder_height - 2.35, 0],
33+
[MainCaseLid_battery_holder_inner_width / 2 + 2, MainCaseLid_battery_holder_height - 5.85, 0],
34+
[MainCaseLid_battery_holder_inner_width / 2 + 3, MainCaseLid_battery_holder_height - 6.85, 0],
35+
[MainCaseLid_battery_holder_inner_width / 2 + 3, -MainCaseLid_battery_holder_lift, 0],
36+
// [0, -MainCaseLid_battery_holder_lift, 0],
3737
], 180), fn=$pfn));
3838
}
3939

@@ -104,18 +104,18 @@ module MainCaseLid() {
104104
// Channels underneath battery holder, for zip-ties
105105
for (i = [-1, 1]) {
106106
mirror([0, 0, 1])
107-
translate([36+i*BatteryHolderChannel_spacing/2, 39, 0])
107+
translate([36+i*MainCaseLid_battery_holder_channel_spacing/2, 39, 0])
108108
rotate([0, 0, 90])
109109
BatteryHolderChannel();
110110
}
111111

112112
// Hole for the sensor
113113
translate([OBS_height-16, OBS_width-16-sin(frontside_angle)*16, 0]) {
114114
translate([0, 0, -15])
115-
cylinder(r=SensorHole_diameter/2, h=20);
115+
cylinder(r=MainCase_sensor_hole_diameter/2, h=20);
116116
}
117117
translate([OBS_height-16, OBS_width-16-sin(frontside_angle)*16, -20]) {
118-
cylinder(r=SensorHole_diameter/2 + SensorHole_ledge, h=20);
118+
cylinder(r=MainCase_sensor_hole_diameter/2 + MainCase_sensor_hole_ledge, h=20);
119119
}
120120

121121
// Holes for M3 screws

src/Mounting/HandlebarRail.scad

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ module HandlebarRailRail() {
88
difference() {
99
mirror([0, 1, 0])
1010
rotate([90, 0, 0])
11-
linear_extrude(HandlebarRailRail_length, convexity=3)
11+
linear_extrude(HandlebarRail_rail_length, convexity=3)
1212
polygon([
1313
[0, 0],
1414
[8, 0],
1515
[8, 7],
16-
[8 - 1.95, HandlebarRailRail_total_height - 1.25 - 1.95 - 1.3],
17-
[8 - 1.95, HandlebarRailRail_total_height - 1.95 - 1.3],
18-
[8, HandlebarRailRail_total_height - 1.3],
19-
[8, HandlebarRailRail_total_height],
20-
[0, HandlebarRailRail_total_height],
16+
[8 - 1.95, HandlebarRail_rail_total_height - 1.25 - 1.95 - 1.3],
17+
[8 - 1.95, HandlebarRail_rail_total_height - 1.95 - 1.3],
18+
[8, HandlebarRail_rail_total_height - 1.3],
19+
[8, HandlebarRail_rail_total_height],
20+
[0, HandlebarRail_rail_total_height],
2121
]);
2222

23-
translate([8-2, HandlebarRailRail_length, -2])
23+
translate([8-2, HandlebarRail_rail_length, -2])
2424
rotate([0, 0, -45])
2525
translate([-1, 0, 0])
2626
cube([10, 10, 20]);
@@ -31,21 +31,21 @@ module HandlebarRailStopblock() {
3131
difference() {
3232
hull() {
3333
for(i=[-1,1])for(j=[0,1])
34-
translate([i*(HandlebarRailStopblock_width/2-HandlebarRailStopblock_radius), j*(-HandlebarRailStopblock_depth+2*HandlebarRailStopblock_radius)-HandlebarRailStopblock_radius, 0])
35-
cylinder(r=HandlebarRailStopblock_radius, h=HandlebarRailStopblock_height);
34+
translate([i*(HandlebarRail_stopblock_width/2-HandlebarRail_stopblock_radius), j*(-HandlebarRail_stopblock_depth+2*HandlebarRail_stopblock_radius)-HandlebarRail_stopblock_radius, 0])
35+
cylinder(r=HandlebarRail_stopblock_radius, h=HandlebarRail_stopblock_height);
3636
}
3737

3838
// cutout for magnets
39-
translate([0, -HandlebarRailStopblock_magnet_wall_thickness, 0]) {
39+
translate([0, -HandlebarRail_stopblock_magnet_wall_thickness, 0]) {
4040
// hole for pushing magnet out
41-
translate([0, -HandlebarRailStopblock_magnet_thickness/2, 0])
42-
cylinder(d=HandlebarRailStopblock_magnet_thickness, h=HandlebarRailStopblock_height);
41+
translate([0, -HandlebarRail_stopblock_magnet_thickness/2, 0])
42+
cylinder(d=HandlebarRail_stopblock_magnet_thickness, h=HandlebarRail_stopblock_height);
4343

44-
translate([0, -HandlebarRailStopblock_magnet_thickness, HandlebarRailRail_total_height + HandlebarRailStopblock_magnet_lift + HandlebarRailStopblock_magnet_height / 2])
45-
cube([HandlebarRailStopblock_magnet_width, HandlebarRailStopblock_magnet_thickness * 2, HandlebarRailStopblock_magnet_height], center=true);
44+
translate([0, -HandlebarRail_stopblock_magnet_thickness, HandlebarRail_rail_total_height + HandlebarRail_stopblock_magnet_lift + HandlebarRail_stopblock_magnet_height / 2])
45+
cube([HandlebarRail_stopblock_magnet_width, HandlebarRail_stopblock_magnet_thickness * 2, HandlebarRail_stopblock_magnet_height], center=true);
4646

47-
translate([0, -HandlebarRailStopblock_magnet_thickness/2, HandlebarRailStopblock_height-3])
48-
cube([HandlebarRailStopblock_magnet_width, HandlebarRailStopblock_magnet_thickness, 6], center=true);
47+
translate([0, -HandlebarRail_stopblock_magnet_thickness/2, HandlebarRail_stopblock_height-3])
48+
cube([HandlebarRail_stopblock_magnet_width, HandlebarRail_stopblock_magnet_thickness, 6], center=true);
4949
}
5050
}
5151
}
@@ -78,15 +78,15 @@ module HandlebarRail() {
7878
HandlebarRailZiptieCutout(11);
7979

8080
// ziptie small
81-
translate([0, HandlebarRailRail_length - 4 - 5.5, 0])
81+
translate([0, HandlebarRail_rail_length - 4 - 5.5, 0])
8282
HandlebarRailZiptieCutout(5.5);
8383
}
8484
}
8585
}
8686
}
8787

8888
if (orient_for_printing) {
89-
translate([0, 0, HandlebarRailStopblock_depth])
89+
translate([0, 0, HandlebarRail_stopblock_depth])
9090
rotate([90, 0, 0])
9191
HandlebarRail();
9292
} else {

0 commit comments

Comments
 (0)