Commit 0ed6ea75 by Hubert

cornerscrews modified, powerboard layout, connectors modified

1 parent ac311871
No preview for this file type
...@@ -3,11 +3,17 @@ include<vars.scad> ...@@ -3,11 +3,17 @@ include<vars.scad>
module cornerdrills() { module cornerdrills() {
translate([2.4,0.8,0]) { translate([2.4,0.8,0]) {
cylinder(d=0.6,h=40, $fn=10); cylinder(d=1.2,h=4, $fn=10);
}
translate([2.4,0.8,10]) {
cylinder(d=0.6,h=20, $fn=10);
} }
translate([0.8,2.4,0]) { translate([0.8,2.4,0]) {
cylinder(d=0.6,h=40, $fn=10); cylinder(d=0.6,h=4, $fn=10);
}
translate([0.8,2.4,10]) {
cylinder(d=1.2,h=20, $fn=10);
} }
} }
......
...@@ -9,7 +9,6 @@ translate([0,0,2]) euroboxlid(30,40); ...@@ -9,7 +9,6 @@ translate([0,0,2]) euroboxlid(30,40);
translate([0,0,-7]) { translate([0,0,-7]) {
difference() { difference() {
eurobox(30,40,7,handle=false); eurobox(30,40,7,handle=false);
cuts();
} }
} }
translate([0,0,6.3]) { translate([0,0,6.3]) {
...@@ -21,11 +20,11 @@ translate([0,0,6.3]) { ...@@ -21,11 +20,11 @@ translate([0,0,6.3]) {
pipes(22); pipes(22);
} }
#translate([0,0,6.3+21.3+4]) { translate([0,0,6.3+21.3/* +4 */]) {
difference() { difference() {
eurobox(30,40,22,handle=true); eurobox(30,40,22,handle=true);
drills(30,40,22); drills(30,40,22);
} }
screws(30,40,22); screws(30,40,22);
pipes(22); pipes(22);
} }
module screw6x50() { module screw6x50() {
color("#ccc") translate([0,0,-0.3]) { color("#ccc") translate([0,0,0]) {
cylinder(d=0.58,h=5, $fn=10); cylinder(d=0.58,h=5, $fn=10);
translate([0,0,-0.3]) { translate([0,0,-screwhead]) {
cylinder(d=1,h=0.3,$fn=6); cylinder(d=1.2,h=screwhead,$fn=6);
} }
} }
} }
module nut() {
color("#aaa") cylinder(d=1.2,h=nutheight,$fn=6);
}
module shim() { module shim() {
color("#eee") cylinder(d=1.3,h=0.1); color("#eee") cylinder(d=shimdiameter,h=shimheight);
} }
module nut() { module shimSpring(locked) {
color("#aaa") cylinder(d=1,h=0.3,$fn=6); if ( locked == 1 ) {
color("#0f0") cylinder(d=shimdiameter,h=locked+0.5);
} else {
color("#f00") cylinder(d=shimdiameter,h=locked+0.5);
}
} }
module removableshimblock() {
/* shimblockHeight; */
/* color("#eee") cylinder(d=1.3,h=0.1); */
}
module cornerscrew( z, upside=false ) {
translate([0,0,0]) screw6x50();
shim();
if ( upside == true ) {
translate([ 0, 0, shimheight + strength ]) shim();
/************ GRATE ************/
translate([ 0, 0, shimheight + strength + shimheight ]) nut();
translate([ 0, 0, shimheight + strength + shimheight + 1.26]) nut();
translate([ 0, 0, shimheight + strength + shimheight + 1.26 + nutheight]) shim();
/************ NEXT BOX ************/
translate([ 0, 0, shimheight + strength + shimheight + 1.26 + nutheight + shimheight+2*strength + 0.1 + shimblockHeight ]) nut();
translate([ 0, 0, shimheight + strength + shimheight + 1.26 + nutheight + shimheight+2*strength + 0.1 + shimblockHeight + nutheight]) nut();
} else {
translate([ 0, 0, shimheight +strength]) nut();
/************ NEXT BOX ************/
translate([ 0, 0, shimheight + strength*2 + 0.1 + shimblockHeight ]) nut();
/************ GRATE ************/
translate([ 0, 0, shimheight + 2.6 + shimblockHeight ]) rotate([0,0,rands(0,90,1)[0]]) nut();
translate([ 0, 0, shimheight + 2.6 + shimblockHeight + nutheight]) rotate([0,0,rands(0,90,1)[0]])nut();
/* #translate([ 0, 0, 0.4 + shimheight + strength + locked + 1]) nut(); */
/* translate([ 0, 0, 0.70 + shimheight + strength +locked + 1]) shim(); */
/* translate([ 0, 0, 0.70 + strength+0.2 ]) shim(); */
/* /\* translate([ 0, 0, 0.4 + shimblockHeight ]) nut(); *\/ */
/* /\* translate([ 0, 0, 2.71 + shimblockHeight ]) nut(); *\/ */
/* translate([ 0, 0, 0.70 + strength*2 +0.1 +0.2 ]) shim(); */
/* translate([ 0, 0, -0.30 + strength*2 + 0.1 + 1.3+locked ]) nut(); */
/* /\* translate([ 0, 0, 2 ]) shim(); *\/ */
/* /\* translate([ 0, 0, 1.7 ]) nut(); *\/ */
}
module cornerscrew(z) {
translate([0,0,2]) shim();
translate([0,0,1.7]) nut();
translate([0,0,-0.30]) shim();
translate([0,0,-0.30+strength+0.1]) shim();
translate([0,0,-0.30+strength+0.2]) nut();
screw6x50();
} }
module cornerscrews(z) { module cornerscrews(z) {
translate([2.4 translate([2.4
, 0.8 , 0.8
, z - 2.36 , z - 2.66
]) ])
cornerscrew(z); cornerscrew(z,upside=true);
translate([0.8 translate([0.8
, 2.4 , 2.4
, z - 2.36 , recess + strength + shimheight
]) ])
cornerscrew(z); rotate([180,0,0]) {
cornerscrew(z,upside=false);
}
} }
......
...@@ -16,3 +16,8 @@ gxYPos = 0.7; ...@@ -16,3 +16,8 @@ gxYPos = 0.7;
offset = gratesize+roundborderInner; offset = gratesize+roundborderInner;
base = recess-(roundborderInner+strength); base = recess-(roundborderInner+strength);
screwhead = 0.4;
nutheight = 0.5;
shimblockHeight = 1;
shimheight = 0.14;
shimdiameter = 1.2;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!