- higher, cuts + parts for upper and lower frontplate, standard lib

This commit is contained in:
Andreas Schiweck 2019-06-10 17:45:23 +02:00
parent 5503cc9782
commit 5ac0396810

View File

@ -1,5 +1,4 @@
$fn = 50*1; include<../sixinch_library.scad>
@ -11,8 +10,8 @@ $fn = 50*1;
Part = "-"; // [a:All, b:FrontPlate, c:Cabinet, d:Lid, e:BackPlate, f:Handles] Part = "-"; // [a:All, b:FrontPlate, b2:FrontPlate2, c:Cabinet, d:Lid, e:BackPlate, f:Handles]
Units = 4; Units = 5;
Depth = 115; Depth = 115;
go(); go();
@ -26,7 +25,13 @@ module go(){
back_plate(Units,Depth,[45],[45],[Units/2],[],[]); back_plate(Units,Depth,[45],[45],[Units/2],[],[]);
handle(Units,false); handle(Units,false);
}else if(Part=="b"){ }else if(Part=="b"){
lower() {
frontplate(Units,[],[],[],[Units/2],[45],[45]); frontplate(Units,[],[],[],[Units/2],[45],[45]);
}
}else if(Part=="b2"){
upper() {
frontplate(Units,[],[],[],[Units/2],[45],[45]);
}
}else if(Part=="c"){ }else if(Part=="c"){
cabinet(Depth,Units,[45],[],[Units/2]); cabinet(Depth,Units,[45],[],[Units/2]);
}else if(Part=="d"){ }else if(Part=="d"){
@ -39,14 +44,34 @@ module go(){
} }
} }
module lower () {
difference() {
children();
rotate([-90,90,0]){
translate([-117, -120, -20]) {
cube([117.5, 87.8, 37 ]);
}
}
}
}
module upper () {
difference() {
intersection() {
children();
rotate([-90,90,0]) {
translate([-117, -120, -20]) {
cube([117.5, 87.8, 37 ]);
}
}
}
}
rotate([-90,90,0]) {
translate([-6, -36, 2]) {
cube([3, 8, 14]);
}
translate([-6, -124, 2]) {
cube([3, 8, 14]);
}
}
}