1
0
mirror of https://github.com/pgrondek/SixInchRack.git synced 2024-11-22 12:03:41 +00:00

- initial copy from ThingiverseCustomizer

This commit is contained in:
Andreas Schiweck 2019-06-10 16:58:20 +02:00
parent 2af8ee5464
commit 5503cc9782

52
RackCabinets/SMSLSA50/case.scad Executable file
View File

@ -0,0 +1,52 @@
$fn = 50*1;
//////////////////////////////////////////////////
// PASTE ALL OF: sixinch_library.scad IN HERE //
// Thingiverse can only accept one file. //
//////////////////////////////////////////////////
Part = "-"; // [a:All, b:FrontPlate, c:Cabinet, d:Lid, e:BackPlate, f:Handles]
Units = 4;
Depth = 115;
go();
module go(){
rotate([90,0,-90]){
if(Part=="a"){
frontplate(Units,[],[],[],[Units/2],[45],[45]);
cabinet(Depth,Units,[45],[],[Units/2]);
lid(Depth,Units,[45],[45]);
back_plate(Units,Depth,[45],[45],[Units/2],[],[]);
handle(Units,false);
}else if(Part=="b"){
frontplate(Units,[],[],[],[Units/2],[45],[45]);
}else if(Part=="c"){
cabinet(Depth,Units,[45],[],[Units/2]);
}else if(Part=="d"){
lid(Depth,Units,[45],[45]);
}else if(Part=="e"){
back_plate(Units,Depth,[45],[45],[Units/2],[],[]);
}else if(Part=="f"){
handle(Units,true);
}
}
}