Commit Graph

3581 Commits (0f2853895abe7b2f900f1ab69ef04bc55738b106)

Author SHA1 Message Date
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
Marius Kintel 033b298ac9 Initial port of Don Bright's Nef3->PolySet converter 2014-01-09 02:06:38 -05:00
Marius Kintel f8e013e791 bugfix: forgot to negate statement when refactoring 2014-01-09 02:06:38 -05:00
Marius Kintel d258e0cbc0 Better error message on triangulation error 2014-01-09 02:06:38 -05:00
Marius Kintel 4fd13fcac2 adjusted test results 2014-01-09 02:06:38 -05:00
Marius Kintel efc71a8d8e Be compatible with existing behavior: close open paths in DXF files 2014-01-09 02:06:38 -05:00
Marius Kintel 87d07f23c6 small cleanup - removed redundant dim field 2014-01-09 02:06:37 -05:00
Marius Kintel afa659d906 Use cartesian points for 2D hull 2014-01-09 02:06:37 -05:00
Marius Kintel 03036b91f8 Updated import_stl-tests: Added subtraction from not found file 2014-01-09 02:06:37 -05:00
Marius Kintel 24986eec91 Added Geometry::isEmpty, some cleanups of CGAL_Nef_polyhedron, fixed some 2D-3D-mix issues 2014-01-09 02:06:37 -05:00
Marius Kintel 029cc74898 Updated test result with new behavior 2014-01-09 02:06:37 -05:00
Marius Kintel 512c0153dd Updated test result with new behavior 2014-01-09 02:06:37 -05:00
Marius Kintel 4caf0c9cd9 Triangulate objects before exporting to STL 2014-01-09 02:06:37 -05:00
Marius Kintel 0c65fec41a Added a separate component for dealing with vertex reindexing 2014-01-09 02:06:37 -05:00
Marius Kintel 6ae42bd0e7 case sensitive include 2014-01-09 02:06:37 -05:00
Marius Kintel 979d480da8 nullptr is a C++11 keyword 2014-01-09 02:06:37 -05:00
Marius Kintel 8a2cc97145 include case fix 2014-01-09 02:06:37 -05:00
Marius Kintel 0d318c83c7 minor cleanup 2014-01-09 02:06:37 -05:00
Marius Kintel 394cb6a7a5 test data update 2014-01-09 02:06:37 -05:00
Marius Kintel 5b1ae5cbb1 test data update 2014-01-09 02:06:36 -05:00
Marius Kintel ad6ef980db doc fix 2014-01-09 02:06:36 -05:00
Marius Kintel 2edc0c214f Use CLipperLib's PolyTree to identify negative contours 2014-01-09 02:06:36 -05:00
Marius Kintel 5c4534d3fc Updated test result with new behavior 2014-01-09 02:06:36 -05:00
Marius Kintel d4be9b4153 bugfix: Allow rendering empty images 2014-01-09 02:06:36 -05:00
Marius Kintel 054277b3ac Updated test result with new behavior 2014-01-09 02:06:36 -05:00
Marius Kintel 3122050139 Updated test result with new behavior 2014-01-09 02:06:36 -05:00
Marius Kintel e35ea1bcb0 Updated test result with new, improved behavior 2014-01-09 02:06:36 -05:00
Marius Kintel bff5b4d666 Updated test result with new, improved behavior 2014-01-09 02:06:36 -05:00
Marius Kintel 54850b3bd0 Updated test result with new, improved behavior 2014-01-09 02:06:36 -05:00
Marius Kintel 5f7d81c791 Extract clipper operations to ClipperLib::apply(), added sanitized flag to Polygon2d 2014-01-09 02:06:36 -05:00
Marius Kintel ec849b18d4 RenderNode is now the same as any abstract node 2014-01-09 02:06:36 -05:00
Marius Kintel 5d29804882 Remove degenerate faces 2014-01-09 02:06:36 -05:00