Bohrloch hinzugefügt.
This commit is contained in:
parent
9a58921d78
commit
b0f1ae52d5
@ -1,14 +1,18 @@
|
|||||||
// Alle Längen in Millimeter!
|
// 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_0 = 6.0; // Höhe, Hauptteil
|
||||||
h_1 = 11.0; // Höhe, vorne
|
h_1 = 11.0; // Höhe, vorne
|
||||||
b_0 = 4.8; // unten, am Zylinderansatz
|
b_0 = 4.8; // unten, am Zylinderansatz
|
||||||
b_1 = 3.8; // unten, vorne
|
b_1 = 3.8; // unten, vorne
|
||||||
b_2 = 4.0*(h_0/h_1); // oben, am Zylinderansatz
|
b_2 = 4.0*(h_0/h_1); // oben, am Zylinderansatz
|
||||||
b_3 = 3.0*(h_0/h_1); // oben (mittlere Höhe), vorne
|
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_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 = [
|
CubePoints = [
|
||||||
[-b_0/2,0,0], // 0
|
[-b_0/2,0,0], // 0
|
||||||
@ -44,18 +48,22 @@ CubeFaces = [
|
|||||||
|
|
||||||
difference()
|
difference()
|
||||||
{
|
{
|
||||||
union()
|
difference()
|
||||||
{
|
{
|
||||||
cylinder(h=6, r1=10/2, r2=9.65/2);
|
union()
|
||||||
polyhedron(points=CubePoints, faces=CubeFaces);
|
{
|
||||||
};
|
cylinder(h=h_0, r1=d_0/2, r2=d_1/2);
|
||||||
union()
|
polyhedron(points=CubePoints, faces=CubeFaces);
|
||||||
{
|
};
|
||||||
translate([-b_0/2,l_1-l_2-(h_1-h_0),h_1])
|
union()
|
||||||
rotate([90,0,90])
|
{
|
||||||
cylinder(h=b_0, r1=h_1-h_0, r2=h_1-h_0);
|
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])
|
translate([-b_0/2, 0, h_0])
|
||||||
cube([b_0, l_1-l_2-(h_1-h_0), h_1-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