Compare commits
2 Commits
9a58921d78
...
4b97eddcfc
Author | SHA1 | Date | |
---|---|---|---|
4b97eddcfc | |||
b0f1ae52d5 |
@ -1,14 +1,22 @@
|
||||
// Alle Längen in Millimeter!
|
||||
|
||||
d_0 = 10.0; // Durchmesser Knopf unten
|
||||
d_1 = 9.65; // Durchmesser Knopf oben
|
||||
h_0 = 6.0; // Höhe, Hauptteil
|
||||
h_1 = 11.0; // Höhe, vorne
|
||||
b_0 = 4.8; // unten, am Zylinderansatz
|
||||
b_1 = 3.8; // unten, vorne
|
||||
b_2 = 4.0*(h_0/h_1); // oben, am Zylinderansatz
|
||||
b_3 = 3.0*(h_0/h_1); // oben (mittlere Höhe), vorne
|
||||
l_0 = 32; // Länge, unten
|
||||
l_0 = 32.0; // Länge, unten
|
||||
l_1 = 31.5; // Länge, oben
|
||||
l_2 = 13; // Länge der Fahne
|
||||
l_2 = 13.0; // Länge der Fahne
|
||||
t_b = 5.0; // Tiefe des Bohrlochs
|
||||
d_b = 4.0; // Durchmesser des Bohrlochs
|
||||
|
||||
// Auflösung:
|
||||
$fa = 0.1;
|
||||
$fs = 0.1;
|
||||
|
||||
CubePoints = [
|
||||
[-b_0/2,0,0], // 0
|
||||
@ -44,18 +52,22 @@ CubeFaces = [
|
||||
|
||||
difference()
|
||||
{
|
||||
union()
|
||||
difference()
|
||||
{
|
||||
cylinder(h=6, r1=10/2, r2=9.65/2);
|
||||
polyhedron(points=CubePoints, faces=CubeFaces);
|
||||
};
|
||||
union()
|
||||
{
|
||||
translate([-b_0/2,l_1-l_2-(h_1-h_0),h_1])
|
||||
rotate([90,0,90])
|
||||
cylinder(h=b_0, r1=h_1-h_0, r2=h_1-h_0);
|
||||
union()
|
||||
{
|
||||
cylinder(h=h_0, r1=d_0/2, r2=d_1/2);
|
||||
polyhedron(points=CubePoints, faces=CubeFaces);
|
||||
};
|
||||
union()
|
||||
{
|
||||
translate([-b_0/2,l_1-l_2-(h_1-h_0),h_1])
|
||||
rotate([90,0,90])
|
||||
cylinder(h=b_0, r1=h_1-h_0, r2=h_1-h_0);
|
||||
|
||||
translate([-b_0/2, 0, h_0])
|
||||
cube([b_0, l_1-l_2-(h_1-h_0), h_1-h_0]);
|
||||
translate([-b_0/2, 0, h_0])
|
||||
cube([b_0, l_1-l_2-(h_1-h_0), h_1-h_0]);
|
||||
}
|
||||
}
|
||||
}
|
||||
cylinder(h=t_b, r1=d_b/2, r2=d_b/2);
|
||||
}
|
BIN
Vorschau.png
BIN
Vorschau.png
Binary file not shown.
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 11 KiB |
Loading…
Reference in New Issue
Block a user