Neu erstellt
authorLulu <Lulu@stratum0.org/mediawiki/>
Mon, 14 Apr 2014 12:28:14 +0000 (12:28 +0000)
committerLulu <Lulu@stratum0.org/mediawiki/>
Mon, 14 Apr 2014 12:28:14 +0000 (12:28 +0000)
Gesellschaftsspiel-Replikator%2FPoeppel_V1.mw

index de66e3a..8598f9d 100644 (file)
@@ -1,24 +1,18 @@
 <pre><nowiki>
 // Blindenpöppel
-// Stratum 0
-// 2014-01-21 V1.6
-// License: WTF
+// (c) Stratum 0 e.V.
+// 2014-04-14 V3.0
+// License: CC0
 
 $fn=50;
 
-Hoehe=30;
-Teiler=3;
+Hoehe=15;
+Teiler=2;
 Radius1=Hoehe/Teiler;
-RadiusM=Hoehe*(Teiler-1)/Teiler/Teiler;
 
-// Randverzierungen als Kindelemente übergeben
-module randverzierung(n = 12) {
-       for(i = [1:n]) {
-               rotate([0,0,i*(360/n)])
-                       translate([Radius1+0.1,0,0.5])
-                       child();
-       }
-}
+Randdicke=1;
+Ringhoehe=3;
+
 rotate ([180,0,0])
 {
 difference()
@@ -26,38 +20,68 @@ difference()
      union()
      {
           // Kegel erzeugen
-          color("red") cylinder(Hoehe,Radius1,Radius2);
+          color("red") cylinder(Hoehe,Radius1,Radius1 / Teiler);
 
           // Rand auftragen
-          color("blue") cylinder(1,Radius1,Radius1);
+          color("blue") cylinder(Ringhoehe,Radius1,Radius1);
      }
 
-     // Spitze abschneiden
-     translate([0,0,Hoehe/3])        
-     color("orange")cylinder(Hoehe,Radius1,Radius2);
 
-     // Hohlraum abziehen
-     color("green") cylinder(Hoehe-1,Radius1-1,Radius2);
+// Hohlraum abziehen
+color("green") cylinder(Hoehe-1,Radius1-1,Radius1 / Teiler -1);
 }
 
-// Deckel draufsetzen
-color("black") 
-translate ([0,0,Radius1-1])
- cylinder(1,RadiusM,RadiusM);
+
 
 // Randverzierungen: nach Wunsch einkommentieren, oder ganz ohne
 
+// Neu
+// Striche vertikal
+// Anzahl der Striche rundherum: n
+//n=20;
+//for(i = [1:n]) 
+//{
+//    rotate([0,0,360/n*i])
+//    {
+//        translate([Radius1,0,0])  cube ([1,1,Randdicke], center=false);
+//    }
+//}
+
+
+
+// Striche horizontal
+// Anzahl der Striche rundherum: n
+n=20;
+Strichlaenge = 3;
+for(i = [1:n]) 
+{
+    rotate([0,0,360/n*i])
+    {
+        translate([Radius1,0,Ringhoehe/2])  cube ([1,Strichlaenge,1], center=true);
+    }
+}
+
+// Quadratische Punkte horizontal
+// Anzahl der Striche rundherum: n
+//n=32;
+//Strichlaenge = 1;
+//for(i = [1:n]) 
+//{
+//    rotate([0,0,360/n*i])
+//    {
+//        translate([Radius1,0,Ringhoehe/2])  cube ([1,Strichlaenge,1], center=true);
+//    }
+//}
+
+// alt
+
+
 // Kegel:
 //randverzierung(n=4) {
 //     rotate([0,90,0])
 //             cylinder(r1=0.5, r2=0, h=0.5, center=true);
 //}
 
-// Striche hochkant:
-randverzierung(n=5) {
-       rotate([0,90,0])
-               cube([1,0.5,0.5], center=true);
-}
 
 // Striche quer:
 //randverzierung(n=9) {
@@ -78,4 +102,13 @@ randverzierung(n=5) {
 //     }
 //}
 }
+
+// Randverzierungen als Kindelemente übergeben
+//module randverzierung(n = 12) {
+//     for(i = [1:n]) {
+//             rotate([0,0,i*(360/n)])
+//                     translate([Radius1+0.1,0,0.5])
+//                     child();
+//     }
+//}
 </nowiki></pre>
This page took 0.028172 seconds and 4 git commands to generate.