add stuff

This commit is contained in:
lukas-heiligenbrunner 2023-10-21 15:51:07 +02:00
parent bbcab7eb71
commit bf43a54df7
3 changed files with 23 additions and 24 deletions

View File

@ -15,12 +15,7 @@ module roundcube(x,y,z,rad=5) {
}
module body() {
//cube([49,40,10]);
difference(){
roundcube(49,40,20);
translate([4.5,0,10]) cube([40.3,40,11]);
}
roundcube(40,40,10);
}
difference() {
@ -39,20 +34,24 @@ module hholes() {
module bigholes() {
translate([15,7.5,0]) rotate([0,-90,0]) {
M4Hole(11);
M4Head(5);
};
translate([15,32.5,0]) rotate([0,-90,0]) {
M4Hole(11);
M4Head(5);
hull() {
M3Hole(11);
translate([0,-4,0]) M3Hole(11);
}
hull() {
M3Head(5);
translate([0,-4,0]) M3Head(5);
}
};
translate([49-15,7.5,0]) rotate([0,-90,0]) {
M4Hole(11);
M4Head(5);
};
translate([49-15,32.5,0]) rotate([0,-90,0]) {
M4Hole(11);
M4Head(5);
translate([35,7.5,0]) rotate([0,-90,0]) {
hull() {
M3Hole(11);
translate([0,-4,0]) M3Hole(11);
}
hull() {
M3Head(5);
translate([0,-4,0]) M3Head(5);
}
};
}

View File

@ -106,7 +106,7 @@ module custom_nut_part(){
}
#translate([12.3, 12.3, -1]) cylinder(h = 22, d=3.5, $fn=30); // Screw cut
//translate([12.3, 12.3, 4]) cylinder(h = 10, d=10.2, $fn=50); // Circle end
translate([12.3, 12.3, 6]) cylinder(h = 10, d=10.2, $fn=50); // Circle end
//translate([-5.2, 2, 4]) rotate(a=-45, v=z) cube([10.2, 20, 10]); // Box cut
#translate([12.3, 12.3, -1]) rotate([0,-90,0]) M3Nut(3); // Nut hole
//translate([-25, 5, -1]) rotate(a=-45, v=[0, 0, 1]) cube([40, 20, 22]);
@ -140,8 +140,8 @@ module custom_nut_part(){
//top_part();
//bottom_part();
custom_nut_part();
bottom_part();
//custom_nut_part();
//crooked_nut_part();

View File

@ -3,7 +3,7 @@
M3HoleDiam = 3.4;
M4HoleDiam = 4.4;
M3NutDiam=6.01+.4;
M3NutDiam=6.01+.25;
_printoffset=.3;
M3HeadDiam = 5.5+_printoffset;