#1174 Added testcase

master
Marius Kintel 2015-01-25 01:49:36 -05:00
parent 13a4e43de9
commit 4c26959cf2
7 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1 @@
render() mirror([1,0,0]) cube();

View File

@ -1122,6 +1122,7 @@ list(APPEND EXPORT3D_TEST_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/3D/features
${CMAKE_SOURCE_DIR}/../testdata/scad/3D/features/polyhedron-tests.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/3D/features/rotate_extrude-tests.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/3D/features/union-coincident-test.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/3D/features/mirror-tests.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/misc/null-polygons.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/misc/internal-cavity.scad
${CMAKE_SOURCE_DIR}/../testdata/scad/misc/internal-cavity-polyhedron.scad

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

@ -0,0 +1,7 @@
group() {
render(convexity = 1) {
multmatrix([[-1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
cube(size = [1, 1, 1], center = false);
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB