Commit Graph

423 Commits (574fbf97c56057a60367557519e5ea530405e856)

Author SHA1 Message Date
don bright eb8772539c update test results 2013-03-16 13:34:47 -05:00
don bright c46fb24bf2 update regression test results 2013-03-16 13:18:10 -05:00
don bright 035f022e0a Merge branch 'master' of github.com:openscad/openscad into resize5 2013-03-16 13:07:21 -05:00
Marius Kintel 6b8a5e266c Handle files with non-ascii filenames. Only rudimentary tested. Fixes #113 #290 2013-03-11 22:14:00 -04:00
don bright ea0bb94be9 Merge branch 'master' of github.com:openscad/openscad into resize5 2013-03-11 16:40:51 -07:00
don bright 79ce1e47d0 add new test results and updated versions of old ones 2013-03-11 17:59:02 -05:00
Marius Kintel d9c4b77942 Added test case for value reassignment issue. #289 2013-03-11 17:58:05 -04:00
Marius Kintel adb16cb7dd Expected files for recently added tests 2013-03-11 17:54:00 -04:00
don bright 33a54b52f2 test output for resize() 2013-03-09 20:36:35 -06:00
Marius Kintel b7bb0071fb Added tests which slipped through earlier. Fixes #298 2013-03-09 10:39:46 -05:00
don bright 1778047f77 for portable testing, use Value() result for doubles inside multmatrix 2013-02-16 05:45:52 -08:00
don bright e8a9df55cf test guicgalpngtest against cgalpngtest images. cleanup debugging stuff 2013-01-31 05:00:22 +01:00
don bright 8ba6a78288 add correct test result images, and minor cleanup 2013-01-31 04:14:09 +01:00
don bright 997a0afac3 Merge branch 'master' and fix bugs
Conflicts:
	src/openscad.cc
	tests/CMakeLists.txt
2013-01-31 03:58:34 +01:00
Marius Kintel c087605193 Support reading binary STLs which happen to start with the string 'solid'. Fixes #258 2013-01-28 17:58:36 -05:00
don bright 1e64dddf1e Merge branch 'master' of github.com:openscad/openscad into issue159 2013-01-27 20:42:20 -06:00
don bright 6bac08c33a add gui-cmdlind based output tests (for cgal) 2013-01-26 18:56:33 +01:00
Marius Kintel 0e4e8b64a7 Test results for updated tests for issue #221 2013-01-17 11:43:17 -05:00
don bright 5c779159c2 new test results (degenerate polygons produce output) 2013-01-08 05:06:26 +01:00
Marius Kintel bc7ff5aa8d Ignore dimension when evaluating control modules mixed with geometry children. Fixes #229 2012-12-27 17:30:13 +01:00
Marius Kintel 65fc1d6b01 Detect recursive execution of functions to avoid a stack overflow crash. Fixes #200 2012-10-09 23:32:56 -04:00
Marius Kintel 0cea83a35d Fixed weakness in parser causing modifier characters not to work in front of 'if' statements. Fixes #197 2012-10-07 15:24:08 -04:00
don bright 6a8254f849 add images for tests 2012-08-21 02:47:45 +02:00
don bright 4f7bf1819f add test for proper rounding of decimals in echo() 2012-07-26 20:49:58 -05:00
Marius Kintel 197a4e4d36 Merge branch 'master' into value 2012-06-04 11:34:27 +02:00
Marius Kintel 38cb06c3f0 Added test cases for issue #123 2012-06-04 11:22:09 +02:00
Don Bright 5b366adf8a adding new test images for 'hole' with projection-cut 2012-05-28 12:38:40 -05:00
Don Bright dd2002a816 Tidy up code. Generate proper test png images. Merge branch 'master' into caliston1.
Conflicts:
	src/PolySetCGALEvaluator.cc
