52 lines
1.2 KiB
OpenSCAD
52 lines
1.2 KiB
OpenSCAD
$fn=50;
|
|
|
|
//#cube([30,30,26], center=true);
|
|
nut=30;
|
|
thick = 2;
|
|
Ra=3;
|
|
Ri=1.4;
|
|
Rc = 1; // Radius am Center
|
|
Wi=19.1; // innere weite
|
|
Wl = 8.2; // lichte weite
|
|
deep = 9.4;
|
|
heigth=25;
|
|
|
|
difference(){
|
|
union(){
|
|
translate([-Wl/2, -nut/2,0]) cube([Wl, thick+.1, heigth]);
|
|
hull(){
|
|
translate([-Wi/2 + Ri, -(nut/2-thick-Ri) ,0]) cylinder(r=Ri, h=heigth);
|
|
translate([+Wi/2 - Ri, -(nut/2-thick-Ri) ,0]) cylinder(r=Ri, h=heigth);
|
|
|
|
|
|
translate([-Wl/2 + Rc, -(nut/2-deep+Rc) ,0]) cylinder(r=Ri, h=heigth);
|
|
translate([+Wl/2 - Rc, -(nut/2-deep+Rc) ,0]) cylinder(r=Ri, h=heigth);
|
|
|
|
|
|
}
|
|
// aussenplatte
|
|
translate([0,-nut/2,heigth/2]) rotate([90,0,0]) cylinder(d=heigth, h=2);
|
|
}
|
|
translate([0,0,heigth/2]) rotate([90,0,0])cylinder(d=8.1, h = heigth);
|
|
|
|
}
|
|
|
|
translate([20,10,0])
|
|
difference(){
|
|
union(){
|
|
translate([-Wl/2, -nut/2,0]) cube([Wl, thick+.1, heigth]);
|
|
hull(){
|
|
translate([-Wi/2 + Ri, -(nut/2-thick-Ri) ,0]) cylinder(r=Ri, h=heigth);
|
|
translate([+Wi/2 - Ri, -(nut/2-thick-Ri) ,0]) cylinder(r=Ri, h=heigth);
|
|
|
|
|
|
translate([-Wl/2 + Rc, -(nut/2-deep+Rc) ,0]) cylinder(r=Ri, h=heigth);
|
|
translate([+Wl/2 - Rc, -(nut/2-deep+Rc) ,0]) cylinder(r=Ri, h=heigth);
|
|
|
|
|
|
}
|
|
|
|
}
|
|
translate([0,0,heigth/2]) rotate([90,0,0])cylinder(d=8.1, h = heigth);
|
|
|
|
} |