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
Torsten Paul
6e04d33898
Update test cases.
2014-05-04 00:26:02 +02:00
Marius Kintel
2cba2a1b55
Merge branch 'master' into text-module
...
Conflicts:
scripts/macosx-build-homebrew.sh
scripts/mingw-x-build-dependencies.sh
scripts/uni-build-dependencies.sh
scripts/uni-get-dependencies.sh
src/GeometryEvaluator.h
src/MainWindow.ui
src/clipper-utils.h
src/mainwin.cc
tests/CMakeLists.txt
2014-04-26 22:08:31 -04:00
Oskar Linde
90e8f70da2
Add regression tests for comparison with NaN
2014-04-08 15:36:12 +02:00
Don Bright
49d545285c
test for crash on 'undef' args to polyhedron(), issue #703
2014-04-02 17:42:49 -05:00
Torsten Paul
71f6abda24
Rename join_type "square" to the more commonly used "bevel".
2014-03-30 23:51:08 +02:00
Torsten Paul
5d8507f725
Add test cases for offset().
2014-03-30 23:51:04 +02:00
Marius Kintel
278d5f18e3
Merge pull request #729 from openscad/surface-image
...
Add png support for surface() module (fixes #721 ).
2014-03-30 18:47:30 +02:00
Torsten Paul
6d892a4742
Add png support for surface() module ( fixes #721 ).
2014-03-29 23:22:27 +01:00
Marius Kintel
19de4c9d15
Merge branch 'master' into unstable
2014-03-10 10:42:53 -04:00
Marius Kintel
21c8d2fc98
typo
2014-03-09 15:04:07 -04:00
Marius Kintel
ad452c5322
testing note
2014-03-09 13:12:40 -04:00
Marius Kintel
bab951b344
Merge branch 'master' into unstable
...
Conflicts:
src/CGALEvaluator.cc
src/MainWindow.h
src/MainWindow.ui
src/import.cc
src/mainwin.cc
src/winconsole.c
tests/CMakeLists.txt
2014-02-23 15:49:26 -05:00
Marius Kintel
3e6f659990
Added failing test for #666
2014-02-20 01:04:04 -05:00
Don Bright
d4b0a3ae50
Merge branch 'master' of github.com:openscad/openscad into issue235
2014-02-19 05:27:03 -06:00
Marius Kintel
1aed4cfa47
Updated test to use children() instead of the deprecated child()
2014-02-17 22:19:31 -05:00
Don Bright
7b7a76a364
Merge branch 'master' of github.com:openscad/openscad into issue235
2014-02-17 20:34:53 -06:00
Marius Kintel
36cd62db80
Simple test of -D cmd-line parameter
2014-02-17 21:04:37 -05:00
Don Bright
6326aab677
fix issue #235
2014-02-17 14:19:12 -06:00
Torsten Paul
12b115e4b0
Add cross() function to calculate vector cross product.
2014-02-16 23:04:48 +01:00
Torsten Paul
990e2a472b
Add test cases for norm().
2014-02-16 22:47:55 +01:00
Steve Kelly
e5d703bee3
Implement norm() function to find the length of a vector.
2014-02-16 22:11:47 +01:00
Marius Kintel
dbaf1776d8
More comments to clarify #495
2014-02-11 01:33:06 -05:00
Marius Kintel
57ac24013e
Added testcase for #112
2014-02-11 01:04:49 -05:00
Marius Kintel
ec52c4e713
Added test for issue exporting volume with a cavity - #495
2014-02-11 01:04:27 -05:00
Marius Kintel
e4daa42cf6
Added test for #181
2014-02-10 02:18:50 -05:00
Marius Kintel
3ce44e92a4
cosmetics
2014-02-10 02:18:07 -05:00
Marius Kintel
65aeb0ad19
Added test for #535
2014-02-09 16:26:43 -05:00
Marius Kintel
92017ded7a
Merge pull request #637 from OskarLinde/projection_bug
...
Projection bug
2014-02-05 23:42:31 -05:00
Oskar Linde
013d2722da
Test: verify winding order of holes with projection(cut=true)
2014-02-05 14:08:22 +01:00
Torsten Paul
6c84515275
Add positional parameters for text().
...
Positional parameters are t, size, font.
Example: text("OpenSCAD", 30, "Liberation Mono");
2014-02-04 19:10:16 +01:00
Marius Kintel
85fae69ca6
Pass --enable=text to text tests
2014-02-02 19:49:45 -05:00
Torsten Paul
1c2cb2dde9
Move main text test cases to the heavy set and introduce a simple test.
2014-02-02 18:01:08 -05:00
Torsten Paul
afca09729a
Add test cases for text alignment and text direction.
2014-02-02 18:00:45 -05:00
Torsten Paul
a994d4b750
Add first set of test cases for text().
2014-02-02 18:00:44 -05:00
Marius Kintel
cf7c24232e
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-02-02 01:01:20 -05:00
Marius Kintel
c59fa49693
Merge pull request #611 from OskarLinde/minkowski2_bug
...
Minkowski2 bug
2014-02-01 18:48:54 -08:00
Marius Kintel
56a2d0fff6
Merge branch 'unstable' of github.com:openscad/openscad into unstable
2014-02-01 17:55:17 -05:00
Marius Kintel
072c3a3059
Simplified and renamed test related to #612
2014-02-01 17:53:47 -05:00
Marius Kintel
fa398e1501
Merge branch 'master' into unstable
2014-02-01 14:14:02 -05:00
Oskar Linde
37aa801c46
Add some additional minkowski2d test cases
2014-02-01 16:17:56 +01:00
Oskar Linde
9a66954003
Add a testcase for a bug with self-intersecting polygon outline
2014-02-01 16:14:59 +01:00
Tim V. Shaporev
111a935540
fixup 593 revised
2014-01-29 12:11:38 +04:00
Oskar Linde
b05eb736a0
Regression test for 2D intersection() operation
2014-01-27 16:21:44 +01:00
Tim V. Shaporev
b3a946bd92
fixup issue 593
2014-01-25 18:43:33 +04:00
Marius Kintel
33ab1fd9e4
Merge branch 'master' into unstable
...
Conflicts:
tests/regression/throwntogethertest/difference-tests-expected.png
2014-01-24 18:18:20 -05:00
Torsten Paul
1212e2ba7c
Handle NaN / +Inf / -Inf in range evaluation ( fixes #606 ).
2014-01-24 20:52:04 +01:00
Marius Kintel
8a5c8e35ce
Merge branch 'master' into issue527
2014-01-19 12:18:32 -05:00
Marius Kintel
556040439e
Added test of minkowski2 with >2 children
2014-01-19 12:18:09 -05:00
Marius Kintel
59fca2674a
Merge branch 'master' into issue527
...
Conflicts:
tests/regression/cgalpngtest/minkowski2-tests-expected.png
tests/regression/opencsgtest/minkowski2-tests-expected.png
tests/regression/throwntogethertest/minkowski2-tests-expected.png
2014-01-18 18:31:06 -05:00
Marius Kintel
87231f3134
Added tests for minkowski with only one child
2014-01-18 18:29:35 -05:00
Marius Kintel
e7b62b4088
Merge branch 'master' into issue527
...
Conflicts:
src/CGALEvaluator.cc
2014-01-15 22:34:49 -05:00
Marius Kintel
bf0d9edf38
Change behavior of intersection: intersecting something with an empty object will be empty
2014-01-15 22:23:50 -05:00
Marius Kintel
5c57ed41e7
Added test for empty geometry
2014-01-15 19:24:38 -05:00
Marius Kintel
0f2853895a
Merge branch 'master' into issue527
2014-01-13 23:08:56 -05:00
Marius Kintel
7af6922829
Updated tests to account for modifiers inside AbstractPolyNodes
2014-01-13 23:07:56 -05:00
Marius Kintel
c680540ea2
Merge branch 'master' into issue527
...
Conflicts:
src/primitives.cc
2014-01-13 21:34:51 -05:00
Marius Kintel
34ae2b8f68
Testcase and fix for a problem transforming an empty bbox with very small numbers in a transformation matrix
2014-01-13 20:57:49 -05:00
Marius Kintel
23b04c3a9f
bugfix: division by zero can cause malformed primitives
2014-01-13 20:49:55 -05:00
Marius Kintel
e0e0319ec6
Added and updated tests for minkowski2 with holes
2014-01-12 19:39:20 -05:00
Marius Kintel
b598b1ad01
hull-of-hull bug: bugxi and test for exposing it
2014-01-06 17:48:09 -05:00
Marius Kintel
b11429b1d2
Updated import_stl-tests: Added subtraction from not found file
2014-01-06 17:48:08 -05:00
Marius Kintel
e49bccfa83
test data update
2014-01-06 17:48:08 -05:00
Marius Kintel
0f6e5860e8
minor bugfixes after running tests
2014-01-06 17:48:06 -05:00
Marius Kintel
2726a6853f
Implemented resize
2014-01-06 17:48:06 -05:00
Marius Kintel
28fb4dc4cb
Added testcase for #593
2014-01-05 23:21:49 -05:00
Marius Kintel
0899abeb90
Added testcase for #591
2014-01-05 12:44:53 -05:00
Marius Kintel
bee5233a91
Merge branch 'vector-concat' of git://github.com/t-paul/openscad into t-paul-vector-concat
...
Conflicts:
src/Preferences.ui
2014-01-03 13:17:58 -05:00
Marius Kintel
3d5b844679
Keep cmd-line and GUI separate in terms of preferences, handle experimental tests separately, minor cleanups
2014-01-03 02:31:57 -05:00
Marius Kintel
bda8e6b55b
Added another testcase for #495
2014-01-02 20:57:53 -05:00
Marius Kintel
0044ecde20
Added testcase for #495
2014-01-02 17:07:34 -05:00
Marius Kintel
df731159d4
Removed obsolete tests
2013-12-31 01:20:38 -05:00
Marius Kintel
46a9af8594
Added testcase for #585
2013-12-31 01:20:15 -05:00
Marius Kintel
38b8e6961e
Clarified test cases for #541 and #578
2013-12-30 01:48:46 -05:00
Marius Kintel
69d9dfd29b
Renamed test belonging to #578 , not #541
2013-12-30 01:40:50 -05:00
Marius Kintel
3cb440c624
Removed obsolete tests
2013-12-30 01:23:22 -05:00
Marius Kintel
d5bf74c91c
Added testcase for #584
2013-12-30 01:23:14 -05:00
Marius Kintel
267cb31e79
Removed obsolete tests
2013-12-29 21:17:35 -05:00
Marius Kintel
182625c5de
Added testcase for #578
2013-12-29 21:17:20 -05:00
Marius Kintel
a0fc90b7c9
Removed obsolete tests
2013-12-29 20:17:03 -05:00
Marius Kintel
101d6343c0
Added testcase for #582
2013-12-29 20:16:54 -05:00
Marius Kintel
b47ec73e72
Renamed to issue541
2013-12-29 20:00:40 -05:00
Marius Kintel
9ea82e746c
Added failing test for issue 541
2013-12-29 18:28:06 -05:00
Marius Kintel
b272d1f0de
Added mixed 2D and 3D object for difference tests
2013-12-28 17:11:56 -05:00
Marius Kintel
ce8bf70604
Added 2D difference tests
2013-12-28 16:41:28 -05:00
Marius Kintel
cc3858949e
Updated tests
2013-12-28 14:27:21 -05:00
Marius Kintel
68de0ab680
Updated tests
2013-12-26 18:31:38 -05:00
Marius Kintel
8c02f17bb3
Updated tests
2013-12-26 18:09:19 -05:00
Torsten Paul
6443df394b
Add concat() builtin ( fixes #201 ).
...
This allows to concatenate multiple vectors and single elements into a
single result vector.
2013-12-26 20:02:31 +01:00
Marius Kintel
e64bf96b37
Added mesh test
2013-12-15 20:15:01 -05:00
Marius Kintel
446dc3d36d
Improved non-planar tests
2013-12-15 18:19:05 -05:00
Don Bright
3b3ef44f66
Merge branch 'master' of github.com:openscad/openscad into planar
...
Conflicts:
src/CGAL_Nef_polyhedron.cc
tests/CMakeLists.txt
2013-12-15 15:32:06 -06:00
Marius Kintel
c7cea0082e
Added testcase for concave polygons in polyhedrons
2013-12-15 15:02:32 -05:00
Don Bright
f12237a9c4
add tests for non-planar bug. add docs to .cc code
2013-12-14 21:58:22 -06:00
Marius Kintel
cca80a1559
bugfix: #562 didn't take into account that it's allowed with all X coordinates being negative
2013-12-14 17:44:05 -05:00
Brody Kenrick
d7d5bea736
Add specific tests for unicode len()
2013-12-06 18:33:42 +11:00
Brody Kenrick
0717c67c9f
Unicode support for strings
...
Add suport for using unicode strings in .scad files. Support iterating
across them/accessing them via [] and searching.
--------
Add GLIB (to build for test and normal build -- both with installed and
built locally development files).
Add support for unicode chars to length and search builtin functions and
[] for strings.
Added unicode testing functions.
Ad GLIB to library info page.
2013-12-05 18:28:40 +11:00
Marius Kintel
de2db22b5f
Split projection tests into cut vs. project
2013-11-25 00:27:15 -05:00
Marius Kintel
91c2b8909c
Added test for implicit union of render() children
2013-11-23 22:10:05 -05:00
Marius Kintel
7b526bc27a
Added test for polygon with hole
2013-11-23 20:00:19 -05:00
Marius Kintel
2162aaed64
Split up projection tests to avoid long running times
2013-11-20 01:27:46 -05:00
Torsten Paul
1fcad169e6
Update 'for' test cases to match the new range expression handling.
2013-11-11 01:38:34 +01:00
Torsten Paul
3c0e9f4f18
Update 'children' test case using range [4 : -1 : 0] which is now valid.
2013-11-11 01:38:24 +01:00
Torsten Paul
bcba02fac3
Add test cases for new range expression handling.
2013-11-11 01:31:53 +01:00
Torsten Paul
74082c8cff
Extend circle tests to cover the new diameter parameter.
2013-10-21 19:47:55 +02:00
Torsten Paul
141f43498c
Add cylinder tests to cover the new diameter parameters.
2013-10-21 19:47:55 +02:00
Torsten Paul
6624fc7089
Extend sphere tests to cover the new diameter parameter.
2013-10-21 19:47:48 +02:00
Marius Kintel
e77615be30
Merge branch 'children' of git://github.com/vicnet/openscad into vicnet-children
...
Conflicts:
tests/CMakeLists.txt
2013-10-13 13:19:34 -04:00
Marius Kintel
0f22d6e9ad
Added test case for parent_module()
2013-10-08 23:41:53 -04:00
Vicnet
4401a136b9
add children tests
2013-10-08 15:35:47 +02:00
Don Bright
30fd8b250a
little tweaks, cleanups, tab fixing, eliminating comments
2013-09-12 20:03:27 -05:00
Don Bright
d6a57b8968
fix bug in 2d resize code
2013-09-12 19:44:07 -05:00
Marius Kintel
a7396cc36f
Fixes two problems related to : lookup was dynamic rather than lexical, assignment was done after all local variables causing it not to be copyable
2013-08-21 01:40:21 -04:00
Don Bright
506ed4e693
first step of dealing with issue #455
2013-08-13 21:14:56 -05:00
Don Bright
d2933590c2
fix #452
2013-08-11 09:54:04 -05:00
Marius Kintel
d9b3f7b52b
Test case for #399
2013-06-25 23:17:51 -04:00
Marius Kintel
a3cd019494
Removed a bunch of less useful tests
2013-06-23 01:56:04 -04:00
Marius Kintel
3f936099fa
Clamp linear_extrude height to 0. Fixes #405
2013-06-15 12:48:09 -04:00
Marius Kintel
b45a93aad2
Related to #399 , reverted assignment evaluation order to be the same as in 2013.01 as the new implementation broke existing scripts. Added some experimental commented out code, which can be used as reference in the future
2013-06-13 10:29:39 -04:00
Marius Kintel
e76a41a346
Added scope and reassignment tests
2013-06-13 01:27:19 -04:00
Marius Kintel
4280ebe7d3
Added scope and reassignment tests
2013-06-13 01:26:57 -04:00
Marius Kintel
2d86c14e1a
Added scope and reassignment tests
2013-06-13 01:26:46 -04:00
Marius Kintel
f2f019f57e
clamp to 3. Fixes #395
2013-06-08 02:12:06 -04:00
Marius Kintel
b711e62075
Don't fail when files are already removed
2013-06-05 23:55:34 -04:00
Marius Kintel
6b16a0f891
Related to #181 , also ignore removal of the main file when auto-reloading
...
Conflicts:
testdata/modulecache-tests/README.txt
testdata/modulecache-tests/cascade2.sh
2013-06-05 20:30:48 -04:00
Marius Kintel
70a25f3bc5
Added automatic reload and compile note
2013-06-05 20:26:29 -04:00
Marius Kintel
f2221499e7
Added testcase for cascading changes
2013-06-05 20:26:22 -04:00
Marius Kintel
d320a85284
typo
2013-06-05 20:24:59 -04:00
Marius Kintel
41f352a788
Added moduledumptest. Fixes #384
2013-06-01 16:11:44 -04:00
Marius Kintel
84088dee58
Improved if-else test to include a multiple-children test
2013-06-01 16:11:15 -04:00
Marius Kintel
f110092852
Added resize() and improved if test
2013-06-01 16:09:05 -04:00
Marius Kintel
00dda1b02c
Assign function results to different variables to improve test coverage
2013-06-01 16:07:27 -04:00
Marius Kintel
84e918da7d
Added missing testfile
2013-05-27 17:40:47 -04:00
Marius Kintel
0967a26bff
Support locating previously missing modules. yet another part of #364
2013-05-26 21:55:00 -04:00
Marius Kintel
da970b5cc0
typo
2013-05-26 15:05:59 -04:00
Marius Kintel
6b66e9f033
Added test cases for #364
2013-05-25 18:30:55 -04:00
Marius Kintel
794b80ffcf
Modified tests for #304
2013-05-25 13:11:09 -04:00
Marius Kintel
71ab237aad
Added tests for linear extrude with scale. Should mostly fix #273
2013-05-21 21:26:51 -04:00
Marius Kintel
adffb9121f
Added support for 2D scaling in linear_extrude
2013-05-10 18:01:50 +02:00
Marius Kintel
3780677def
Added testcase for #322
2013-05-09 17:28:05 +02:00
Marius Kintel
6ee78e7f68
Handle lack of trailing newline in dat files. Fixes #336
2013-05-09 14:32:43 +02:00
Marius Kintel
c5ebdb788b
Added failing test for #336
2013-05-09 14:23:52 +02:00
Marius Kintel
ad8ba77a15
Added failing test for #352
2013-05-09 12:16:58 +02:00
Marius Kintel
db8ad9631d
Added failing test for the #217 regression
2013-05-08 16:34:38 +02:00
Marius Kintel
e09d1df0e1
Merge branch 'master' into local-scope
2013-05-05 01:26:09 +02:00
Marius Kintel
c4cae2a29a
Fixes crash if hull's children are empty objects. Fixes #345
2013-05-02 22:11:23 -04:00
Marius Kintel
886bc85eec
Fixes remaining dxfdim() issue from #217
2013-04-27 00:53:41 -04:00
Marius Kintel
9b740b558d
Further refactoring of scope/context mechanisms. Mostly related to the new FileContext class. Not quite there yet, but almost
2013-04-26 17:45:03 -04:00