Deckel2 part1
This commit is contained in:
parent
8a6148c4f2
commit
395d2de0d8
2 changed files with 48 additions and 104 deletions
64
Deckel1.scad
64
Deckel1.scad
|
@ -9,15 +9,30 @@ b=10; // Fugenhöhe
|
||||||
|
|
||||||
$fn=res;
|
$fn=res;
|
||||||
R=d/2;
|
R=d/2;
|
||||||
|
rad=da/2+6;
|
||||||
|
|
||||||
difference() {
|
difference() {
|
||||||
union() {
|
union() {
|
||||||
// Außenring
|
// Außenring
|
||||||
difference() {
|
difference() {
|
||||||
translate([0,0,0]) cylinder(h=a+b, d=da+a);
|
union() {
|
||||||
// Dickere Decke im Spalt
|
translate([0,0,0]) cylinder(h=a+b, d=da+a);
|
||||||
translate([0,0,-0.1]) cylinder(h=b+0.1-1, d=da);
|
//Flansche außen
|
||||||
translate([0,0,-0.1]) cylinder(h=b+0.1, d=di);
|
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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Dickere Decke im Spalt
|
||||||
|
translate([0,0,-0.1]) cylinder(h=b+0.1-1, d=da);
|
||||||
|
translate([0,0,-0.1]) cylinder(h=b+0.1, d=di);
|
||||||
|
// Flanschloch
|
||||||
|
for (i=[0:120:359]) {
|
||||||
|
translate([rad*cos(i),rad*sin(i),-0.1])cylinder(h=b+a+5+0.2, d=6, center=false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Innenring
|
// Innenring
|
||||||
difference() {
|
difference() {
|
||||||
|
@ -41,42 +56,3 @@ difference() {
|
||||||
// Loch für Laser
|
// Loch für Laser
|
||||||
translate([-2.5,50,-0.3]) cube([5,4,a+b+0.6]);
|
translate([-2.5,50,-0.3]) cube([5,4,a+b+0.6]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// kann weg?
|
|
||||||
|
|
||||||
//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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
88
Deckel2.scad
88
Deckel2.scad
|
@ -9,74 +9,42 @@ b=10; // Fugenhöhe
|
||||||
|
|
||||||
$fn=res;
|
$fn=res;
|
||||||
R=d/2;
|
R=d/2;
|
||||||
|
rad=da/2+6;
|
||||||
|
|
||||||
difference() {
|
difference() {
|
||||||
union() {
|
union() {
|
||||||
// Außenring
|
// Außenring
|
||||||
difference() {
|
difference() {
|
||||||
translate([0,0,0]) cylinder(h=a+b, d=da+a);
|
union() {
|
||||||
// Dickere Decke im Spalt
|
translate([0,0,0]) cylinder(h=a+b+2, d=di+(da-di)/2+a/2);
|
||||||
translate([0,0,-0.1]) cylinder(h=b+0.1-1, d=da);
|
//Flansche außen
|
||||||
translate([0,0,-0.1]) cylinder(h=b+0.1, d=di);
|
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, d=di+(da-di)/2-a/2);
|
||||||
|
// 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);
|
||||||
}
|
}
|
||||||
// Innenring
|
|
||||||
difference() {
|
|
||||||
translate([0,0,-0.1]) cylinder(h=b+0.2, d=di);
|
|
||||||
translate([0,0,-0.2]) cylinder(h=b+0.1, d=di-a);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// Spalt für Oberen Deckel
|
|
||||||
translate([0,0,b+a-1])difference() {
|
|
||||||
translate([0,0,0]) cylinder(h=1.1, d=di+(da-di)/2+a/2);
|
|
||||||
translate([0,0,-0.1]) cylinder(h=1+0.2, d=di+(da-di)/2-a/2);
|
|
||||||
}
|
|
||||||
// Einkerbung Laserplatine
|
// Einkerbung Laserplatine
|
||||||
translate([-15,45,a+b-0.9]) difference() {
|
translate([-15,45,0.1]) difference() {
|
||||||
cube([30,11,1]);
|
cube([30,11,-0.9]);
|
||||||
translate([0,0,0])cube([4.1,2.2,1.1]);
|
translate([0,0,-0.1])cube([4.1,2.2,-1.2]);
|
||||||
translate([26,0,0])cube([4.1,2.2,1.1]);
|
translate([26,0,-0.1])cube([4.1,2.2,-1.2]);
|
||||||
translate([26,8.8,0])cube([4.1,2.2,1.1]);
|
translate([26,8.8,-0.1])cube([4.1,2.2,-1.2]);
|
||||||
translate([0,8.8,0])cube([4.1,2.2,1.1]);
|
translate([0,8.8,-0.1])cube([4.1,2.2,-1.2]);
|
||||||
}
|
}
|
||||||
// Loch für Laser
|
// Loch für Laser
|
||||||
translate([-2.5,50,-0.3]) cube([5,4,a+b+0.6]);
|
translate([-2.5,50,-0.3]) cube([5,4,a+b+0.6]);
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// kann weg?
|
|
||||||
|
|
||||||
//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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
Loading…
Reference in a new issue