mirror of https://github.com/vitalif/openscad
Added color-tests
parent
818af2bcfc
commit
287c20d2ff
|
@ -0,0 +1,10 @@
|
|||
module object() cube([10,10,10]);
|
||||
|
||||
translate([12,12,0]) object();
|
||||
color([1,0,0]) translate([24,12,0]) object();
|
||||
translate([0,12,0]) color([0,1,1]) object();
|
||||
color([0,0,1,0.5]) object();
|
||||
translate([12,0,0]) color([0,0,1],0.5) object();
|
||||
translate([24,0,0]) color(c="Green",alpha=0.2) object();
|
||||
translate([-12,12,0]) color() object();
|
||||
translate([-12,0,0]) color(alpha=0.5) object();
|
|
@ -209,7 +209,8 @@ LIST(APPEND CGALPNGTEST_FILES
|
|||
${CMAKE_SOURCE_DIR}/../testdata/scad/features/cylinder-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/intersection-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.3 KiB |
Loading…
Reference in New Issue