upd thingiverse customizer to use include sixinch_library, added https://github.com/KronBjorn/SixInchRack/pull/3

master
Dmitry Maylarov 5 years ago
parent 3ea4c800d2
commit fa2783a666

@ -1,17 +1,7 @@
include<../sixinch_library.scad>
$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]
Part = "a"; // [a:All, b:FrontPlate, c:Cabinet, d:Lid, e:BackPlate, f:Handles]
Units = 4;
Depth = 115;
@ -38,15 +28,3 @@ module go(){
}
}
}

@ -21,7 +21,7 @@ slip = 0.35;
module chimney() {
for(i=[0:8:80]){
for(i=[0:8:80]){
echo(i);
translate([20 + (width-80)/2 +i,-1,20]){
minkowski(){
@ -29,14 +29,14 @@ for(i=[0:8:80]){
sphere(d=2,h=1);
}
}
}
}
}
module back_plate(u,dp,screw_top,screw_bottom,screw_side,square_hole,round_hole){
module back_plate(u,dp,screw_top,screw_bottom,screw_side,square_hole,round_hole){
difference(){
union(){
@ -88,7 +88,7 @@ for(i=[0:8:80]){
translate([20+6, unit*p ,gauge+dp+0.1]){rotate([0,180,0]){screw();}}
}
}
}
}
}
@ -170,7 +170,7 @@ module cabinet (dp,u,screw_bottom_front,round_peg,screw_side_front){
}
}
}
@ -180,8 +180,8 @@ module box(dp,u,screw_bottom_front,round_peg,screw_side_front){
difference(){
translate([20,0,gauge]){
difference(){
cube([115,u*unit,dp]);
translate([gauge_box,gauge_box,-1]){ cube([115-gauge_box*2,u*unit,dp+2]);}
cube([(sixinch-40),u*unit,dp]);
translate([gauge_box,gauge_box,-1]){ cube([(sixinch-40)-gauge_box*2,u*unit,dp+2]);}
}
}
//CHIMNEY
@ -291,7 +291,7 @@ module lid(dp,u,screw_front,screw_back){
chimney();
}
}
}
@ -414,7 +414,7 @@ module leftbottomplate(t){
translate([(sixinch+20)/2,-1,-1]){
cube([(sixinch+20)/2+1,sixinch+20+2,t+2]);
}
# translate([10,10,-1]){cylinder(r=2.5,h=base+2);}
# translate([10,10,-1]){cylinder(r=2.5,h=base+2);}
translate([10,sixinch+20-10,-1]){cylinder(r=2.5,h=base+2);}
@ -428,12 +428,12 @@ module leftbottomplate(t){
module bottomplate(t){
translate([1,1,0]){
translate([1,1,0]){
minkowski(){
cube([sixinch+20-2,sixinch+20-2,t-1]);
cylinder(r=1,h=1);
}
}
}
}
@ -508,8 +508,8 @@ module frontplate(u,square_hole,round_hole,round_peg,screw_side_front,screw_top,
he = round_peg[i][4];
translate([x,y,gauge]){
difference(){
# cylinder(r=od/2,h=he);
# cylinder(r=id/2,h=he+1);
# cylinder(r=od/2,h=he);
# cylinder(r=id/2,h=he+1);
}
}
@ -524,7 +524,7 @@ module frontplate(u,square_hole,round_hole,round_peg,screw_side_front,screw_top,
}
}
@ -552,7 +552,7 @@ module baseplate(u,handle){
translate([10-0.5,(u*unit)/2,-gauge/2]) {cylinder(r=2.3,gauge*2);}
translate([sixinch-10+0.5,(u*unit)/2,-gauge/2]) {cylinder(r=2.3,gauge*2);}
}
}
}
}

Loading…
Cancel
Save