diff options
author | John-Paul Robinson <jpr@uab.edu> | 2012-11-26 22:47:02 (GMT) |
---|---|---|
committer | John-Paul Robinson <jpr@uab.edu> | 2012-11-26 22:47:02 (GMT) |
commit | cd894cbbc3d66449232a0ec433b0aff37a4129f7 (patch) | |
tree | b3a4613dfe67fc267c510f70e6faa7d83629b68e | |
parent | b04734cbf57db78d188cff9de9a4e33b2366534b (diff) |
Added difference test for something from nothing
The difference tests all subtract objects from an existing object but if
there is no existing object as the first argument the results are
inconsistent across Mac and Linux platforms. Added a test to highlight
this condition.
-rw-r--r-- | testdata/scad/features/difference-tests.scad | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testdata/scad/features/difference-tests.scad b/testdata/scad/features/difference-tests.scad index 3bcd9e5..186772f 100644 --- a/testdata/scad/features/difference-tests.scad +++ b/testdata/scad/features/difference-tests.scad @@ -28,3 +28,8 @@ translate([24,0,0]) difference() { cube([10,10,10], center=true); translate([0,0,6.99]) cylinder(r=4, h=4, center=true); } + +translate([24,12,0]) difference() { + cube([0,10,10], center=true); + # cylinder(r=4, h=20, center=true); +} |