- commit
- 546ad75
- parent
- 7715240
- author
- Neale Pickett
- date
- 2026-03-14 19:51:05 -0600 MDT
add adjustment to groove depth
1 files changed,
+2,
-2
M
nut.scad
M
nut.scad
+2,
-2
1@@ -4,7 +4,7 @@ size = [34, 4.2, 7.4]; // Size of the nut.
2 depth = 1; // How deep the notches should be. You can always file down further!
3 stringsPerCourse = 2; // How many strings in a course? Western guitar has 1, mandolin has 2.
4 strings = [12, 12, 18, 18, 35, 35, 45, 45]; // String gauges (diameter in mils)
5-//strings = [12, 18, 35, 85]; // String gauges (diameter in mils)
6+adjustments = [0, 0, 0, 0, 0, 0, 0, 0]; // String height adjustment (groove depth)
7 gap = 0.5; // Space between outer edge of strings in a course, percentage of spacing between strings
8
9 numStrings = len(strings);
10@@ -43,7 +43,7 @@ rotate([-90, 0, 0]) difference() {
11 gapPaddingOffset = courseNo * (gapPadding*(stringsPerCourse-1));
12 x = padding + paddingOffset + gapPaddingOffset + stringsOffset + (courseItem * gapPadding);
13
14- translate([x, 0, size.z-depth+d/2]) {
15+ translate([x, 0, size.z-depth+d/2+adjustments[i]]) {
16 rotate([90+5, 0, 0]) {
17 hull() {
18 translate([d/2, 0, -0.1]) cylinder(h=size.y+2, d=d);