mirror of
https://github.com/pgrondek/SixInchRack.git
synced 2024-11-22 20:13:42 +00:00
- initial copy from ThingiverseCustomizer
This commit is contained in:
parent
2af8ee5464
commit
5503cc9782
52
RackCabinets/SMSLSA50/case.scad
Executable file
52
RackCabinets/SMSLSA50/case.scad
Executable 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user