76 lines
2.6 KiB
OpenSCAD
76 lines
2.6 KiB
OpenSCAD
// Parameter
|
|
res=200; // Auflösung
|
|
da=160; // Außendurchmesser
|
|
di=150; // Innendurchmesser
|
|
a=3; // Wanddicke
|
|
b=10; // Fugenhöhe
|
|
|
|
//-------------------
|
|
|
|
$fn=res;
|
|
rad=da/2+6;
|
|
difference() {
|
|
union() {
|
|
// Außenring
|
|
difference() {
|
|
union() {
|
|
translate([0,0,0]) cylinder(h=a+b+2, d=di+(da-di)/2+a/2);
|
|
// Schräge außen
|
|
difference() {
|
|
translate([0,0,-2.05])rotate_extrude(angle=360)
|
|
translate([(da+a)/2-3,0,0])rotate(45)square([5,5]);
|
|
translate([0,0,-8.05]) cylinder(h=10, d=da+a+6);
|
|
}
|
|
//Flansche außen
|
|
translate([0,0,2])linear_extrude(height = b+a, center = false, convexity = 10, twist = 0) {
|
|
hull() {
|
|
for (i=[0:120:359]) {
|
|
translate([rad*cos(i),rad*sin(i),0])circle(d=12);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// Hohlraum
|
|
translate([0,0,-0.1]) cylinder(h=b+2+0.1, d1=di+(da-di)/2-a/2+0.2,d2=di+(da-di)/2-a/2-3);
|
|
// Flanschloch
|
|
for (i=[0:120:359]) {
|
|
translate([rad*cos(i),rad*sin(i),-0.1])cylinder(h=b+a+5+0.2, d=6);
|
|
}
|
|
// Kabelloch
|
|
translate([(rad-1)*cos(180),(rad-1)*sin(180),7])rotate([0,90,0])cylinder(h=b+a+5+0.2, d=6);
|
|
}
|
|
// Halter Laserplatine
|
|
translate([-10,50,0]) cylinder(h=a+b,d=5);
|
|
translate([+10,50,0]) cylinder(h=a+b,d=5);
|
|
translate([-10,50,5]) cylinder(h=a+b-5,d1=5,d2=9);
|
|
translate([+10,50,5]) cylinder(h=a+b-5,d1=5,d2=9);
|
|
translate([-10,50,-0.7]) cylinder(h=a+b,d=3);
|
|
translate([+10,50,-0.7]) cylinder(h=a+b,d=3);
|
|
// Haltepolzen für Gedöns
|
|
difference() {
|
|
translate([-20,20,5]) cylinder(h=a+b-5,d1=5,d2=9);
|
|
translate([-20,20,4.9]) cylinder(h=a+b-6.5,d=2.3);
|
|
}
|
|
difference() {
|
|
translate([+20,20,5]) cylinder(h=a+b-5,d1=5,d2=9);
|
|
translate([+20,20,4.9]) cylinder(h=a+b-6.5,d=2.3);
|
|
}
|
|
difference() {
|
|
translate([-20,0,5]) cylinder(h=a+b-5,d1=5,d2=9);
|
|
translate([-20,0,4.9]) cylinder(h=a+b-6.5,d=2.3);
|
|
}
|
|
difference() {
|
|
translate([20,0,5]) cylinder(h=a+b-5,d1=5,d2=9);
|
|
translate([20,0,4.9]) cylinder(h=a+b-6.5,d=2.3);
|
|
}
|
|
difference() {
|
|
translate([-20,-20,5]) cylinder(h=a+b-5,d1=5,d2=9);
|
|
translate([-20,-20,4.9]) cylinder(h=a+b-6.5,d=2.3);
|
|
}
|
|
difference() {
|
|
translate([+20,-20,5]) cylinder(h=a+b-5,d1=5,d2=9);
|
|
translate([+20,-20,4.9]) cylinder(h=a+b-6.5,d=2.3);
|
|
}
|
|
}
|
|
}
|
|
|