ubass tuner footprint attempt 2

This commit is contained in:
Luke Hubmayer-Werner 2024-12-24 04:40:10 +10:30
parent 7c09836c03
commit 47bb6c5e04
2 changed files with 18 additions and 6 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*.stl
*.3mf

View File

@ -214,9 +214,10 @@ module ubass_tuner() {
d_screw = 2.0; // As we will screw into this, probably don't need tolerance yet
screw_tab_min_w = 1.6;
screw_tab_min_thick = 2.0;
d_screw_tab = 5.2+0.3; // Tolerance this though!
back_of_thread_to_tab_tip = 20.7 + 0.1;
middle_of_thread_to_tab_screw = back_of_thread_to_tab_tip - d_thread/2 - screw_tab_min_w;
d_screw_tab = 5.2+0.4; // Tolerance this though!
// back_of_thread_to_tab_tip = 20.7 + 0.1; // 17.1 measuring far hole end to hole end, 6.9 measuring close ends gives average of 12.0
middle_of_thread_to_tab_screw = 12.0; //back_of_thread_to_tab_tip - d_thread/2 - screw_tab_min_w; == 13.7
echo(middle_of_thread_to_tab_screw);
module tuner_footprint() {
hull() {
@ -229,9 +230,18 @@ module ubass_tuner() {
translate([0, -middle_of_thread_to_tab_screw]) circle(d=d_thread, $fn=72);
}
linear_extrude(max_thread) difference() {
offset(4, 3) tuner_footprint();
holes();
difference() {
linear_extrude(max_thread) difference() {
offset(4, 3) tuner_footprint();
holes();
}
translate([0,0,max_thread-0.2]) linear_extrude(1) {
translate([-3.5,-2]) text(str(d_screw), size=2.5);
translate([ 0, -4]) rotate(30) text(str(d_screw_tab), size=2.5);
translate([4.4, -7]) rotate(90) text(str(middle_of_thread_to_tab_screw), size=2.5);
translate([-9.5,-13.5]) text(str(d_thread), size=2.5);
translate([-12,-27]) text(str(d_peg_collar_max), size=2.5);
}
}
translate([0,0,max_thread]) linear_extrude(10) difference() {
offset(4, 3) tuner_footprint();