Added import_dxf-tests

stl_dim
Marius Kintel 2011-09-03 22:42:48 +02:00
parent 90e96a34ac
commit 946605234c
4 changed files with 2151 additions and 1 deletions

2140
testdata/dxf/multiple-layers.dxf vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -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");

View File

@ -205,13 +205,14 @@ add_cmdline_test(cgaltest stl ${CGALTEST_FILES})
LIST(APPEND CGALPNGTEST_FILES
${CMAKE_SOURCE_DIR}/../testdata/scad/features/circle-tests.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/features/square-tests.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/features/polygon-tests.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/features/cube-tests.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/features/sphere-tests.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/features/cylinder-tests.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/features/polygon-tests.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/features/union-tests.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/features/difference-tests.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/features/intersection-tests.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/features/import_dxf-tests.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/features/color-tests.scad)
#LIST(APPEND CGALPNGTEST_FILES ${CMAKE_SOURCE_DIR}/../examples/example001.scad)
add_cmdline_test(cgalpngtest png ${CGALPNGTEST_FILES})

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB