Marius Kintel
ab62050727
Merge pull request #886 from openscad/fix-recursive-include
...
Fix recursive include handling by using canonical path (fixes #885 ).
2014-08-09 22:28:27 -05:00
Torsten Paul
c0c4fdf527
Handle $fn, $fa and $fs for CSG output.
2014-08-03 20:31:03 +02:00
Torsten Paul
164b50b1b7
Add version output to text examples and fix viewport orientation.
2014-08-03 18:38:21 +02:00
Torsten Paul
c5ce5a400c
Fix recursive include handling by using canonical path ( fixes #885 ).
2014-07-30 00:14:03 +02:00
Marius Kintel
9c1bb00885
Updated expected images
2014-07-24 02:12:36 -04:00
Marius Kintel
20e97ac482
Removed unnecessary test related to old colorscheme experiments
2014-07-24 02:12:07 -04:00
Marius Kintel
40b5028955
Turn off camera debugging
2014-07-23 23:48:46 -04:00
Marius Kintel
ff3e65ad16
Updated expected images for 2D tests using autocenter and viewall
2014-07-23 23:36:42 -04:00
Marius Kintel
7de599324b
Adjust 2D test handling
2014-07-23 23:36:20 -04:00
Marius Kintel
1c690dfe5d
Updated test image (forgotten as it was part of examples)
2014-07-22 18:05:41 -04:00
Marius Kintel
d4f769c15c
Updated test image (forgotten as it was part of examples)
2014-07-22 17:11:45 -04:00
Don Bright
858afffff8
add more expected images. remove accidentally added intermediate files.
...
Conflicts:
tests/regression/offpngtest/demo_cut-expected.png
tests/regression/offpngtest/difference-expected.png
tests/regression/offpngtest/fence-expected.png
tests/regression/offpngtest/rounded_box-expected.png
tests/regression/offpngtest/surface-expected.png
tests/regression/offpngtest/translation-expected.png
tests/regression/stlpngtest/demo_cut-expected.png
tests/regression/stlpngtest/difference-expected.png
tests/regression/stlpngtest/fence-expected.png
tests/regression/stlpngtest/rounded_box-expected.png
tests/regression/stlpngtest/surface-expected.png
tests/regression/stlpngtest/translation-expected.png
2014-07-22 17:11:41 -04:00
Marius Kintel
c90cb30e50
Synced some remaining fixes from the test_3d_export branch
2014-07-22 16:23:05 -04:00
Don Bright
3b5893144d
run the diffpng image comparer without creating an output image, for speed
2014-07-22 16:09:56 -04:00
Marius Kintel
3bd56036a5
Tag all example tests correctly
2014-07-22 16:09:51 -04:00
Don Bright
d819ab6d32
new tests for stlpngtest offpngtest
...
Conflicts:
tests/regression/offpngtest/demo_cut-expected.png
tests/regression/offpngtest/difference-expected.png
tests/regression/offpngtest/fence-expected.png
tests/regression/offpngtest/rounded_box-expected.png
tests/regression/offpngtest/surface-expected.png
tests/regression/offpngtest/translation-expected.png
2014-07-22 16:09:34 -04:00
Don Bright
ac27854c8f
fix bug where --render was not using proper colorscheme due to
...
getFacetColor in OGL_helper.h not being overridden in CGAL_renderer.h
Conflicts:
src/CGALRenderer.cc
src/CGAL_renderer.h
src/OGL_helper.h
src/renderer.cc
tests/CMakeLists.txt
tests/export_import_pngtest.py
tests/regression/stlpngtest/demo_cut-expected.png
tests/regression/stlpngtest/difference-expected.png
tests/regression/stlpngtest/fence-expected.png
tests/regression/stlpngtest/rounded_box-expected.png
tests/regression/stlpngtest/surface-expected.png
tests/regression/stlpngtest/translation-expected.png
2014-07-22 15:55:40 -04:00
Marius Kintel
07da269643
Use --render when creating expected images
2014-07-22 15:45:21 -04:00
Marius Kintel
dec1abd827
turn off pretty-print debugging
2014-07-22 15:45:05 -04:00
Don Bright
92ef136967
re-doing the test generation for 3d formats that dont preserve color
2014-07-22 15:33:10 -04:00
Don Bright
cc6a0978cb
add test imgs for offpngtest and stlpngtest. updates to test_cmd and test_pretty_print
...
to handle missing expected images better and properly report img comparer.
tweak diffpng
Conflicts:
src/OGL_helper.h
tests/CMakeLists.txt
tests/diffpng.cpp
tests/test_3d_export.py
tests/test_pretty_print.py
2014-07-22 15:33:08 -04:00
Don Bright
02f91a7413
debugging messages. update diffpng
...
Conflicts:
src/Camera.cc
tests/CMakeLists.txt
2014-07-22 15:21:41 -04:00
Don Bright
3c71753332
tweak improvements for test pretty print logging. new intersection test img files
...
Conflicts:
tests/regression/opencsgtest/intersection2-tests-expected.png
tests/test_pretty_print.py
2014-07-22 15:18:18 -04:00
Don Bright
e5bb9d178d
add test imgs for offpngtest and stlpngtest. updates to test_cmd and test_pretty_print
...
to handle missing expected images better and properly report img comparer.
tweak diffpng
Conflicts:
src/OGL_helper.h
tests/CMakeLists.txt
tests/test_3d_export.py
tests/test_cmdline_tool.py
tests/test_pretty_print.py
2014-07-22 15:15:53 -04:00
Don Bright
07ad12f154
update diffpng.cpp
2014-07-22 15:09:42 -04:00
Don Bright
4d619a7e38
update diffpng
...
Conflicts:
tests/CMakeLists.txt
2014-07-22 15:09:36 -04:00
Don Bright
94d11adeb2
allow alternate image comparison tool diffpng based on Hector Yee's algorithm
...
Conflicts:
tests/CMakeLists.txt
2014-07-22 15:09:04 -04:00
Don Bright
901caedd01
fallback to diffpng if ImageMagick is missing
2014-07-22 15:02:27 -04:00
don bright
a44f844882
fix bug in imagemagick comparison detector
2014-07-22 15:02:20 -04:00
Don Bright
6f0bd738e7
test ImageMagick to see if two non-identical images are considered identical.
...
on failure, fall back to diffpng comparison (diffpng.cpp)
2014-07-22 15:02:13 -04:00
Don Bright
b3737d96c2
allow alternate image comparison tool diffpng based on Hector Yee's algorithm
...
Conflicts:
tests/CMakeLists.txt
tests/test_cmdline_tool.py
2014-07-22 15:02:05 -04:00
Marius Kintel
b3d094a604
Fixed failing tests by adjusting some mistakes done while cherry-picking from the test_3d_export branch
2014-07-22 14:11:21 -04:00
Don Bright
209feff810
redo 2d tests to be viewed from the top down. experiment w altering viewall code
...
Conflicts:
src/Camera.cc
tests/CMakeLists.txt
tests/regression/cgalpngtest/resize-2d-tests-expected.png
tests/regression/cgalpngtest/rotate_extrude_dxf-tests-expected.png
tests/regression/cgalpngtest/text-font-alignment-tests-expected.png
tests/regression/cgalpngtest/text-font-direction-tests-expected.png
tests/regression/cgalpngtest/text-font-simple-tests-expected.png
tests/regression/cgalpngtest/text-font-tests-expected.png
tests/regression/dumptest/resize-2d-tests-expected.csg
tests/regression/opencsgtest/intersection2-tests-expected.png
tests/regression/opencsgtest/resize-2d-tests-expected.png
tests/regression/opencsgtest/rotate_extrude_dxf-tests-expected.png
tests/regression/opencsgtest/text-font-alignment-tests-expected.png
tests/regression/opencsgtest/text-font-direction-tests-expected.png
tests/regression/opencsgtest/text-font-simple-tests-expected.png
tests/regression/opencsgtest/text-font-tests-expected.png
tests/regression/throwntogethertest/resize-2d-tests-expected.png
tests/regression/throwntogethertest/rotate_extrude_dxf-tests-expected.png
tests/regression/throwntogethertest/text-font-alignment-tests-expected.png
tests/regression/throwntogethertest/text-font-direction-tests-expected.png
tests/regression/throwntogethertest/text-font-simple-tests-expected.png
tests/regression/throwntogethertest/text-font-tests-expected.png
2014-07-22 14:00:08 -04:00
Don Bright
f3a0d5dc64
add --autocenter option to make it easier to test 2d objects properly
...
Conflicts:
src/Camera.cc
tests/CMakeLists.txt
2014-07-22 13:37:09 -04:00
Marius Kintel
28864037ee
Split info() function into separate file as it depends on too many defines and external libs
2014-07-22 13:32:44 -04:00
Marius Kintel
50ac9c262c
cgal vs. nocgal build tweaks
2014-07-22 12:21:48 -04:00
Marius Kintel
fef8e6a9a8
Correctly display OpenCSG version for test suite
2014-07-22 11:49:08 -04:00
Oskar Linde
ba81166a2b
Add tests for issue #883
2014-07-22 11:11:23 +02:00
Marius Kintel
0852e707a6
Don't crash on infinite dimensions. Fixes #859
2014-07-17 17:59:42 -04:00
Marius Kintel
c7aa75c558
Merge pull request #856 from openscad/fix-viewport-scoping
...
Fix viewport variable scoping
2014-07-17 11:14:01 -04:00
Torsten Paul
37686582d9
Test case for UTF-8 include / use (issue #875 ).
2014-07-17 00:54:12 +02:00
Torsten Paul
d0ba2903b3
Enable text for most test cases and update reference images.
2014-07-12 21:36:56 +02:00
Torsten Paul
d86e9d43ee
Fix text() CSG output and cleanup test cases.
...
- enable text feature in import-export test cases
- drop ParaType font as Liberation is needed for the composition regression
test, so use this for other tests too
- drop Amiri bold font, which is not adding anything to coverage
2014-07-12 21:36:50 +02:00
Torsten Paul
7847fd0dad
Update camera settings for camortho test and update reference image.
2014-07-08 00:55:01 +02:00
Torsten Paul
e8fac2ef97
Add example files for text() usage.
...
The test case images are currently not including the text as the example
test run does not include experimental features. This will need to be
updated once the text() feature is not experimental anymore.
2014-07-07 23:28:03 +02:00
Torsten Paul
0a5acbde25
Add test cases for composition and symbol font handling.
2014-07-07 23:28:03 +02:00
Marius Kintel
328fbb9000
Allow slices to be specified independently of twist. Fixes #850
2014-06-26 16:43:12 -04:00
Marius Kintel
c8b4d82d96
Added testcase for #837
2014-06-24 19:22:33 -04:00
Marius Kintel
ccb9495354
Merge branch 'master' into text-escape-sequences
...
Conflicts:
tests/CMakeLists.txt
2014-06-24 18:32:14 -04:00
Torsten Paul
544de72c80
Add test cases for the escape sequences.
2014-06-24 20:09:04 +02:00