23 color("red") cylinder(Hoehe,Radius1,Radius1 / Teiler);
26 color("blue") cylinder(Ringhoehe,Radius1,Radius1);
31 color("green") cylinder(Hoehe-1,Radius1-1,Radius1 / Teiler -1);
36 // Randverzierungen: nach Wunsch einkommentieren, oder ganz ohne
40 // Anzahl der Striche rundherum: n
44 // rotate([0,0,360/n*i])
46 // translate([Radius1,0,0]) cube ([1,1,Randdicke], center=false);
53 // Anzahl der Striche rundherum: n
60 translate([Radius1,0,Ringhoehe/2]) cube ([1,Strichlaenge,1], center=true);
64 // Quadratische Punkte horizontal
65 // Anzahl der Striche rundherum: n
70 // rotate([0,0,360/n*i])
72 // translate([Radius1,0,Ringhoehe/2]) cube ([1,Strichlaenge,1], center=true);
80 //randverzierung(n=4) {
82 // cylinder(r1=0.5, r2=0, h=0.5, center=true);
87 //randverzierung(n=9) {
88 // cube([0.5,2,0.5], center=true);
92 //randverzierung(n=11) {
94 // cylinder(r1=0.5, r2=0, h=0.4, center=true, $fn=4);
98 //randverzierung(n=12) {
100 // cube([1,0.3,0.5], center=true);
101 // cube([0.3,1,0.5], center=true);
106 // Randverzierungen als Kindelemente übergeben
107 //module randverzierung(n = 12) {
109 // rotate([0,0,i*(360/n)])
110 // translate([Radius1+0.1,0,0.5])