Seite angelegt: OpenSCAD für Blindenpöppel
[stratum0-wiki.git] / Gesellschaftsspiel-Replikator%2FPoeppel_V1.mw
1 <pre>
2 // Blindenpöppel
3 // Annette Thurow
4 // 2014-01-21 V1
5 // License: WTF
6
7 Hoehe=30;
8 Teiler=3;
9 Radius1=Hoehe/Teiler;
10 RadiusM=Hoehe*(Teiler-1)/Teiler/Teiler;
11
12 difference()
13 {
14 union()
15 {
16 // Kegel erzeugen
17 color("red") cylinder(Hoehe,Radius1,Radius2);
18
19 // Rand auftragen
20 color("blue") cylinder(1,Radius1,Radius1);
21 }
22
23 // Spitze abschneiden
24 translate([0,0,Hoehe/3])
25 color("orange")cylinder(Hoehe,Radius1,Radius2);
26
27 // Hohlraum abziehen
28 color("green") cylinder(Hoehe-1,Radius1-1,Radius2);
29 };
30
31 // Deckel draufsetzen
32 color("black")
33 translate ([0,0,Radius1-1])
34 cylinder(1,RadiusM,RadiusM);
35
36 // Hier Verzierungen auf den Rand anbringen todo
37 </pre>
This page took 0.052513 seconds and 5 git commands to generate.