diff --git a/src/components.scad b/src/components.scad index 59c7f61..c2b80a3 100644 --- a/src/components.scad +++ b/src/components.scad @@ -45,6 +45,9 @@ lever_mount_x = 53; lever_mount_y = 95; lever_mount_z = 2; +// standard lever hole +lever_plate_hole = 12; + // case dimensions // base frame box. reminder: top of inside (including mounts) is chopped by top_plate_z for plates frame_x = 233; @@ -206,7 +209,7 @@ module levermountbase() { // should work with JLF, JLW, LS-32, LS-33, LS-40, LS-55, LS-56 module levermountholes() { // joystick hole - cylinder(r=12, h=5.1, $fn=50, center=true); + cylinder(r=lever_plate_hole, h=5.1, $fn=50, center=true); // holes for joystick bolts translate([20, 42.5, 0]) m4_hole(); diff --git a/src/misc-dustwasher-jlf.scad b/src/misc-dustwasher-jlf.scad index 819c603..88bb0aa 100644 --- a/src/misc-dustwasher-jlf.scad +++ b/src/misc-dustwasher-jlf.scad @@ -20,7 +20,7 @@ include module jlf_dustwasher() { difference() { - cylinder(r=jumbo_decorative_radius+5+hole_tolerance, h=2, $fn=50, center=true); + cylinder(r=lever_plate_hole*decorative_radius_scale, h=2, $fn=50, center=true); // 5.25 = 4.55 (diameter of shaft is 9.10mm) + .25 to let it take an angle cylinder(r=4.8, h=2.1, $fn=50, center=true); } diff --git a/src/misc-dustwasher-lsx-nobi.scad b/src/misc-dustwasher-lsx-nobi.scad index 2e8fee1..3124fdc 100644 --- a/src/misc-dustwasher-lsx-nobi.scad +++ b/src/misc-dustwasher-lsx-nobi.scad @@ -20,7 +20,7 @@ include module lsx_nobi_dustwasher() { difference() { - cylinder(r=jumbo_decorative_radius+5+hole_tolerance, h=2, $fn=50, center=true); + cylinder(r=lever_plate_hole*decorative_radius_scale, h=2, $fn=50, center=true); // 5.25 = 5 (diameter of shaft is 10mm) + .25 to let it take an angle cylinder(r=5.25+hole_tolerance, h=2.1, $fn=50, center=true); }