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
1269ef49c3
Add test cases for chr().
2014-07-13 19:18:48 +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
Marius Kintel
bbdfe9b706
Make concat() a primary feature (not experimental)
2014-06-23 22:42:11 -04:00
Torsten Paul
86e87e45f9
Use toString() when generating echo() messages ( fixes #838 ).
...
When using the Value << operator, strings are encoded (e.g. a newline
character is encoded as \n), but echo() should output the text as given.
2014-06-23 23:21:16 +02:00
Oskar Linde
38c7a24240
Add test case for issue 835
2014-06-23 10:15:39 +02:00
Marius Kintel
0dd3ac272b
Handle cwd as outputdir
2014-06-21 19:05:50 -04:00
Marius Kintel
e097508472
Link with the correct C++ library on Mac. Added a fix for allowing folder names with regex special characters
2014-06-21 13:34:41 -04:00
Marius Kintel
458d60faa6
Refactored the camera handling a bit, added --viewall cmd-line parameter
2014-06-19 17:47:38 -04:00
Marius Kintel
c6e21a6027
Report boost version, don't add BOOST_FILESYSTEM_VERION for recent boost versions
2014-06-19 17:43:35 -04:00
Marius Kintel
48e1d6a5a9
Allow other files than .scad as input
2014-06-16 21:13:18 -04:00
Marius Kintel
4ef994ac3e
Pass full path to python script
2014-06-16 15:56:36 -04:00
Marius Kintel
e344f7e478
Bugfix - png is the last arg + some better error output
2014-06-16 15:56:07 -04:00
Marius Kintel
d77db77825
Rewrote csg-import-test to be able to export other file formats as well as pass extra parameters to OpenSCAD
2014-06-16 02:41:04 -04:00
Oskar Linde
05e2a1edf1
Mac: Add -stdlib=libc++ to testsuite on 10.9 and later
2014-06-10 02:09:29 -04:00
Marius Kintel
8793fed7db
Merge branch 'master' of github.com:openscad/openscad
2014-06-10 01:40:45 -04:00
Marius Kintel
c1701654fc
#784 bugfix slightly changed twist behavior. Updating test results
2014-06-10 01:40:41 -04:00
Marius Kintel
a7b4f2e5b7
#495 Updated test png to reflect correct behavior
2014-06-10 01:13:36 -04:00
Marius Kintel
3ccce0d7ee
Added testcase for erosions issue
2014-06-09 23:03:33 -04:00
Marius Kintel
7b6153fed8
Updated expected file for #495
2014-06-09 22:48:29 -04:00
Oskar Linde
4aa5ea04d8
Change minkowski 3d png test result from green -> yellow facets
2014-06-03 18:51:29 +02:00
Marius Kintel
ca3ff7cf66
Related to #737 - allow for nbsp (0xc2a0) characters on the cmd-line
2014-05-29 18:22:32 -04:00
Marius Kintel
4ccda0f794
#784 bugfix: Missing conversion to radians
2014-05-28 22:52:21 -04:00
Marius Kintel
22e46762f8
Catch File Exists on makedirs to better support parallel runs
2014-05-28 20:36:40 -04:00
Marius Kintel
38c24fe006
Merge branch 'master' into list-comprehensions
2014-05-25 16:00:10 -04:00
Marius Kintel
6661f9de1c
Testing with fontconfig 2.8
2014-05-24 16:05:05 -04:00
Marius Kintel
481d3754b3
Cleaned up library dependencies
2014-05-24 15:49:46 -04:00
Marius Kintel
357e0beccd
Merge branch 'master' into csg-import-tests
2014-05-23 16:36:07 -04:00
Marius Kintel
8ac0209db5
bugfix: FindGLIB2 didn't clean up properly. added new pkg-config utility functions which can be reused
2014-05-23 16:30:50 -04:00
Marius Kintel
3c9d9a705a
Merge branch 'master' into csg-import-tests
2014-05-22 23:44:41 -04:00
Oskar Linde
694dad5a8b
Added testcases for let and list-comprehensions
2014-05-22 22:58:24 +02:00
Marius Kintel
943e98ae80
Merge branch 'master' into text-module
2014-05-21 16:43:11 -04:00
Marius Kintel
2838795d63
#802 Added test, issue warning instead of crashing
2014-05-21 14:01:12 -04:00
Torsten Paul
c64360d372
Merge branch 'master' into text-module
...
Conflicts:
tests/CMakeLists.txt
2014-05-20 21:36:51 +02:00
Marius Kintel
e64734f8fd
bugfix: Empty import combined with real geometry caused an assert failure
2014-05-19 15:21:43 -04:00
Marius Kintel
e4dd4da818
#791 Handle twist=0 as no twist
2014-05-19 11:49:41 -04:00
Marius Kintel
c601060f82
Put tests in correct test config
2014-05-18 23:20:26 -04:00
Torsten Paul
ee0328df39
Disable inf/nan cases for *.csg import tests.
...
The inf/nan tests fail when exporting CSG and rendering that output again
as currently inf/nan is written directly to the CSG file (e.g. r = inf)
which is not valid or even misleading in case a variable inf exists.
2014-05-18 17:32:14 +02:00
Torsten Paul
84eada804b
Fix CSG output of offset().
2014-05-18 17:32:10 +02:00
Torsten Paul
f74228a029
Add script to test rendering of exported CSG files.
2014-05-18 17:18:41 +02:00
Marius Kintel
ba4d0b0e38
CGAL-4.4 fixed some issues
2014-05-17 18:42:23 -04:00
Marius Kintel
2b744f9512
#541 was fixed during unstable refactoring
2014-05-17 15:34:00 -04:00
Marius Kintel
dfec3b59fc
#593 was fixed by #608
2014-05-17 15:19:26 -04:00
Marius Kintel
b9f75759b7
Issue #582 was fixed sometime during the unstable branch refactoring
2014-05-17 15:11:35 -04:00
Marius Kintel
985d9a2f61
Updated pngs after merging unstable
2014-05-17 13:58:36 -04:00
Marius Kintel
7a709b5e8b
Merge pull request #785 from OskarLinde/vector_min_max
...
Make min() and max() handle vector argument
2014-05-17 11:59:01 -04:00
Marius Kintel
6a0d70033d
Merge pull request #796 from OskarLinde/offset_bugfix
...
Offset bug with delta < 1
2014-05-17 11:57:50 -04:00
Marius Kintel
e931c8ab83
bugfix: Dumptest failed to dump the highlight modifier
2014-05-17 11:53:11 -04:00
Marius Kintel
76e152f300
Moved to the Heavy group
2014-05-17 11:52:42 -04:00
Oskar Linde
5058086837
Tests for min()/max()
2014-05-17 14:50:06 +02:00
Oskar Linde
a886d001ba
Offset bug regression test
2014-05-17 14:22:16 +02:00
Marius Kintel
7952d24915
Merge branch 'master' into categorized_examples
...
Conflicts:
src/MainWindow.h
2014-05-13 00:50:25 -04:00
Marius Kintel
1cb754603b
#786 Added tests
2014-05-12 15:15:06 -04:00