diff options
author | Marius Kintel <marius@kintel.net> | 2011-11-23 15:11:55 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-11-23 15:11:55 (GMT) |
commit | 25fa1984dbeed2b294e1f04d833fa5f7bd66fcad (patch) | |
tree | d419950c7fbec37e35d6c1b4c640d181ddf017c6 /testdata | |
parent | 1969396b9d1ec34778f9568652b0864f64365a23 (diff) | |
parent | 73092dd4c89829bb0a7fa0a026addd2d54171cbb (diff) |
Merge branch 'hull3'
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/scad/features/hull3-tests.scad | 34 |
1 files changed, 12 insertions, 22 deletions
diff --git a/testdata/scad/features/hull3-tests.scad b/testdata/scad/features/hull3-tests.scad index 2bd7d73..12c8a11 100644 --- a/testdata/scad/features/hull3-tests.scad +++ b/testdata/scad/features/hull3-tests.scad @@ -1,27 +1,17 @@ -// 3d not currently implemented -module convex3dSimple() { - hull() { - translate([15,10]) cylinder(r=10); - cylinder(r=10); - } -} - -// 3d not currently implemented -module convex3dHole() { - hull() { - translate([15,10,0]) cylinder(10); - difference() { - cylinder(10); - cylinder(5); - } - } -} - -translate([0,40,0]) convex3dHole(); -translate([40,40,0]) convex3dSimple(); - // 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); + } +} |