Another NylonTuner attempt

This commit is contained in:
Luke Hubmayer-Werner 2025-01-02 00:14:18 +10:30
parent 5c3885c06c
commit 3a89717970
2 changed files with 10 additions and 9 deletions

View File

@ -446,6 +446,6 @@ Guitar_Scale_Length_mm = Classical_Short_Scale_mm;
// Nylon6String(); // Nylon6String();
difference() { difference() {
translate([-15, -60, 0]) cube([50, 120, 13]); translate([-15, -60, 0]) cube([50, 120, 8]);
translate([0, 55, 8]) rotate([180,0,0]) NylonTuner(); translate([0, 55, 3]) rotate([180,0,0]) NylonTuner();
} }

View File

@ -3,15 +3,16 @@
module NylonTuner() { module NylonTuner() {
cyl_hd_fn = $preview ? 32 : 512; cyl_hd_fn = $preview ? 32 : 512;
cyl_ld_fn = $preview ? 24 : 72; cyl_ld_fn = $preview ? 24 : 72;
earshaft_diameter = 6; earshaft_diameter = 6.3;
ear_height = 13; ear_total_height = 22.5;
ear_height = 13+3;
ear_diameter = 22.1; ear_diameter = 22.1;
peg_diameter = 6.0; // Closer to 5.7mm peg_diameter = 6.0; // Closer to 5.7mm
peg_length = 28; peg_length = 28;
peg_spacing = 35.0; peg_spacing = 35.0;
peg_string_diameter = 2.2+0.1; peg_string_diameter = 2.2+0.1;
plate_width = 16.6 + 1.4; plate_width = 16.6 + 3.0;
plate_length = 111; plate_length = 112;
plate_thickness = 1.1; // Not really used for our purposes plate_thickness = 1.1; // Not really used for our purposes
outer_thickness = 10; outer_thickness = 10;
// screwhole_diameter = 3; // screwhole_diameter = 3;
@ -26,8 +27,8 @@ module NylonTuner() {
} }
} }
module ear() { module ear() {
rotate([0, 90, 0]) cylinder(h=22.6, d=earshaft_diameter, $fn=cyl_ld_fn); rotate([0, 90, 0]) cylinder(h=ear_total_height, d=earshaft_diameter, $fn=cyl_ld_fn);
rotate([0, 90, 0]) translate([0,0,22.6-ear_height]) cylinder(h=ear_height, d=ear_diameter, $fn=cyl_hd_fn); rotate([0, 90, 0]) translate([0,0,ear_total_height-ear_height]) cylinder(h=ear_height, d=ear_diameter, $fn=cyl_hd_fn);
} }
// Plate and clearance // Plate and clearance
@ -37,7 +38,7 @@ module NylonTuner() {
// Peg // Peg
translate([0, i*peg_spacing + 16, 0]) peg(); translate([0, i*peg_spacing + 16, 0]) peg();
// Ear // Ear
translate([plate_width/2, i*peg_spacing + 22.5, -earshaft_diameter/2-2.5]) ear(); translate([plate_width/2-1, i*peg_spacing + 22.3, -earshaft_diameter/2-1.5]) ear();
} }
// Mounting holes // Mounting holes
for (i = [6, 39, 75, 105]) { for (i = [6, 39, 75, 105]) {