Skip to content

Commit

Permalink
version 6 - final component fitting print
Browse files Browse the repository at this point in the history
  • Loading branch information
donnels committed Jan 2, 2025
1 parent ec4ba7e commit 15e4cbf
Show file tree
Hide file tree
Showing 2 changed files with 58,800 additions and 25,281 deletions.
21 changes: 12 additions & 9 deletions openscad/Amplifier/vacuumRadioCase.scad
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ xOff = (baseW - innerW) /2 ;
yOff = (baseD - innerD) /2 ;
zOff = 6 ;

version = "V6" ;

module lid(){
translate([0,0,ringH]) difference(){
cube([baseW,baseD,baseH]);
Expand Down Expand Up @@ -115,15 +117,15 @@ module toggleSwitch(text) {
upperD = 6 ; upperH = 9 ;
nutH = 2 ; nutD = 8 ;
toggleH = 10 ; toggleD =1.5 ; toggleAngle = 10 ;
toggleBody = [13,12,14] ; toggleBodyOff = [0,0,toggleBody.z/2] ;
toggleBody = [12,13,14] ; toggleBodyOff = [0,0,toggleBody.z/2] ;
totH = toggleBody.z + upperH ;
translate([0,0,-totH + nutH] + twiddle) {
//Nut
translate([0,0,toggleBody.z + upperH - nutH]) cylinder(h=nutH , d=nutD,$fn=6);
//upper part
cylinder(h=upperH + toggleBody.z, d=upperD);
//toggle
translate([0,0,toggleBody.z + upperH]) rotate([0,toggleAngle,0]) cylinder(h=toggleH, d=toggleD);
translate([0,0,toggleBody.z + upperH]) rotate([-toggleAngle,0,0]) cylinder(h=toggleH, d=toggleD);
translate(toggleBodyOff) cube(toggleBody,center=true);
}
}
Expand All @@ -135,7 +137,7 @@ module tubeMount(text) {
twiddle = [0,0,0] ;
zWiggle = .1 ;
upperD = 18.5 ; upperH = 4 ;
lowerD = 16 ; lowerH = 10 ;
lowerD = 16.8 ; lowerH = 10 ;
screwH = 5 ; screwD = 3 ; screwSpace = 22 ;
totH = upperH + lowerH ;
translate([0,0,-lowerH] + twiddle) {
Expand All @@ -150,24 +152,25 @@ module tubeMount(text) {
//tests
difference() {
zWiggle = .1 ;
rigX = 40 ; rigY = 95 ;
#translate ([-rigX/2,-rigY,-zOff-ringH]) cube([rigX,rigY,zOff+ringH]);
rigX = 40 ; rigY = 105 ;
translate ([-rigX/2,-rigY,-zOff-ringH]) cube([rigX,rigY,zOff+ringH]);
//pot
translate ([-10,-10,0]) pot("test");
//speaker
translate ([0,-50,+zWiggle]) speaker();
translate ([0,-60,+zWiggle]) speaker();
//jack
translate ([12,-10,0]) headJack("test");
//toggle
translate ([12,-25,0]) toggleSwitch("test");
//test text
translate([12,-19]) emboss("on",5);
translate([12,-31]) emboss("off",5);
translate([12,-100]) emboss(version,5);
//trimcap
translate([0,-80,0]) trimko("test");
translate([0,-90,0]) trimko("test");
//tubemount
translate([-6,-23,0]) tubeMount("test");
}
translate([-6,-30,0]) tubeMount("test");
}

//normal print
*difference() {
Expand Down
Loading

0 comments on commit 15e4cbf

Please sign in to comment.