fix dustwashers by scaling them based on the plate hole

This commit is contained in:
Brian S. Stephan 2023-11-14 23:56:03 -06:00
parent 6a4980165d
commit bac99f6ea8
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
3 changed files with 6 additions and 3 deletions

View File

@ -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();

View File

@ -20,7 +20,7 @@ include <components.scad>
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);
}

View File

@ -20,7 +20,7 @@ include <components.scad>
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);
}