blob: 27d03fee313e63195b85c93ebacb68c7d2581fb8 (
plain)
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
|
// Empty
projection();
// No children
projection() { }
// 2D child
projection() { square(); }
// Simple
projection(cut=false) cube(10);
// Two children
translate([-12,0]) projection(cut=false) {
cube(10);
difference() {
sphere(10);
cylinder(h=30, r=5, center=true);
}
}
// Holes
translate([6,-12]) projection(cut=false) {
cube(10);
difference() {
sphere(10);
cylinder(h=30, r=5, center=true);
}
}
|