mini-led-cube/doc/threedvis/threedvis.scad

1324 lines
47 KiB
OpenSCAD

translate ([-100, -100, -100]) {
union () {
translate ([0, 0, 0]) {
union () {
translate ([0, 0, 0]) {
union () {
translate ([0, 0, 0]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
}
}
translate ([44, -4, -17]) {
rotate (a=90.0, v=[0, 1, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
translate ([0, 0, 100]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
}
}
translate ([44, -4, -17]) {
rotate (a=90.0, v=[0, 1, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
translate ([0, 0, 200]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
}
}
translate ([44, -4, -17]) {
rotate (a=90.0, v=[0, 1, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
translate ([0, 100, 0]) {
union () {
translate ([0, 0, 0]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
translate ([4, -54, -17]) {
rotate (a=90.0, v=[1, 0, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
translate ([0, 0, 100]) {
color ([1, 0, 0, ]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
translate ([4, -54, -17]) {
rotate (a=90.0, v=[1, 0, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
}
translate ([0, 0, 200]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
translate ([4, -54, -17]) {
rotate (a=90.0, v=[1, 0, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
}
}
translate ([0, 200, 0]) {
union () {
translate ([0, 0, 0]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
translate ([4, -54, -17]) {
rotate (a=90.0, v=[1, 0, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
translate ([0, 0, 100]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
translate ([4, -54, -17]) {
rotate (a=90.0, v=[1, 0, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
translate ([0, 0, 200]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
translate ([4, -54, -17]) {
rotate (a=90.0, v=[1, 0, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
}
}
}
}
translate ([100, 0, 0]) {
union () {
translate ([0, 0, 0]) {
union () {
translate ([0, 0, 0]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
}
}
translate ([44, -4, -17]) {
rotate (a=90.0, v=[0, 1, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
translate ([0, 0, 100]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
}
}
translate ([44, -4, -17]) {
rotate (a=90.0, v=[0, 1, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
translate ([0, 0, 200]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
}
}
translate ([44, -4, -17]) {
rotate (a=90.0, v=[0, 1, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
translate ([0, 100, 0]) {
union () {
translate ([0, 0, 0]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
translate ([4, -54, -17]) {
rotate (a=90.0, v=[1, 0, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
translate ([0, 0, 100]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
translate ([4, -54, -17]) {
rotate (a=90.0, v=[1, 0, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
translate ([0, 0, 200]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
translate ([4, -54, -17]) {
rotate (a=90.0, v=[1, 0, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
}
}
translate ([0, 200, 0]) {
union () {
translate ([0, 0, 0]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
translate ([4, -54, -17]) {
rotate (a=90.0, v=[1, 0, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
translate ([0, 0, 100]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
translate ([4, -54, -17]) {
rotate (a=90.0, v=[1, 0, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
translate ([0, 0, 200]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
translate ([4, -54, -17]) {
rotate (a=90.0, v=[1, 0, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
}
}
}
}
translate ([200, 0, 0]) {
union () {
translate ([0, 0, 0]) {
union () {
translate ([0, 0, 0]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
}
}
translate ([44, -4, -17]) {
rotate (a=90.0, v=[0, 1, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
translate ([0, 0, 100]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
}
}
translate ([44, -4, -17]) {
rotate (a=90.0, v=[0, 1, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
translate ([0, 0, 200]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
}
}
translate ([44, -4, -17]) {
rotate (a=90.0, v=[0, 1, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
translate ([0, 100, 0]) {
union () {
translate ([0, 0, 0]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
translate ([4, -54, -17]) {
rotate (a=90.0, v=[1, 0, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
translate ([0, 0, 100]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
translate ([4, -54, -17]) {
rotate (a=90.0, v=[1, 0, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
translate ([0, 0, 200]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
translate ([4, -54, -17]) {
rotate (a=90.0, v=[1, 0, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
}
}
translate ([0, 200, 0]) {
union () {
translate ([0, 0, 0]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
translate ([4, -54, -17]) {
rotate (a=90.0, v=[1, 0, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
translate ([0, 0, 100]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
translate ([4, -54, -17]) {
rotate (a=90.0, v=[1, 0, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
translate ([0, 0, 200]) {
union () {
color ([0.5, 0.5, 2, ]) {
difference () {
union () {
cylinder (h=20, r=10, center=true);
translate ([0, 0, 10]) {
sphere (r=10, center=true);
}
translate ([0, 0, -8]) {
cylinder (h=4, r=13, center=true);
}
}
translate ([0, 13, -7]) {
cube ([30, 5, 10], center=true);
}
}
}
color ([0.3, 0.3, 0.3, ]) {
union () {
translate ([0, 5, -30]) {
cylinder (h=50, r=1.5, center=true);
}
translate ([7, 5, -60]) {
rotate (a=45.0, v=[0, -1, 0]) {
cylinder (h=20, r=1.5, center=true);
}
}
}
translate ([14, 5, -117]) {
cylinder (h=100, r=1.5, center=true);
}
rotate (a=29.999999999999996, v=[0, 1, 0]) {
union () {
translate ([4, -5, -10]) {
cylinder (h=15, r=1.5, center=true);
}
translate ([4, -54, -17]) {
rotate (a=90.0, v=[1, 0, 0]) {
cylinder (h=100, r=1.5, center=true);
}
}
}
}
}
}
}
}
}
}
}
}
}