add holes

This commit is contained in:
lukas 2022-02-13 17:41:14 +01:00
parent 27884ada02
commit 8fd5049e52

View File

@ -14,11 +14,30 @@ module roundcube(x,y,z,rad=5) {
} }
module holes(args) {
translate([10,12.5,0]) rotate([0,-90,0]) {
M4Hole(10);
translate([5,0,0]) M4Head(5);
};
translate([39,36.5,0]) rotate([0,-90,0]) {
M4Hole(10);
translate([5,0,0]) M4Head(5);
};
translate([0,10,20]) #M4Hole(5);
translate([0,39,20]) #M4Hole(5);
translate([40.3 + 4.5,10,20]) #M4Hole(5);
translate([40.3 + 4.5,39,20]) #M4Hole(5);
}
module body() { module body() {
difference(){ difference(){
translate([0,0,-9]) roundcube(49,49,9 + 10 + 18); translate([0,0,-9]) roundcube(49,49,9 + 10 + 18);
translate([4.5,0,10]) cube([40.3,49,19]); translate([4.5,0,10]) cube([40.3,49,19]);
translate([0,4.5,-9]) cube([49,40.3,9]); translate([0,4.5,-9]) cube([49,40.3,9]);
holes();
} }
} }