Commit Graph

3612 Commits (transformprecision)

Author SHA1 Message Date
Don Bright 80df04074d allow resize to use CGAL's engine to deal with precision issues per discussion
with Marius and Giles
2014-01-30 17:21:54 -06:00
Don Bright 79f6baf264 syntax highlight - improve contrast on dark background 2014-01-28 20:38:51 -06:00
Marius Kintel c3562e26ab Fixed caching issue: Sometimes we didn't use existing objects in the CGAL cache, but recalculated the objects, causing reduced performance when reusing CGAL-calculated objects in preview mode 2014-01-26 22:32:20 -05:00
Marius Kintel 3eb4489245 Use GEN_SURFACE_DEBUG instead of DEBUG for verbose debug output 2014-01-26 21:52:46 -05: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
Marius Kintel d9432d76e7 Merge pull request #607 from openscad/range-fix
Handle NaN / +Inf / -Inf in range evaluation (fixes #606).
2014-01-24 13:02:32 -08:00
Torsten Paul 1212e2ba7c Handle NaN / +Inf / -Inf in range evaluation (fixes #606). 2014-01-24 20:52:04 +01:00
Marius Kintel 9d55e33b36 Updated forgotten test results related to commit 34ae2b8f68 2014-01-24 13:12:27 -05:00
Marius Kintel 91ff6420e4 OFF export workaround. Convert to Nef polyhedron for now 2014-01-24 00:59:02 -05:00
Marius Kintel df3137ce13 Merge branch 'master' into unstable 2014-01-23 21:22:26 -05:00
Marius Kintel 548b9c7c93 Reinstate Grid to fix problems introduced due to floating point inaccuracy. Grid does a certain job at vertex melding across objects and also help keeping plans planar 2014-01-23 21:22:05 -05:00
Marius Kintel 3288447e70 Added note for future enhancement of rotate_extrude 2014-01-23 20:52:47 -05:00
Marius Kintel d2e3625678 bug: forgot a break in switch statement while refactoring 2014-01-23 20:40:06 -05:00
Marius Kintel b4fc711758 compile fix: forgot include for boost::math::isinf 2014-01-23 19:54:52 -05:00
Marius Kintel 34a758c7f6 bugfix: Don't crash if HOME is not set 2014-01-22 21:27:25 -05:00
Marius Kintel faf1e2a3a5 bugfix: 2D minkowski was slightly broken; only one child and >2 children didn't work correctly 2014-01-19 12:27:11 -05: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 47c042a559 minor clarification 2014-01-19 10:18:10 -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 f881efe477 killed warning 2014-01-18 18:26:38 -05:00
Marius Kintel 337f6668bc killed warning 2014-01-18 18:26:04 -05:00
Marius Kintel c8291b0645 merge error 2014-01-15 23:53:35 -05:00
Marius Kintel 696f2d5182 Adjusted some Heavy tests 2014-01-15 23:53:23 -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 1fc52f8cd4 Remove isinf from mathc99 since we're using boost 2014-01-15 19:32:31 -05:00
Marius Kintel e3e635bce1 Merge branch 'master' of github.com:openscad/openscad 2014-01-15 19:24:51 -05:00
Marius Kintel 5c57ed41e7 Added test for empty geometry 2014-01-15 19:24:38 -05:00
Don Bright 5f0ccc3e50 fix broken build on mingw / mxe 2014-01-14 17:50:59 -06:00
Marius Kintel 0f2853895a Merge branch 'master' into issue527 2014-01-13 23:08:56 -05:00
Marius Kintel 389e95e374 fixed merge error 2014-01-13 23:08:43 -05:00
Marius Kintel 7af6922829 Updated tests to account for modifiers inside AbstractPolyNodes 2014-01-13 23:07:56 -05:00
Marius Kintel 8d95b48ad2 Revert "Fixed an issue which caused us to traverse the entire tree for OpenCSG rendering traversals, where we didn't actually use the traversal results (for all nodes requiring CGAL)"
This reverts commit 448f8b4142.

-> We need to traverse the subtrees to be able to pick up debug and highlight modifiers
2014-01-13 23:04:22 -05:00
Marius Kintel 0ea3c831dd Merge branch 'issue527' of github.com:openscad/openscad into issue527 2014-01-13 22:24:21 -05:00
Marius Kintel c2673d4ff0 Updated tests for minkowski2 with holes 2014-01-13 22:24:13 -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 fc8096acac Merge branch 'issue527' of github.com:openscad/openscad into issue527
Conflicts:
	src/GeometryEvaluator.cc
	tests/CMakeLists.txt
2014-01-12 19:41:34 -05:00
Marius Kintel e0e0319ec6 Added and updated tests for minkowski2 with holes 2014-01-12 19:39:20 -05:00
Marius Kintel dd113ae0f1 Minor simplification of minkowski2 2014-01-12 19:36:11 -05:00
Oskar Linde 295062875d Clipper based 2D Minkowski properly (hopefully) handles holes and multiple disjoint polygon components 2014-01-12 16:21:29 +01:00
Marius Kintel f57ceae58d Removed old reference to clipper 2014-01-09 02:06:38 -05:00
Marius Kintel 0c8a34775f crash fix: forgot null check of missing dxf 2014-01-09 02:06:38 -05:00
Marius Kintel acace4606b hull-of-hull bug: bugxi and test for exposing it 2014-01-09 02:06:38 -05:00
Marius Kintel dc8da819da Only output debug info in DEBUG builds 2014-01-09 02:06:38 -05:00
Marius Kintel aa6fe1eb2b Bugfix: We didn't cache top-level objects properly 2014-01-09 02:06:38 -05:00
Marius Kintel a47c282872 Ignore empty Nef's when renderinge 2014-01-09 02:06:38 -05:00