From cd894cbbc3d66449232a0ec433b0aff37a4129f7 Mon Sep 17 00:00:00 2001 From: John-Paul Robinson Date: Mon, 26 Nov 2012 16:47:02 -0600 Subject: 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. 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); +} -- cgit v0.10.1