Trocknerdeckel/Deckel.scad
2024-03-04 21:27:41 +01:00

50 lines
1.8 KiB
OpenSCAD

// Parameter
res=200; // Auflösung
d=120; // Durchmesser
a=10; // Ringdicke
b=10; // Ringhöhe
//-------------------
$fn=res;
R=d/2;
//rotate_extrude(angle=350)
//translate([R,0,0])
//square([a,b],center=true);
translate([0,0,11]) cylinder(h=3, d=154, center=true);
//difference() {
// rotate_extrude(angle=3) translate([R+9,0,0]) square([a,b],center=true);
// rotate([0,0,1]) rotate([90,0,0]) translate([R+9,0,0]) cylinder(h=8,d=5,center=true);
//}
//difference() {
// rotate([0,0,347]) rotate_extrude(angle=3) translate([R+9,0,0]) square([a,b],center=true);
// rotate([0,0,348]) rotate([90,0,0]) translate([R+9,0,0]) cylinder(h=8,d=5,center=true);
//}
difference() {
rotate([0,0,5]) rotate_extrude(angle=3) translate([R+12,2,0]) square([a, b+5],center=true);
rotate([0,0,6]) rotate([90,0,0]) translate([R+12,0,0]) cylinder(h=8,d=5,center=true);
union() {
difference() {
rotate([0,0,6]) rotate([90,0,0]) translate([R+12,0,0]) cylinder(h=9,d=15,center=true);
rotate([0,0,6]) rotate([90,0,0]) translate([R+12,0,0]) cylinder(h=8,d=10,center=true);
rotate([0,0,5]) rotate_extrude(angle=3) translate([R+12,5.5,0]) square([a+1, b+1],center=true);
}
}
}
difference() {
rotate([0,0,342]) rotate_extrude(angle=3) translate([R+12,2,0]) square([a,b+5],center=true);
rotate([0,0,343]) rotate([90,0,0]) translate([R+12,0,0]) cylinder(h=8,d=5,center=true);
union() {
difference() {
rotate([0,0,343]) rotate([90,0,0]) translate([R+12,0,0]) cylinder(h=9,d=15,center=true);
rotate([0,0,343]) rotate([90,0,0]) translate([R+12,0,0]) cylinder(h=8,d=10,center=true);
rotate([0,0,342]) rotate_extrude(angle=3) translate([R+12,5.5,0]) square([a+1, b+1],center=true);
}
}
}