summaryrefslogtreecommitdiff
path: root/testdata/scad/features/hull3-tests.scad
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2011-11-24 01:26:34 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2011-11-24 01:26:34 (GMT)
commit0db6e95e2de1c59a3587eb590e930f0f1e74876e (patch)
tree08cf4dec262059b7efea830e9cf1a3d36dcbfe48 /testdata/scad/features/hull3-tests.scad
parentcea502f9a3531888dbbb55099421fb1ab565f2c1 (diff)
parente0b5f3f33d974b60daf88a28ce86dc6013f44746 (diff)
Merge remote branch 'upstream/master' into cakebaby
Diffstat (limited to 'testdata/scad/features/hull3-tests.scad')
-rw-r--r--testdata/scad/features/hull3-tests.scad34
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);
+ }
+}
contact: Jan Huwald // Impressum