Bohrloch hinzugefügt.
This commit is contained in:
parent
9a58921d78
commit
b0f1ae52d5
@ -1,14 +1,18 @@
|
||||
// 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
|
||||
|
||||
CubePoints = [
|
||||
[-b_0/2,0,0], // 0
|
||||
@ -44,9 +48,11 @@ CubeFaces = [
|
||||
|
||||
difference()
|
||||
{
|
||||
difference()
|
||||
{
|
||||
union()
|
||||
{
|
||||
cylinder(h=6, r1=10/2, r2=9.65/2);
|
||||
cylinder(h=h_0, r1=d_0/2, r2=d_1/2);
|
||||
polyhedron(points=CubePoints, faces=CubeFaces);
|
||||
};
|
||||
union()
|
||||
@ -58,4 +64,6 @@ difference()
|
||||
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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user