use m4 holes and enlarge triangle

This commit is contained in:
lukas 2021-01-01 11:29:46 +01:00
parent ac1b27f2ff
commit 02f05c4ab3

View File

@ -8,7 +8,8 @@ vthickness=20;
vwidth=40.3; vwidth=40.3;
vheight=80; vheight=80;
M3HoleDiam=3.4; //https://de.wikipedia.org/wiki/Durchgangsbohrung
M4HoleDiam=4.4;
holedistance=10; holedistance=10;
@ -29,7 +30,7 @@ module frame(){
translate([hwidth,0,0]) cube([thickness, vthickness, height]); translate([hwidth,0,0]) cube([thickness, vthickness, height]);
// left triangle // left triangle
translate([hwidth,thickness,height]) rotate([90, 0, 90]) middletriangle(); translate([hwidth,0,height]) rotate([90, 0, 90]) middletriangle();
// covers upper edge of above // covers upper edge of above
translate([hwidth, vthickness, 0]) cube([vwidth + thickness * 2, thickness, vheight]); translate([hwidth, vthickness, 0]) cube([vwidth + thickness * 2, thickness, vheight]);
@ -38,7 +39,7 @@ module frame(){
translate([hwidth + vwidth + thickness,0,0]) cube([thickness, vthickness, height]); translate([hwidth + vwidth + thickness,0,0]) cube([thickness, vthickness, height]);
// right triangle // right triangle
translate([hwidth + vwidth + thickness,thickness,height]) rotate([90, 0, 90]) middletriangle(); translate([hwidth + vwidth + thickness,0,height]) rotate([90, 0, 90]) middletriangle();
// right tile // right tile
translate([hwidth + vwidth + thickness * 2, 0, 0]) cube([hwidth,thickness,height]); translate([hwidth + vwidth + thickness * 2, 0, 0]) cube([hwidth,thickness,height]);
@ -49,7 +50,7 @@ module frame(){
} }
module middletriangle(){ module middletriangle(){
linear_extrude(thickness) polygon([[0,0], [vthickness-thickness, 0], [vthickness-thickness, vheight-height]]); linear_extrude(thickness) polygon([[0,0], [vthickness, 0], [vthickness, vheight-height]]);
} }
module sidetriangle() { module sidetriangle() {
@ -88,5 +89,5 @@ module centerholes() {
} }
module XM3Hole() { module XM3Hole() {
rotate([270,0,0])cylinder(h=thickness, d=M3HoleDiam); rotate([270,0,0])cylinder(h=thickness, d=M4HoleDiam);
} }