1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
// Empty
intersection();
// No children
intersection() { }
intersection() {
sphere(r=5);
translate([0,0,3]) cube([4,4,6], center=true);
}
translate([0,12,0]) intersection() {
cube([10,10,10], center=true);
cylinder(r=4, h=12, center=true);
}
translate([12,0,0]) intersection() {
cube([10,10,10], center=true);
cylinder(r=4, h=12, center=true);
rotate([0,90,0]) cylinder(r=4, h=12, center=true);
}
translate([12,12,0]) intersection() {
cube([10,10,10], center=true);
translate([0,0,7]) cylinder(r=4, h=4, center=true);
}
translate([24,0,0]) intersection() {
cube([10,10,10], center=true);
translate([0,0,6.99]) cylinder(r=4, h=4, center=true);
}
translate([-12,0,0]) intersection() {
cube([10,10,10], center=true);
translate([0,-10,-10]) cube([10,10,10], center=true);
}
translate([-12,12,0]) intersection() {
cube([10,10,10], center=true);
translate([0,-9.99,-9.99]) cube([10,10,10], center=true);
}
translate([-12,0,0]) intersection() {
scale(10/sqrt(2))
polyhedron(points = [[1,0,0],[-1,0,0],[0,1,0],[0,-1,0],[0,0,1],[0,0,-1]],
triangles = [[0,2,4],[0,5,2],[0,4,3],[0,3,5],[1,4,2],[1,2,5],[1,3,4], [1,5,3]],
convexity = 1);
translate([0,0,10]) cube([20,20,20], center=true);
}
|