mirror of https://github.com/vitalif/openscad
Added test for empty geometry
parent
7af6922829
commit
5c57ed41e7
|
@ -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();
|
|
@ -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/bugs/transform-nan-inf-tests.scad
|
||||||
${CMAKE_SOURCE_DIR}/../testdata/scad/misc/localfiles-test.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/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 ${CGALPNGTEST_FILES})
|
||||||
list(APPEND OPENCSGTEST_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/bugs/intersection-prune-test.scad)
|
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 |
Loading…
Reference in New Issue