Commit Graph

3612 Commits (transformprecision)

Author SHA1 Message Date
Marius Kintel 43e1a27ff3 Don't convert empty clipper result to Polygon2d 2014-01-09 02:06:34 -05:00
Marius Kintel 1f488f851d Refactoring to facilitate more sharing of code between CGALEvaluator, GeometryEvaluator and CGALUtils 2014-01-09 02:06:34 -05:00
Marius Kintel c507db461d hull 2D and 3D implementation 2014-01-09 02:06:34 -05:00
Marius Kintel 12f14b84a1 ignore openscad_nogui 2014-01-09 02:06:34 -05:00
Marius Kintel 02cd792cb3 Implemented minkowski (2D and 3D) 2014-01-09 02:06:34 -05:00
Marius Kintel 2ca39595cd This should fix Clipper-based non-cut projection 2014-01-09 02:06:34 -05:00
Marius Kintel b2945cc714 bugfix: don't insert Nef polyhedrons into the GeometryCache as it will compete with PolySets needed for OpenCSG rendering 2014-01-09 02:06:34 -05:00
Marius Kintel af59b1983c Implemented non-cut projection using ClipperLib. Upgraded ClipperLib to V6 2014-01-09 02:06:33 -05:00
Marius Kintel eeb23d6723 corrected test results 2014-01-09 02:06:33 -05:00
Marius Kintel b04d0ccc52 bugfix: ClipperLib usage was not handling polygons with internal holes properly 2014-01-09 02:06:33 -05:00
Marius Kintel 34fc42a3b5 Moved shared CGAL operations to cgalutils 2014-01-09 02:06:33 -05:00
Marius Kintel ef4c07cd78 Let PolySets tessellated from Polygon2d objects keep track of the original object, e.g. for edge rendering purposes 2014-01-09 02:06:33 -05:00
Marius Kintel 3e53120e46 Implemented file parameter to extrude nodes 2014-01-09 02:06:33 -05:00
Marius Kintel 97a6f99883 bugfix: reverse order of conversion to Polygon2d 2014-01-09 02:06:33 -05:00
Marius Kintel a17e0dee2a Handle Nef polyhedrons as temporary geometry nodes 2014-01-09 02:06:33 -05:00
Marius Kintel acc354b24c Fix for linear_extrude with center 2014-01-09 02:06:33 -05:00
Marius Kintel 11b7624bbf Made CGAL_Nef_polyhedron a Geometry subtype, implemented 3D transforms, implemented projection, implemented render 2014-01-09 02:06:33 -05:00
Marius Kintel afd4a6adb8 Handle CgaladvNodes 2014-01-09 02:06:33 -05:00
Marius Kintel 11b1966cfb bugfix: Proper cache handling of visitor 2014-01-09 02:06:33 -05:00
Marius Kintel 84ce5dbd5d Implemented import to Polygon2d, fixed twist bug, added convexity support 2014-01-09 02:06:33 -05:00
Marius Kintel dc93436da9 Compile fixes 2014-01-09 02:06:32 -05:00
Marius Kintel d9ad3a60a0 Implemented rotate_extrude, basic support for 2D CSG, fixed some linear_extrude issues 2014-01-09 02:06:32 -05:00
Marius Kintel 064ee8f98a Basic linear_extrude now works 2014-01-09 02:06:32 -05:00
Marius Kintel b8c15cfb8a Preliminary large refactoring: Created GeometryEvaluator as a replacement for PolySetEvaluator. Use ClipperLib for 2D CSG (first baby steps). This design is far from perfect but sacrifice design for staying in the green. This version is broken, but can render primitives. 2014-01-09 02:06:32 -05:00
Marius Kintel acd08b6f1a Green refactoring, but uncertain if we should keep it 2014-01-09 02:06:32 -05:00
Torsten Paul e6bfee021b Add libffi to MacOS build. 2014-01-08 14:43:04 -05:00
Marius Kintel 20938506b6 Mac fix: We need to use bundled resources when running bundled apps in cmd-line node 2014-01-07 15:44:28 -05:00
Marius Kintel f7a633c57f Added some missing ignores 2014-01-07 15:43:15 -05:00
Marius Kintel aabb2f405f Fixes to build against homebrew-built dependencies
Conflicts:
	tests/CMakeLists.txt
2014-01-07 13:48:58 -05:00
Marius Kintel 09ffd9a6b7 crash fix: forgot null check of missing dxf 2014-01-06 18:13:49 -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 fb76a0bd96 Only output debug info in DEBUG builds 2014-01-06 17:48:09 -05:00
Marius Kintel c39b919e19 Fixes to build against homebrew-built dependencies 2014-01-06 17:48:09 -05:00
Marius Kintel b482d9f15b Bugfix: We didn't cache top-level objects properly 2014-01-06 17:48:09 -05:00
Marius Kintel 8ae2e389a3 Ignore empty Nef's when renderinge 2014-01-06 17:48:09 -05:00
Marius Kintel 0703f1a6ca Initial port of Don Bright's Nef3->PolySet converter 2014-01-06 17:48:09 -05:00
Marius Kintel c3eaeae45c bugfix: forgot to negate statement when refactoring 2014-01-06 17:48:09 -05:00
Marius Kintel 76f53de49f Better error message on triangulation error 2014-01-06 17:48:09 -05:00
Marius Kintel 31612ef242 adjusted test results 2014-01-06 17:48:09 -05:00
Marius Kintel db7da052a3 Be compatible with existing behavior: close open paths in DXF files 2014-01-06 17:48:09 -05:00
Marius Kintel bc4fae0d85 small cleanup - removed redundant dim field 2014-01-06 17:48:09 -05:00
Marius Kintel d6ad2c7de1 Use cartesian points for 2D hull 2014-01-06 17:48:08 -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 b5928655e3 Added Geometry::isEmpty, some cleanups of CGAL_Nef_polyhedron, fixed some 2D-3D-mix issues 2014-01-06 17:48:08 -05:00
Marius Kintel 211e3bc66d Updated test result with new behavior 2014-01-06 17:48:08 -05:00
Marius Kintel 9f6635a5f2 Updated test result with new behavior 2014-01-06 17:48:08 -05:00
Marius Kintel 05ddcdaabb Triangulate objects before exporting to STL 2014-01-06 17:48:08 -05:00
Marius Kintel 464c0ec3df Added a separate component for dealing with vertex reindexing 2014-01-06 17:48:08 -05:00
Marius Kintel 9a0cd69cfd case sensitive include 2014-01-06 17:48:08 -05:00
Marius Kintel 18810fcbee nullptr is a C++11 keyword 2014-01-06 17:48:08 -05:00