Marius Kintel
8766b955ec
Updated matrix and vector multiplication tests
2012-03-31 23:22:33 +02: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
cb363df358
Added test case and source code comments related to issue #80
2012-02-03 23:05:42 +01:00
Marius Kintel
456a87efcc
Use teardrop instead of roundedBox - renders better ( #78 )
2012-02-02 23:02:43 +01:00
Marius Kintel
f7c2d467f0
Test cases for #78
2012-02-02 22:55:52 +01:00
Marius Kintel
e541df8bb5
Added test case for recently fixed csg normalization bugfix
2012-01-29 19:02:19 +01:00
Marius Kintel
e5ca86f408
Added forgotten file - gitignore had shadowed it
2012-01-25 21:39:43 +01:00
Marius Kintel
b6714d4b3c
Clarify when CGAL issue was resolved
2012-01-15 18:52:33 +01:00
Marius Kintel
fd5e28713b
More info. case closed
2012-01-14 17:55:07 +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
3c18145b13
Merge branch 'master' into boost_filesystem
2012-01-08 19:14:30 +01:00
Marius Kintel
e20a7c261a
Added test model causing a minkowski assert with a subsequent corrupt polyhedron
2012-01-08 13:27:31 +01: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
fac508c8cd
Added use-tests, minimal change to include-tests
2012-01-03 20:34:31 +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
9e6cc9cebb
Added test for hexagonal cylinder orientation, aka. captured nuts
2011-12-26 17:19:10 +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
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
03a2da9f4a
Test case for recent CSG regression reported by Ed Nisley
2011-12-23 14:12:35 +01:00
Marius Kintel
16f644872f
Added 2D render() test
2011-12-21 18:03:58 +01:00
Marius Kintel
f707466580
simple surface test
2011-12-21 17:15:38 +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
c2f29733b5
Modified test to not cause z buffer fighting
2011-11-27 02:47:15 +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
2d98fb91ce
Added stl import bug
2011-11-23 23:04:49 +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
170c506ab7
Merge branch 'length-function'
2011-11-12 20:47:51 +01:00
Marius Kintel
8fd4c47835
Reorganized some tests
2011-11-12 20:46:00 +01:00
Giles Bathgate
acf4c1262b
Added a len() function
...
This returns the number of elements in a vector, and the length of
a string. Added a basic test script that can be checked for echo
output.
2011-11-12 19:42:27 +00:00
Marius Kintel
e65ea2d651
Only quote strings when using the stream operator. Fixes #35
2011-11-09 18:38:52 +01:00
Marius Kintel
53da8926c3
Modified render-tests to trigger an OpenCSG rendering bug
2011-11-08 03:32:33 +01:00
Marius Kintel
7bec474b34
Added escape-test
2011-11-07 03:51:43 +01:00
Marius Kintel
f4bd15912a
Last CGAL assert fix wasn't enough; expanded the fix to all operators
2011-11-05 18:25:05 +01:00
Marius Kintel
4120846d18
Catch a CGAL assert caused by a subtraction resulting in non-manifold geometry. see testdata/scad/bugs/rotate-diff-nonmanifold-crash.scad
2011-11-05 18:07:56 +01:00
Marius Kintel
14b806c9c0
Added builtin-tests
2011-11-05 17:06:13 +01:00
Marius Kintel
04bc3ed890
Added support for parsing numbers in scientific notation, e.g. to allow roundtripping of written csg files as well as parsing of externally generated scad files
2011-11-05 16:22:48 +01:00
Marius Kintel
a8ee02ebf5
Added test for rotation of open polyline
2011-10-30 13:49:28 +01:00
Marius Kintel
741239402c
import_dxf -> import
2011-10-30 13:10:51 +01:00
Marius Kintel
25edffcff4
Added echotest and echo test cases
2011-10-08 14:53:47 +02:00
Marius Kintel
afc0f1e949
Added euler angle rotate test
2011-10-04 03:32:08 +02:00
Marius Kintel
ea67faa9d6
FIXME: Add scale() tests
2011-10-04 03:03:25 +02:00
Marius Kintel
2f239205a8
Redefined version() to return the version as a vector. Added version_num() to return a comparable number
2011-10-04 00:09:04 +02:00
Marius Kintel
2601d468e3
Added dxf test cases
2011-10-01 00:43:38 +02:00
Marius Kintel
8311652819
Use new form of import()
2011-10-01 00:42:29 +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
e22f92c407
Added version() to function tests
2011-09-30 02:49:00 +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
2779e7dea9
added highlight-and-background-modifier and child-background tests
2011-09-28 22:35:42 +02:00
Marius Kintel
b68c63e3bd
Added horn torus example known to cause a CGAL assertion
2011-09-12 03:07:02 +02:00
Marius Kintel
a23edb4adc
Catch CGAL assert on certain minkowski operations
2011-09-08 09:24:10 +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
fab0f891b7
Updated the include tests to provide geometry
2011-09-08 02:31:27 +02:00
Marius Kintel
233521a11d
Added assign-tests
2011-09-07 22:56:39 +02:00
Marius Kintel
a4ba8d44a4
Modified test cases with new import() behavior
2011-09-07 01:12:53 +02:00
Marius Kintel
23e153f512
Added some corner cases
2011-09-07 00:48:57 +02:00
Marius Kintel
a93e644980
Added hull tests
2011-09-06 22:01:42 +02:00
Marius Kintel
15542c374d
Added render-tests
2011-09-06 18:28:01 +02:00
Marius Kintel
1cf876734f
Crash bug by Brad Pitcher
2011-09-06 15:49:11 +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
a75d95b8de
Slightly modified to yield better test coverage
2011-09-05 17:03:25 +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
bdd7c1f583
Added modifier tests. root modifier is still not working for cmd-line tools
2011-09-04 18:25:17 +02:00
Marius Kintel
83233b035f
Added note about 2D union bug
2011-09-03 22:57:58 +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
aeceee2208
Moved testcolornames to features
2011-09-03 01:53:36 +02:00
Marius Kintel
4afdde51f4
Added test for named color without alpha
2011-09-03 01:50:29 +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
29cfbe6f62
improved sphere test
2011-09-02 01:49:22 +02:00
Marius Kintel
0f2ce4ca75
center parameter is not defined for circle
2011-09-02 01:49:05 +02:00
Marius Kintel
9e64453206
Added circle-tests
2011-08-30 19:14:35 +02:00
Marius Kintel
22a2583c70
test cases
2011-08-30 05:01:04 +02:00
Marius Kintel
21ac6c05d1
merged in recent changes in master
2011-07-11 03:54:20 +02:00
Don Bright
5f8021e3e6
Allow the color() command to use names as well as numbers.
...
With fix for a bug where alpha of 0.0 was mishandled applied.
2011-07-04 22:22:43 +01:00
Marius Kintel
ab52524936
Non-affine matrix issue reported by Len Trigg
2011-05-19 11:47:24 +02:00
Marius Kintel
50e59e94e2
Reorganized regression test folders
2011-05-01 00:40:57 -04:00
Marius Kintel
f3fd261296
Added null-tests for hull and minkowski
2011-04-29 11:18:34 -04:00
Marius Kintel
97a57a363f
Renamed to follow test naming scheme
2011-04-29 11:18:10 -04:00
Marius Kintel
f13c1c6343
Added hull()
2011-04-28 17:49:38 -04:00
Marius Kintel
c66f8c7b35
Merge branch 'master' into visitor
2011-04-28 17:37:07 -04:00
Marius Kintel
9ca6f0dedf
minkowski() and hull() tests from Len
2011-04-28 17:35:28 -04:00
Marius Kintel
d24b3cc84d
Ported recent changes to master into the visitor branch
2011-04-12 20:35:44 +02:00
Giles Bathgate
cdc4574a9c
Updated test, you no longer need to union the ojects passed to hull.
2011-04-10 10:10:42 +01:00
Giles Bathgate
5d5c745fde
Slight improvement. You no longer need an arbitary shape in the script for it to work.
...
See changes in testdata/scad/convex_hull.scad The square(2) was never
rendered it was just there because the hull is calculated when it
itterates onto the second child. I also removed the unneeded parameter.
2011-04-09 17:53:19 +01:00
Giles Bathgate
5ef540054c
Added test script for convex hull.
2011-04-09 17:52:12 +01:00
Marius Kintel
22135401c1
some 2d export tests
2010-12-26 00:14:42 +01:00
Marius Kintel
d0d266b83e
merged with master
2010-12-26 00:12:34 +01:00
Giles Bathgate
052f8bc620
Fix for when the included file doesn't exist. Needed because we will never get an EOF, and so never pop the stack.
2010-12-11 12:41:23 +00:00
Giles Bathgate
03c02cde89
A basic test for the escape sequences in strings.
2010-12-10 18:31:33 +00:00
Giles Bathgate
44dd33a556
Added some tests for new nested include feature.
2010-12-10 11:46:09 +00:00
Marius Kintel
22b74585d8
Moved regression tests to tests directory
2010-10-31 02:42:38 +02:00
Marius Kintel
30d6f20048
Updated expected files with correct timestamps
2010-10-31 02:42:36 +02:00
Marius Kintel
22466ac2db
Expected files for csgtext test
2010-10-31 02:42:36 +02:00
Marius Kintel
f61ae3f515
Added expected test results for dumptest
2010-10-31 02:42:36 +02:00
kintel
0aee909469
Added crash testcase for crash reported by Dan Zuras
...
git-svn-id: http://svn.clifford.at/openscad/trunk@559 b57f626f-c46c-0410-a088-ec61d464b74c
2010-06-15 22:46:12 +00:00
kintel
be11bdcd2b
bugfix: dir not needed anymore
...
git-svn-id: http://svn.clifford.at/openscad/trunk@517 b57f626f-c46c-0410-a088-ec61d464b74c
2010-04-12 00:27:08 +00:00
kintel
fe73876828
removed duplicate which appeared during reorg
...
git-svn-id: http://svn.clifford.at/openscad/trunk@498 b57f626f-c46c-0410-a088-ec61d464b74c
2010-03-31 00:45:55 +00:00
kintel
3db725a295
added more tests
...
git-svn-id: http://svn.clifford.at/openscad/trunk@497 b57f626f-c46c-0410-a088-ec61d464b74c
2010-03-31 00:45:53 +00:00
kintel
42608f4393
More test models
...
git-svn-id: http://svn.clifford.at/openscad/trunk@496 b57f626f-c46c-0410-a088-ec61d464b74c
2010-03-31 00:45:48 +00:00
kintel
71c33d48e0
Minimal tests for all modules
...
git-svn-id: http://svn.clifford.at/openscad/trunk@495 b57f626f-c46c-0410-a088-ec61d464b74c
2010-03-31 00:45:42 +00:00
kintel
cca148f5c9
Reorganized the testdata dir
...
git-svn-id: http://svn.clifford.at/openscad/trunk@494 b57f626f-c46c-0410-a088-ec61d464b74c
2010-03-31 00:45:23 +00:00
kintel
3ba0ab30e6
Don't crash on illegal polygon winding - write an error and skip the object
...
git-svn-id: http://svn.clifford.at/openscad/trunk@488 b57f626f-c46c-0410-a088-ec61d464b74c
2010-03-23 23:06:38 +00:00
kintel
0098c3e8a8
Bug reported by Laszlo Krekacs
...
git-svn-id: http://svn.clifford.at/openscad/trunk@373 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-30 13:21:31 +00:00
kintel
6515b74004
mesh example
...
git-svn-id: http://svn.clifford.at/openscad/trunk@362 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-29 17:50:14 +00:00
kintel
143e8c4a5a
typical modeling error
...
git-svn-id: http://svn.clifford.at/openscad/trunk@350 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-25 00:28:20 +00:00
kintel
3542c19992
bugfix: INSERT with transformation didn't work
...
git-svn-id: http://svn.clifford.at/openscad/trunk@329 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-21 14:53:49 +00:00
kintel
135370d418
Added support for aligned, ordinate, radius and diameter DIMENSION entities
...
git-svn-id: http://svn.clifford.at/openscad/trunk@326 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-21 11:25:46 +00:00
kintel
b14a797719
two disjoint polygons
...
git-svn-id: http://svn.clifford.at/openscad/trunk@291 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-14 11:05:09 +00:00
kintel
37c73706d9
two circles on top of each other
...
git-svn-id: http://svn.clifford.at/openscad/trunk@290 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-14 10:53:06 +00:00
kintel
49162a7d6b
remove the double circle -> separate testcase
...
git-svn-id: http://svn.clifford.at/openscad/trunk@289 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-14 10:50:36 +00:00
kintel
7d62c9b204
Tesselation test models
...
git-svn-id: http://svn.clifford.at/openscad/trunk@288 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-14 10:45:27 +00:00
kintel
5a78493d23
Woops, wrong file
...
git-svn-id: http://svn.clifford.at/openscad/trunk@268 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-12 20:34:44 +00:00
kintel
2e76ebb94e
Problematic polygon
...
git-svn-id: http://svn.clifford.at/openscad/trunk@267 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-12 20:20:25 +00:00
kintel
c76bd6a8d4
Added support for LWPOLYLINE entities
...
git-svn-id: http://svn.clifford.at/openscad/trunk@254 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-09 21:58:28 +00:00
kintel
a93e4fd53d
DXF test cases
...
git-svn-id: http://svn.clifford.at/openscad/trunk@248 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-09 15:50:45 +00:00