Marius Kintel
499a9717d7
#1105 Added another testcase
2015-01-06 17:35:04 -05:00
Marius Kintel
31f42ee81d
Merge remote-tracking branch 'origin/master' into gridfix
...
Conflicts:
src/cgalutils.cc
2015-01-06 12:44:17 -05:00
Marius Kintel
1a6a7392e7
#1089 Moved testcases to good tests
2015-01-06 12:39:49 -05:00
Marius Kintel
82dbabac92
Apply convex hull bugfix from CGAL, work around next issue by avoiding using std::set iterators, updated test cases. Fixes #1089
2015-01-06 11:12:03 -05:00
Marius Kintel
073b2e7740
Merge remote-tracking branch 'origin/master' into gridfix
2015-01-06 00:21:43 -05:00
Marius Kintel
57fd4a20bc
Minor adjustment to testcase
2015-01-05 23:51:21 -05:00
Marius Kintel
4b41ccaa29
Minor adjustment to testcase
2015-01-05 23:47:48 -05:00
Marius Kintel
02d591556c
Moved tests from #936 to #945
2015-01-05 23:31:03 -05:00
Marius Kintel
87e483095b
Merge remote-tracking branch 'origin/master' into gridfix
2015-01-05 22:36:29 -05:00
Marius Kintel
966add80a8
Run fixed bug test cases as part of the normal regression tests
2015-01-05 21:43:17 -05:00
Marius Kintel
4d454367f9
Run fixed bug test cases as part of the normal regression tests
2015-01-05 21:41:58 -05:00
Marius Kintel
10e3676a01
Added a test config 'Good' which includes all tests except Bugs
2015-01-05 20:03:20 -05:00
Marius Kintel
32b2d2ec97
Fixed buggy vertex quantizing and polygon tessellation. Should improve some corner cases
2015-01-05 18:22:58 -05:00
Marius Kintel
90172fa5c3
#913 Added expected image
2015-01-05 16:14:02 -05:00
Marius Kintel
179ad1ea7c
#911 Added expected image
2015-01-05 16:13:21 -05:00
Marius Kintel
1e894bb152
#904 Added expected image
2015-01-05 16:11:51 -05:00
Marius Kintel
fe0b7dd334
#835 Added expected image
2015-01-05 16:10:02 -05:00
Marius Kintel
acb206dd18
#1089 Added minimal testcase
2015-01-04 12:24:46 -05:00
Marius Kintel
09e7bfc96d
#1129 Fixed crash when performing empty projection
2015-01-01 23:01:09 -05:00
Marius Kintel
4eaf8797c2
Small refactoring: Split out Polyhedron-related functions to from cgalutils.cc to cgalutils-polyhedron.cc
2014-12-31 02:52:56 -05:00
Marius Kintel
89419f50a1
#1105 Added testcase
2014-12-28 16:05:33 -05:00
Marius Kintel
c2643d82ea
#1069 Correctly fall back to CGAL minkowski if our convex decomposition-based minkowski fails. Fixes #1069 for now, but our convex-based minkowski should not fail
2014-12-23 22:50:38 -05:00
Marius Kintel
c5e4715575
bugfix: highlighted differences didn't render correctly
2014-12-23 00:37:43 -05:00
Marius Kintel
4c11d6b62f
Updated test results for offset tests
2014-12-23 00:09:05 -05:00
Marius Kintel
d071ba16cb
Merge pull request #1087 from openscad/offset-updates2
...
Update offset() parameter handling.
2014-12-22 19:18:40 -05:00
Torsten Paul
310ca16c1b
Update test reference file for norm().
2014-12-21 04:40:24 +01:00
Torsten Paul
ad51cadfbd
Update offset() parameter handling.
...
- Rounded offset is now using parameter r
- Using delta only or delta with camfer = false creates no chamfer
- Using delta with chamfer =true creates chamfer at delta distance
2014-12-19 16:48:13 +01:00
Marius Kintel
ca11624f52
#1065 Added new expected test result
2014-12-17 13:13:27 -05:00
Marius Kintel
6492d25265
#1065 The text module is no longer experimental
2014-12-17 12:56:52 -05:00
Marius Kintel
ad69698f97
Changed stlcsgpngtest to render, not preview, to be able to reuse monotonepngtest results
2014-12-11 18:01:56 -05:00
Marius Kintel
723556b803
#964 Run correct tests
2014-12-11 17:27:08 -05:00
Marius Kintel
1bbbfad575
#964 Added test for checking correct export of nonmanifold objects
2014-12-11 17:24:35 -05:00
Marius Kintel
255fc1d58d
#1051 updated test results after suppressing repeated error messages
2014-12-11 17:04:33 -05:00
Marius Kintel
6d9329966a
#1061 fixed test build behaving differently from GUI build due to ENABLE_CGAL flag not being passed to all relevant sources. Added testcase
2014-12-09 16:42:02 -05:00
Marius Kintel
7d8203fc52
Disabled less useful test
2014-12-08 18:24:09 -05:00
Marius Kintel
c03350e3cb
Added more nullspace tests
2014-12-08 17:53:40 -05:00
Marius Kintel
5695d7f445
#1055 added testcase
2014-12-07 19:47:43 -05:00
Marius Kintel
a606fe39b6
Minor testcase tweak
2014-12-07 19:38:48 -05:00
Torsten Paul
50e79a6817
Fix evaluation of ! expressions.
2014-12-05 20:54:01 +01:00
Marius Kintel
2316a42759
Merge pull request #988 from openscad/translation2
...
Translation2
2014-12-04 16:30:17 -05:00
Marius Kintel
9285222e29
Updated test result after moving recursion exception catch
2014-12-04 15:53:04 -05:00
Torsten Paul
b6167b0b60
Merge branch 'master' into translation2
...
Conflicts:
src/PlatformUtils.h
2014-12-04 20:51:44 +01:00
Marius Kintel
8bd04b1417
Merge pull request #1030 from openscad/issue409
...
Optimize stack usage (#409 )
2014-12-04 14:05:15 -05:00
Marius Kintel
8b9559a27c
Merge branch 'cmakeissues' of git://github.com/bmcage/openscad
...
Conflicts:
tests/CMakeLists.txt
2014-12-03 11:01:48 -05:00
Marius Kintel
87f532493e
#1047 Some more cleanup for NULLGL
2014-12-03 10:58:44 -05:00
Torsten Paul
b894166dea
Add tests to check tail recursion eliminiation.
2014-12-02 22:45:08 +01:00
Benny Malengier
6898b49a08
Revert "MCAD not available should not be a critical error, only a warning"
...
This reverts commit 96cde0a265
.
2014-12-02 12:22:42 +01:00
Marius Kintel
be595efd31
Merge remote-tracking branch 'origin/master' into issue409
...
Conflicts:
src/mainwin.cc
src/module.cc
2014-12-01 17:07:01 -05:00
Benny Malengier
415349e873
Missing quotes in argument list target properties
2014-12-01 12:20:16 +01:00
Benny Malengier
96cde0a265
MCAD not available should not be a critical error, only a warning
2014-12-01 12:10:08 +01:00
Marius Kintel
80050e94db
merge fixes
2014-12-01 02:51:56 -05:00
Marius Kintel
5743064d56
Merge remote-tracking branch 'origin/master' into translation2
2014-12-01 02:34:28 -05:00
Marius Kintel
bb9e7f5277
Tagged stlpngtest_bad-stl-wing as a bug
2014-12-01 01:06:15 -05:00
Marius Kintel
a05fe72c6b
Rewrote tessellation used for NefPolyhedron to PolySet conversion. Should fix #1033
2014-12-01 00:54:01 -05:00
Marius Kintel
cf418188b9
Added malformed offset tests
2014-11-27 21:15:29 -05:00
Marius Kintel
f36646730d
Added some malformed polygon tests
2014-11-27 21:02:35 -05:00
Marius Kintel
75b57cd9b5
Added some malformed polyhedron tests and fixed an assertion bug
2014-11-27 21:00:23 -05:00
Marius Kintel
1cca6c088a
Added tests for empty text results
2014-11-27 20:22:18 -05:00
Marius Kintel
77887bc2f8
Added surface not found tests
2014-11-27 19:19:02 -05:00
Marius Kintel
9c628225aa
Added some nullspace tests
2014-11-27 19:09:54 -05:00
Marius Kintel
096ba7026d
Added test for dxf file not found
2014-11-27 18:52:23 -05:00
Marius Kintel
23f1c4ac3f
Updated test results
2014-11-27 17:21:23 -05:00
Marius Kintel
74475395f4
Merge remote-tracking branch 'origin/master' into stack-size-hack
...
Conflicts:
src/expr.cc
2014-11-25 17:02:58 -05:00
Marius Kintel
b03345ec18
bugfix: dump of list comprehension if expression was buggy
2014-11-25 17:01:10 -05:00
Marius Kintel
8ca812ac1a
Added infinite module recursion test
2014-11-25 15:28:48 -05:00
Marius Kintel
259d1b6435
Initialize StackCheck for all test drivers
2014-11-25 15:04:00 -05:00
Marius Kintel
09d85c79ac
Merge branch 'stack-size-hack' of github.com:openscad/openscad into stack-size-hack
2014-11-25 14:48:04 -05:00
Torsten Paul
5680dfc0e4
Fix test build.
2014-11-25 20:41:32 +01:00
Marius Kintel
0fa6154bbb
Updated test results of all* tests
2014-11-25 14:35:23 -05:00
Marius Kintel
df49d9e1a8
Added missing moduledump tests for list comprehension and let
2014-11-25 14:31:54 -05:00
Marius Kintel
07284b86ff
Added missing moduledump tests for offset and text
2014-11-25 14:30:03 -05:00
Marius Kintel
d73565f59f
Added missing moduledump tests for chr, concat, norm, cross, parent_module
2014-11-25 14:28:17 -05:00
Marius Kintel
945be0020f
Updated tests
2014-11-25 00:45:19 -05:00
Marius Kintel
b2c205ba4c
Merge remote-tracking branch 'origin/master' into translation2
...
Conflicts:
tests/csgtexttest.cc
2014-11-17 21:56:53 -05:00
Marius Kintel
1afb706461
Merge remote-tracking branch 'origin/master' into translation2
2014-11-17 21:55:19 -05:00
Marius Kintel
ea1d561c46
Support variable assignment in local blocks. This should fix #347 but more testing is needed
2014-11-17 00:57:36 -05:00
Marius Kintel
1263042fc9
typo
2014-11-15 17:28:33 -05:00
Marius Kintel
6e5edb5beb
No need to run dxfpngtest on #899
2014-11-15 17:04:12 -05:00
Torsten Paul
2d6ac803be
Initialize application path.
2014-11-15 22:44:46 +01:00
Torsten Paul
59c4dec623
Merge branch 'master' into translation2
2014-11-12 23:21:42 +01:00
Marius Kintel
1d9b664e85
#899 Updated testcase: Tagged as 2D test
2014-11-11 16:17:21 -05:00
Marius Kintel
43221a78e1
Updated test results after viewAll changes
2014-11-10 16:18:28 -05:00
Marius Kintel
877c010269
#802 Updated test results
2014-11-07 10:03:15 -05:00
Marius Kintel
be9853cd20
#791 Added testcase
2014-11-07 09:54:01 -05:00
Marius Kintel
aba7ba7665
#584 updated test results
2014-11-07 09:37:25 -05:00
Marius Kintel
4bc3d98509
#1004 Added testcase
2014-11-05 19:25:45 +04:00
Marius Kintel
d74450eaad
Allow pretty print of tests which fail with a non-zero return code
2014-11-05 19:25:05 +04:00
Marius Kintel
56866bc3d8
#1006 is a duplicate of #945
2014-11-05 19:05:56 +04:00
Marius Kintel
1342db57cf
Include debug objects in View All
2014-11-05 18:33:30 +04:00
Marius Kintel
9e882be319
#1005 Added testcase
2014-11-05 18:16:05 +04:00
Marius Kintel
728f1337a2
#1006 Added testcase
2014-11-05 14:33:36 +04:00
Torsten Paul
4306586adf
Set OPENSCAD_FONT_PATH also for the normal test cases.
...
This was already set for the export/import test cases as the exported
CSG files do not have the use<fontfile> statements. Due to differences
in the glyphs between the Liberation 2.00.1 we ship and the system
installed fonts some test cases (e.g. text_on_cube) did also fail.
2014-11-02 22:18:23 +01:00
Marius Kintel
7c677c968f
Added text tessellation test
2014-11-02 23:59:15 +04:00
Marius Kintel
a68b39ead7
Fix regression related to intersection with empty shapes. Fixes #996
2014-10-31 15:28:26 +04:00
Torsten Paul
f66d274c6e
Add cubes to test case to ensure something is rendered.
2014-10-21 20:57:50 +02:00
Miro Hrončok
a23d463020
Test case for #990
2014-10-21 11:52:46 +02:00
Torsten Paul
6cd441e0f1
Port translation code to use resource path from PlatformUtils.
2014-10-19 01:43:45 +02:00
Torsten Paul
afd52b3075
Fix compilation of test cases.
2014-10-19 01:25:23 +02:00
Marius Kintel
d20e1efbbd
doc
2014-10-13 23:13:48 -04:00
Marius Kintel
1bd15b45a6
#964 another testcase
2014-10-13 22:33:33 -04:00
Marius Kintel
1121c96a11
#964 Added testcases
2014-09-30 19:38:43 -04:00
Marius Kintel
f98d565714
Use python's difflib instead of calling the diff cmd. Fixes issue where diff isn't always available on Windows. Fixed #960
2014-09-23 12:36:27 -04:00
Marius Kintel
cf8844c19d
Added testcase for #947
2014-09-15 18:41:30 -04:00
Marius Kintel
771f764533
Use --render=cgal in export-import tests, added testcase for #936
2014-09-04 17:36:52 -04:00
Marius Kintel
f15a177132
Added expected files for #904
2014-09-04 14:43:34 -04:00
Marius Kintel
edded0f69d
Bugfix: Added missing code for properly comparing booleans
2014-08-26 14:52:22 -04:00
Marius Kintel
95ed3141fd
#899 tagged failing test as a bug, added minimal test case
2014-08-24 18:06:19 -04:00
Marius Kintel
39fc1faee5
#584 updated expected image
2014-08-21 01:17:54 -04:00
Marius Kintel
8359c4ad6f
#913 updated testcase result
2014-08-21 01:14:17 -04:00
Marius Kintel
54b9c90aef
#913 Updated test cases
2014-08-21 00:19:35 -04:00
Marius Kintel
04ac48f21c
#913 added testcase
2014-08-20 11:11:18 -04:00
Marius Kintel
de6bcb1786
small reorg of cgalutils namespace
2014-08-19 22:02:08 -04:00
Marius Kintel
4f4bf2b0b8
#911 updated test image
2014-08-19 13:14:52 -04:00
Marius Kintel
377811123b
#911 Added testcase
2014-08-18 20:03:26 -04:00
Marius Kintel
426d5b9de0
Added missing expected files, disabled export test added by mistake
2014-08-18 19:15:32 -04:00
Marius Kintel
4a1962cb84
#112 Updated test images, added export tests
2014-08-18 15:39:01 -04:00
Marius Kintel
ce3b403c9b
#337 Added more corner case tests from previous bugs
2014-08-18 01:50:33 -04:00
Marius Kintel
e975ac3808
#337 Added more export tests, added failing export tests, handle 2D examples, added empty-union test
2014-08-17 16:06:25 -04:00
Marius Kintel
ac22552b84
Added correct expected image
2014-08-17 16:02:00 -04:00
Marius Kintel
2631cf6430
Merge pull request #873 from openscad/builtin-chr
...
Built-in chr()
2014-08-17 12:44:29 -04:00
Marius Kintel
be845d6444
#587 Reorganized some tests to better distinguish between 2D and 3D tests. Added DXF export tests
2014-08-17 11:17:35 -04:00
Marius Kintel
c01ea899f1
Missed tagging of lwpolyline tests as 2D
2014-08-15 14:46:22 -04:00
Marius Kintel
97512818cf
Missed tagging of projection-cut-tests as 2D
2014-08-15 14:41:50 -04:00
Marius Kintel
99fb4ecb34
Use the same test results for all STL/OFF export-import tests
2014-08-15 13:22:01 -04:00
Marius Kintel
49749da7dd
Updated expected image to pass DIFFPNG tests
2014-08-15 13:01:23 -04:00
Marius Kintel
134a1b9706
Removed duplicate DIFFPNG section
2014-08-15 12:12:50 -04:00
Marius Kintel
5133984202
new test results
2014-08-14 17:17:18 -04:00
Marius Kintel
e70bc04197
Colormap functionality from pull request #816 , mostly by Don Bright, includes new colormaps by shaina
2014-08-14 17:16:24 -04:00
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