diff options
author | Marius Kintel <marius@kintel.net> | 2011-09-03 20:42:48 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-09-03 20:42:48 (GMT) |
commit | 946605234c7cf35cadfe9bde5531ebe6655f1b42 (patch) | |
tree | 3390f028b2c94be20193c7964332639fb27c3c72 /testdata/scad | |
parent | 90e96a34ac684831c756da60a32b4571a585f030 (diff) |
Added import_dxf-tests
Diffstat (limited to 'testdata/scad')
-rw-r--r-- | testdata/scad/features/import_dxf-tests.scad | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testdata/scad/features/import_dxf-tests.scad b/testdata/scad/features/import_dxf-tests.scad new file mode 100644 index 0000000..814a46c --- /dev/null +++ b/testdata/scad/features/import_dxf-tests.scad @@ -0,0 +1,9 @@ +import_dxf(); +translate([-210,0,0]) import_dxf(file="../../dxf/polygons.dxf"); +translate([-210,0,0]) import_dxf(file="../../dxf/polygons.dxf", origin=[0,110]); +translate([-210,0,0]) import_dxf(file="../../dxf/polygons.dxf", origin=[110,110], scale=0.5); +import_dxf(file="../../dxf/multiple-layers.dxf"); +translate([-200,200,0]) import_dxf(file="../../dxf/multiple-layers.dxf", layer="0"); +translate([0,200,0]) import_dxf(file="../../dxf/multiple-layers.dxf", layer="0"); +translate([200,200,0]) import_dxf(file="../../dxf/multiple-layers.dxf", layer="noname"); +translate([0,200,0]) import_dxf(file="../../dxf/multiple-layers.dxf", layer="Layer with a pretty long name including \\ \"special\" /'\\\\ characters"); |