Commit Graph

4871 Commits (abdf80c494829c7484ec78b81ce3e75fba0d2d94)

Author SHA1 Message Date
Marius Kintel a05fe72c6b Rewrote tessellation used for NefPolyhedron to PolySet conversion. Should fix #1033 2014-12-01 00:54:01 -05:00
Torsten Paul ef9f2f3289 Retain FileContext to lookup $vp{rtd} variables after compilation (fixes #949). 2014-11-30 16:37:17 +01:00
Torsten Paul 471ff7718e Merge pull request #1038 from openscad/issue1024+issue1035
Update drawing logic
2014-11-30 03:35:37 +01:00
Torsten Paul 6263bfd269 Render crosshair a bit less intrusive. 2014-11-30 03:22:14 +01:00
Torsten Paul fcbd9fc024 Fix crosshair at the center of the display (fixes #1025). 2014-11-30 03:04:15 +01:00
Torsten Paul 3992cc547b Update drawing logic (fixes #1035).
- Draw negative part of the axis with stippled lines
- Calculate contrast color for axis based on background color
- Disable lighting for axis / crosshair
2014-11-30 03:04:01 +01: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 fac2340989 More correct handling of empty geometry. Should fix a few crash bugs 2014-11-27 20:40:37 -05:00
Marius Kintel c2775d4541 doc 2014-11-27 20:38:53 -05:00
Marius Kintel 91139402ea toPolygon2d() should never return NULL 2014-11-27 20:38:09 -05:00
Marius Kintel defb486a64 createGeometry() should never return NULL 2014-11-27 20:37:40 -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 1b9d62c907 Added test for mixing empty 2D and 3D objects 2014-11-27 17:19:01 -05:00
Marius Kintel 4d6db2caa7 fixes crash when intersecting 3 or more 2d objects which results in an empty polygon 2014-11-27 15:27:09 -05:00
Torsten Paul a820487032 Simple implementation of tail-recursion elimination. 2014-11-26 22:53:10 +01:00
Marius Kintel 819f5d085f Moved Polygon typedef out of PolySet class 2014-11-26 15:22:15 -05:00
Marius Kintel 0b58b7d2b3 Compile fix: Don't include Carbon as it pollutes the global namespace with e.g. 'Polygon' 2014-11-26 15:02:44 -05:00
Marius Kintel ecbaec0849 Updated ClipperLib to 6.2.1 2014-11-25 17:41:08 -05:00
Marius Kintel b621287610 C++11 build fix 2014-11-25 17:40:49 -05:00
Marius Kintel 2e8d93d5be Some Expression refactoring 2014-11-25 17:08:14 -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 d99dea1db2 bugfix after merging master - dynamic memory caused contexts not to be destructed 2014-11-25 15:53:44 -05:00
Marius Kintel 8ca812ac1a Added infinite module recursion test 2014-11-25 15:28:48 -05:00
Marius Kintel 32bc6ae516 inlined stack pointer retrieval to silence compiler warning 2014-11-25 15:06:20 -05:00
Marius Kintel 2644b19ce7 Reimplemented serialization of expression to string after last refactoring 2014-11-25 15:05:36 -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
Marius Kintel 247b8db57f Merge remote-tracking branch 'origin/master' into stack-size-hack 2014-11-25 14:44:53 -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 be9b0ee925 indentation 2014-11-25 11:26:14 -05:00
Marius Kintel 4cd712d24d Merge remote-tracking branch 'origin/master' into stack-size-hack
Conflicts:
	src/context.h
	src/control.cc
	src/evalcontext.h
	src/localscope.cc
	src/module.cc
2014-11-25 11:25:37 -05:00
Marius Kintel 945be0020f Updated tests 2014-11-25 00:45:19 -05:00
Marius Kintel 23c9dee265 bugfix: Correctly handle else scopes, handle overrides inside assign scopes 2014-11-25 00:45:00 -05:00
Marius Kintel d195d05008 Test assignment in if, else and assign scopes 2014-11-25 00:44:12 -05:00
Marius Kintel 5072f0752a Don't use assign now that it's deprecated 2014-11-25 00:43:48 -05:00
Marius Kintel 697944c4ef Merge pull request #1022 from openscad/issue347
Support variable assignment in local blocks.
2014-11-24 22:09:15 -05:00
Marius Kintel 6b61e9b1a7 sync 2014-11-24 21:57:36 -05:00
Marius Kintel 3612db6a2f Fixes crash during the second run of a failing recursive module 2014-11-24 20:44:39 -05:00
Marius Kintel f1b29e1db9 Removed old stack measurement code 2014-11-24 18:54:51 -05:00