move holes and helpers into seperate dir

holder for extruder and hexagonal screw mounts
This commit is contained in:
2021-09-09 21:19:54 +02:00
parent 7bb43947b1
commit e94e6b69f5
8 changed files with 142 additions and 39 deletions

6
helpers/Helpers.scad Normal file
View File

@ -0,0 +1,6 @@
module roundedTriangle(length, sidewidth) {
render() difference() {
linear_extrude(length) polygon([[0,0],[sidewidth,0],[0,sidewidth]]);
translate([sidewidth, sidewidth, 0]) cylinder(r=sidewidth, h=length);
}
}

22
helpers/Holes.scad Normal file
View File

@ -0,0 +1,22 @@
M3HoleDiam = 3.4;
M4HoleDiam = 4.4;
M3NutDiam=6.01+.4;
M3HeadDiam = 5.8;
module M3Hole(thickness) {
rotate([0, 90, 0]) cylinder(h = thickness, d = M3HoleDiam);
}
module M4Hole(thickness) {
rotate([0, 90, 0]) cylinder(h = thickness, d = M4HoleDiam);
}
module M3Nut(thickness) {
rotate([0, 90, 0]) cylinder(h = thickness, d = M3NutDiam, $fn=6);
}
module M3Head(thickness) {
rotate([0, 90, 0]) cylinder(h = thickness, d = M3HeadDiam);
}