diff options
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/scad/dxf-export.scad | 12 | ||||
-rw-r--r-- | testdata/scad/null-polygons.scad | 4 |
2 files changed, 14 insertions, 2 deletions
diff --git a/testdata/scad/dxf-export.scad b/testdata/scad/dxf-export.scad new file mode 100644 index 0000000..7f4b8cb --- /dev/null +++ b/testdata/scad/dxf-export.scad @@ -0,0 +1,12 @@ +circle(r=5); + +translate([15,0,0]) square(size=[10,10], center=true); + +translate([30,0,0]) polygon(points=[[-5,-5],[5,-5],[0,5]], paths=[[0,1,2]]); + +translate([0,-15,0]) { + difference() { + circle(r=5); + translate([0,-6,0]) square([12,12], center=true); + } +}
\ No newline at end of file diff --git a/testdata/scad/null-polygons.scad b/testdata/scad/null-polygons.scad index d945325..4849c15 100644 --- a/testdata/scad/null-polygons.scad +++ b/testdata/scad/null-polygons.scad @@ -1,2 +1,2 @@ -linear_extrude() import_dxf("null-polygons.dxf"); // doen's crash -linear_extrude("null-polygons.dxf"); // crashes +linear_extrude() import_dxf("null-polygons.dxf"); +linear_extrude("null-polygons.dxf"); |