Commit Graph

192 Commits (6b66e9f0338509747ba4bf12438ff9f1ce0873e9)

Author SHA1 Message Date
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