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
|
// Empty
hull();
// No children
hull() { }
hull() {
cylinder(r=10, h=1);
translate([0,0,10]) cube([5,5,5], center=true);
}
translate([25,0,0]) hull() {
translate([0,0,10]) cylinder(r=3);
difference() {
cylinder(r=10, h=4, center=true);
cylinder(r=5, h=5, center=true);
}
}
// Don't Crash (issue 188)
translate([-5,-5,-5]) {
hull() {
intersection() {
cube([1,1,1]);
translate([-1,-1,-1]) cube([1,1,1]);
}
}
}
module hull3null() {
hull() {
cube(0);
sphere(0);
}
}
hull3null();
|