2012-05-28 11:48:46 -05:00
Marius Kintel 8766b955ec Updated matrix and vector multiplication tests 2012-03-31 23:22:33 +02:00
Marius Kintel 99cec78159 Revert "expected file for updated projection-tests"
This reverts commit 3cd36f972e.
2012-03-27 23:40:55 +02:00
Marius Kintel c5703b4407 bugfix: Fix crash bug when using zero scale factors. Reported by Alan Cox 2012-02-19 13:09:02 +01:00
Andrew Plumb de1deb113f Added better example023 with test output. 2012-02-18 21:22:31 -05:00
Marius Kintel 4f8c89ecf0 Merge branch 'search_function' of https://github.com/clothbot/openscad into clothbot-search_function 2012-02-18 12:51:51 +01:00
Marius Kintel 4b54876b7a Merge branch 'master' into modulecache 2012-02-17 23:08:29 +01:00
Andrew Plumb 32a408f594 Test using search() and MCAD/fonts.scad
A more comprehensive test that exercises the search function and
MCAD/fonts.scad approach to text rendering together.
2012-02-15 00:10:36 -05:00
Andrew Plumb 505e808067 Added search function
Search for characters, strings and integers in a lookup table and
return the index (or indices) for matches.
2012-02-14 23:04:40 -05:00
Andrew Plumb 5d6a259a8b Added vector math support.
Added vector dot-product, matrix*vec, vec*matrix and matrix*matrix
support.
2012-02-14 21:22:48 -05:00
Marius Kintel 3cd36f972e expected file for updated projection-tests 2012-02-15 01:32:37 +01:00
Marius Kintel cf3102f4fb expected file for updated projection-tests 2012-02-04 02:51:00 +01:00
Marius Kintel 1ce1b88249 bugfix: Nested use and included of files inside libraries was broken. Fixes #78 2012-02-02 23:11:54 +01:00
Marius Kintel e541df8bb5 Added test case for recently fixed csg normalization bugfix 2012-01-29 19:02:19 +01:00
Marius Kintel eff1f7f8c9 Ported printutils away from Qt 2012-01-25 03:11:12 +01:00
Marius Kintel 10701f7158 Added absolute path tests to include and use tests, fixed bug using absolute paths in use and include 2012-01-14 03:25:09 +01:00
Marius Kintel ad338d3e46 Another try at fixing double-to-text conversion for testing 2012-01-09 01:44:01 +01:00
Marius Kintel d3c9654ed5 Merge branch 'inftest' of https://github.com/brad/openscad into brad-inftest 2012-01-09 00:22:38 +01:00
Brad Pitcher 28f5f7a910 added tests passing infinity to various functions 2012-01-08 11:40:04 -08:00
Marius Kintel fdce8d15fc Merge branch 'master' into boost_filesystem
Conflicts:
	boost.pri
	src/lexer.l
	tests/CMakeLists.txt
2012-01-04 23:07:32 +01:00
Marius Kintel 9f16204889 Added expected files for use-tests 2012-01-03 20:47:09 +01:00
Marius Kintel 6b5c103d57 Merge branch 'master' into color-priority 2011-12-28 18:16:17 +01:00
Marius Kintel 732803039d Slightly modified example008 to reduce z-buffer fighting in throwntogether mode 2011-12-28 18:15:47 +01:00
Marius Kintel e8b8c45bad Merge branch 'master' into color-priority 2011-12-28 18:06:32 +01:00
Marius Kintel c6004a5c27 Updated intersection-tests to avoid hard-to-compare OpenGL z-buffer fighting 2011-12-28 18:05:14 +01:00
Marius Kintel 22072c1c21 Merge branch 'master' into color-priority 2011-12-28 17:57:27 +01:00
Marius Kintel db7b829089 Updated intersection-tests to avoid hard-to-compare OpenGL z-buffer fighting 2011-12-28 17:53:57 +01:00
Marius Kintel c1c54b3314 Updated expected files due to recently introduced bounding box changes 2011-12-28 13:35:54 +01:00
Marius Kintel 00a0ec6419 Updated expected files due to recently introduced bounding box changes 2011-12-27 16:04:16 +01:00
Marius Kintel bac92dbd0e Merge branch 'master' into color-priority 2011-12-27 14:46:10 +01:00
Marius Kintel 4f950c3538 Added test for hexagonal cylinder orientation, aka. captured nuts 2011-12-26 17:18:56 +01:00
Marius Kintel e502fab71d Merge branch 'master' into color-priority
Conflicts:
	openscad.pro
2011-12-26 16:37:45 +01:00
Marius Kintel cbabbaed70 Merge branch 'master' into boost_filesystem
Conflicts:
	openscad.pro
	src/module.h
2011-12-26 16:37:00 +01:00
Marius Kintel d91021746a Added test case for nan occuring in exported STL files 2011-12-26 13:21:29 +01:00
Marius Kintel c4bffdaf37 Color overriding now works. The outermost color will win if multiple colors are specified for the same object 2011-12-26 00:38:03 +01:00
Marius Kintel 5db9bfc2ff Added test case for color override 2011-12-25 17:16:29 +01:00
Marius Kintel dc4bc15925 Ported binary STL file reader away from Qt 2011-12-23 22:01:19 +01:00
Marius Kintel 9fa18d5392 Fixed CSG regression reported by Ed Nisley; bounding boxes are now transformed correctly 2011-12-23 14:33:40 +01:00
Marius Kintel 03a2da9f4a Test case for recent CSG regression reported by Ed Nisley 2011-12-23 14:12:35 +01:00
Marius Kintel 9c4efafc6e Update test case: Since we're now pruning the normalized tree, subtracted objects which don't touch won't be visible in thrown together mode. Use debug operators in such cases 2011-12-22 04:16:38 +01:00
Marius Kintel 5b1556e6ca Updated expected file for surface(center=true) bugfix 2011-12-21 20:44:36 +01:00
Marius Kintel 95c952c5fa Updated expected file for new sphere evaluation 2011-12-21 20:44:19 +01:00
Marius Kintel 16f644872f Added 2D render() test 2011-12-21 18:03:58 +01:00
Marius Kintel 0e59b194ab Expected files for surface-simple 2011-12-21 17:41:30 +01:00
Marius Kintel 1d2c59184c Changed the default value of to 2 to avoid breaking existing scripts which assume a certain default tesselation behavior 2011-12-19 16:55:01 +01:00
Marius Kintel 3f6a2f0fbb Improved sphere tesselation for low resolution spheres 2011-12-13 01:24:53 +01:00
Marius Kintel 9ed8d9a673 Some small refactoring of color handling to support using the color() module to change only alpha 2011-12-11 23:45:14 +01:00
Marius Kintel 679b8d05c8 bugfix: 2D hull() now works with for loops. Thanks to nophead to reasserting this bug. 2011-12-07 05:21:11 +01:00
Marius Kintel ad0f9f59c9 bugfix: Using the % modifier caused the cache to return an empty object even after removing the % 2011-11-29 00:18:43 +01:00
Marius Kintel 04c340b35d expected files for example tests 2011-11-27 02:47:58 +01:00
Marius Kintel a159135e97 Modified test to not cause z buffer fighting 2011-11-27 02:40:49 +01:00
Marius Kintel 46ce786edc Updated tests after recent deprecation fixes of examples 2011-11-26 23:39:49 +01:00
Marius Kintel 70e0b93c1d Updated polygon test with double-specification of start vertex 2011-11-25 01:00:52 +01:00
Marius Kintel 3a5c43cc3c Another try for Windows test compatibility; no backslashes in filenames 2011-11-24 23:13:12 +01:00
Marius Kintel 42d7099089 Attempt to batte floating point rounding differences for testing purposes 2011-11-24 23:10:46 +01:00
Marius Kintel e0b5f3f33d Output relative filenames in warnings for echotest to give similar results across machines 2011-11-23 16:55:03 +01:00
Marius Kintel 60d7e80c48 Modified escape-test to avoid issues with Windows drive letters 2011-11-23 16:49:09 +01:00
Marius Kintel 73092dd4c8 Added support for 3D object in the hull() module 2011-11-23 16:11:48 +01:00
Brad Pitcher af2d4223df string indexing tests 2011-11-13 12:15:28 -08:00
Marius Kintel 9c14544a92 Hooked up function tests 2011-11-12 20:53:12 +01:00
Marius Kintel 8fd4c47835 Reorganized some tests 2011-11-12 20:46:00 +01:00
Marius Kintel e65ea2d651 Only quote strings when using the stream operator. Fixes #35 2011-11-09 18:38:52 +01:00
Marius Kintel 5a97bff909 Bugfix: Attach a stencil buffer to the FBO, fixes some OpenCSG rendering bugs 2011-11-08 05:12:28 +01:00
Marius Kintel 53da8926c3 Modified render-tests to trigger an OpenCSG rendering bug 2011-11-08 03:32:33 +01:00
Marius Kintel 5e6cd31bed wops, wrong test name. fixes echotest_string-test error 2011-11-07 05:36:17 +01:00
Marius Kintel 578b68daa8 Updated broken test with correct output 2011-11-07 04:01:16 +01:00
Marius Kintel 7bec474b34 Added escape-test 2011-11-07 03:51:43 +01:00
Marius Kintel 6b21134f15 Don't dump timestamp of included files, this wasn't really used anywhere 2011-11-07 02:41:19 +01:00
Marius Kintel aa94d42d2c Don't dump timestamp of included files, this wasn't really used anywhere 2011-11-07 02:37:44 +01:00
Marius Kintel e38928aa9b Updated test with new dumptest behavior for outputting relative filenames 2011-11-07 01:45:43 +01:00
Marius Kintel a221eeee99 Added expected files for new test, updated files for recently fixed issues 2011-11-06 04:25:55 +01:00
Marius Kintel 14b806c9c0 Added builtin-tests 2011-11-05 17:06:13 +01:00
Marius Kintel 5ff79c6393 Added parser-tests 2011-11-05 16:21:47 +01:00
Marius Kintel 2b49795442 Added example001 as an initial roundtrip test known to fail 2011-11-03 19:50:56 +01:00
Marius Kintel 5b0db2e793 Updated tests with latest toString() bugfix 2011-11-03 19:48:29 +01:00
Marius Kintel a8ee02ebf5 Added test for rotation of open polyline 2011-10-30 13:49:28 +01:00
Marius Kintel 5c590dc26b Updated test case with recent linear_extrude improvement 2011-10-27 15:27:38 +02:00
Marius Kintel cb4986ec5d Merge branch 'master' into visitortests 2011-10-27 15:16:03 +02:00
Marius Kintel 7c606d36b0 Improved quality of linear_extrude with twist by forcing all quads to be tessellated the same direction 2011-10-27 15:15:04 +02:00
Marius Kintel 43839582e9 Merged 2011-10-16 17:50:33 +02:00
notroot 6251fc3268 +throwntogethertest expected images, made by Mesa software renderer in VMware 2011-10-10 13:40:37 +00:00
Marius Kintel 25edffcff4 Added echotest and echo test cases 2011-10-08 14:53:47 +02:00
Marius Kintel 85948590ee Added euler angle rotate test 2011-10-04 03:40:54 +02:00
Marius Kintel afc0f1e949 Added euler angle rotate test 2011-10-04 03:32:08 +02:00
Marius Kintel 2601d468e3 Added dxf test cases 2011-10-01 00:43:38 +02:00
Marius Kintel e5c242adb7 Moved transform-insert test from minimal to dxf 2011-09-30 19:03:10 +02:00
Marius Kintel f3b3eaac68 Added polyhedron-tests 2011-09-30 03:25:42 +02:00
Marius Kintel e7001dd459 Reverted intersection with inside-out polyhedron - test belongs in the polyehdron test 2011-09-30 03:24:49 +02:00
Marius Kintel 2262afa92b Added test case for polyhedron intersection bug reported by Dan Zuras 2011-09-29 12:51:29 +02:00
Marius Kintel dd45e625ed added expected file for highlight-and-background-modifier test 2011-09-28 22:33:36 +02:00
Marius Kintel fcb0145cb8 Added expected files for include-tests 2011-09-28 22:29:58 +02:00
Marius Kintel ccb6af2816 Don't output deprecated parameters if they're not specified 2011-09-12 03:46:13 +02:00
Marius Kintel cbba974d3a Initial attempt of cleaning up polyset handling. PolySet no longer keeps a refcount, basic cache mechanism is in place, instantiating polysets are controlled through PolySetEvaluator 2011-09-09 05:53:05 +02:00
Marius Kintel a18dd3961d Added ifelse-tests 2011-09-08 08:52:31 +02:00
Marius Kintel 5ce3d4ff8d Added child-tests 2011-09-08 08:21:53 +02:00
Marius Kintel 233521a11d Added assign-tests 2011-09-07 22:56:39 +02:00
Marius Kintel e9068e5adf Updated tests to reflect recently changed import behavior 2011-09-07 22:27:29 +02:00
Marius Kintel 226e36a75f Adapted to latest import() changes 2011-09-07 02:32:37 +02:00
Marius Kintel a4ba8d44a4 Modified test cases with new import() behavior 2011-09-07 01:12:53 +02:00
Marius Kintel a93e644980 Added hull tests 2011-09-06 22:01:42 +02:00
Marius Kintel 7d1ea6240d Added projection-tests 2011-09-06 20:36:45 +02:00
Marius Kintel 98b0c637a8 OpenCSG version of render-tests now also works 2011-09-06 18:32:32 +02:00
Marius Kintel 15542c374d Added render-tests 2011-09-06 18:28:01 +02:00
Marius Kintel fdd96a177c Added minkowski and 2d-3d tests 2011-09-06 14:56:04 +02:00
Marius Kintel 23af865389 Added transform-tests 2011-09-05 18:20:43 +02:00
Marius Kintel 06001a4665 Added surface-tests 2011-09-05 18:00:20 +02:00
Marius Kintel ae24edb790 Added intersection_for-tests 2011-09-05 17:55:17 +02:00
Marius Kintel a63612e57b Added rotate_extrude-tests 2011-09-05 17:15:56 +02:00
Marius Kintel d5fefdf37c Added linear_extrude-tests 2011-09-05 17:03:39 +02:00
Marius Kintel ff75302002 Added for-nested-tests 2011-09-05 16:38:50 +02:00
Marius Kintel d6947ce5c7 Updated for-tests after discovering a few bugs 2011-09-05 16:37:07 +02:00
Marius Kintel b93c5c50ca Added for-tests 2011-09-05 00:04:12 +02:00
Marius Kintel 723c6b7cf2 bugfix: root modifier now works with test apps 2011-09-04 18:53:09 +02:00
Marius Kintel bdd7c1f583 Added modifier tests. root modifier is still not working for cmd-line tools 2011-09-04 18:25:17 +02:00
Marius Kintel 2af8a70b71 Activated opencsgtest 2011-09-04 02:53:30 +02:00
Marius Kintel 946605234c Added import_dxf-tests 2011-09-03 22:42:48 +02:00
Marius Kintel 90e96a34ac Added polygon-tests 2011-09-03 19:57:24 +02:00
Marius Kintel 7adf625ecc Added allfunctions 2011-09-03 19:32:55 +02:00
Marius Kintel 34e4213c33 default color somehow got messed up - fixed now 2011-09-03 19:18:26 +02:00
Marius Kintel f31d7b7596 Updated color node to latest version 2011-09-02 23:54:56 +02:00
Marius Kintel 34e22b1bde Updated color output to updated code 2011-09-02 23:40:17 +02:00
Marius Kintel 21c5d879ff Added expected files for csgtermtest 2011-09-02 23:39:39 +02:00
Marius Kintel 287c20d2ff Added color-tests 2011-09-02 23:33:18 +02:00
Marius Kintel a1e452472a Added intersection-tests 2011-09-02 14:46:45 +02:00
Marius Kintel a20c08b8ce Added difference-tests 2011-09-02 14:38:27 +02:00
Marius Kintel 8e0651afd4 Added union-tests 2011-09-02 14:31:56 +02:00
Marius Kintel f7bc79f349 Added cube-tests 2011-09-02 02:40:29 +02:00
Marius Kintel 6759d80cf4 Added cylinder-tests 2011-09-02 02:34:42 +02:00
Marius Kintel b066705716 added expected files 2011-09-02 01:50:30 +02:00
Marius Kintel 9e64453206 Added circle-tests 2011-08-30 19:14:35 +02:00
Marius Kintel 573a78c3c3 Added square-tests 2011-08-30 05:06:46 +02:00
Marius Kintel 7c391a24c1 Updated camera settings 2011-08-30 05:03:35 +02:00
Marius Kintel be63c6eeac Added modifier test cases for OpenCSG 2011-08-06 01:14:08 +02:00
Marius Kintel b9608dd2f8 Implemented rudimentary image compare for OpenCSG regression tests 2011-08-05 03:48:35 +02:00
Marius Kintel c0c56a0c30 Added hull() test 2011-08-04 18:26:04 +02:00
Marius Kintel 76263f3a8f Updated cache to new location 2011-08-04 17:01:49 +02:00
Marius Kintel c8d38858cb Moved dev binaries 2011-07-11 01:55:16 +02:00
Marius Kintel 75c06de2db expected file for include-test 2011-05-01 00:04:10 -04:00
Marius Kintel 1a9e3e7ca5 dxf-export expected file 2011-04-29 20:11:09 -04:00
Marius Kintel 40cf4dab4c expected file for hull-tests 2011-04-29 12:04:55 -04:00
Marius Kintel ffc2af4996 expected file for minkowski-tests 2011-04-29 12:02:33 -04:00
Marius Kintel 61ff6591ed Added expected files for hull and string-test 2011-04-29 11:55:36 -04:00
Marius Kintel 305558970a Added hull() 2011-04-29 11:17:48 -04:00
Marius Kintel 41b15c04c0 intersection_for now dumps correctly 2010-10-31 02:42:38 +02:00
Marius Kintel d0390c41a2 Added AbstractNode::name(), changed CSGTextRenderer to use this instead of the rtti name 2010-10-31 02:42:38 +02:00
Marius Kintel 22b74585d8 Moved regression tests to tests directory 2010-10-31 02:42:38 +02:00