Added test for empty geometry

export-menu
Marius Kintel 2014-01-15 19:24:38 -05:00
parent 7af6922829
commit 5c57ed41e7
5 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,28 @@
linear_extrude(h=1) {
square(0);
circle(0);
polygon();
import();
}
cube(0);
sphere(0);
cylinder(0);
polyhedron();
import();
surface();
rotate_extrude();
linear_extrude();
translate();
color();
hull();
minkowski();
union();
difference();
intersection();
render();
projection();
assign();
if(1) { }
intersection_for();
for();

View File

@ -841,7 +841,8 @@ list(APPEND CGALPNGTEST_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/misc/include-
${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/transform-nan-inf-tests.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/misc/localfiles-test.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/misc/localfiles_dir/localfiles-compatibility-test.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/misc/rotate-empty-bbox.scad)
${CMAKE_SOURCE_DIR}/../testdata/scad/misc/rotate-empty-bbox.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/misc/empty-shape-tests.scad)
list(APPEND OPENCSGTEST_FILES ${CGALPNGTEST_FILES})
list(APPEND OPENCSGTEST_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/intersection-prune-test.scad)

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB