Commit Graph

3438 Commits (7efac3940e64364e84d1bf08ee5146d50e62108c)

Author SHA1 Message Date
Marius Kintel 7efac3940e Use GeometryEvaluator instead of CGALEvaluator. A bunch of refactoring and fixes as a result of that. Renamed GUI menu items to reflect preview vs. render 2014-01-06 17:48:06 -05:00
Marius Kintel 73497690bc Removed obsolete code 2014-01-06 17:48:06 -05:00
Marius Kintel 4733216ee4 Upgraded ClipperLib to 6.1.2 - fixes a projection crash 2014-01-06 17:48:06 -05:00
Marius Kintel 2726a6853f Implemented resize 2014-01-06 17:48:06 -05:00
Marius Kintel 575d429824 Updated test results with new behavior 2014-01-06 17:48:06 -05:00
Marius Kintel a49c32bee0 Fixes remaining issues after merging #574 2014-01-06 17:48:06 -05:00
Marius Kintel 698aa54998 Implemented 3D transform of PolySets, removed some Grid usage, improved PolySet -> Polyhedron conversion, optimized operations with only one child 2014-01-06 17:48:06 -05:00
Marius Kintel 2fc3a39cfc Handle shared_ptr in signals/slots 2014-01-06 17:48:05 -05:00
Marius Kintel 8367068be5 Clipper is bundled 2014-01-06 17:48:05 -05:00
Marius Kintel 33f6f8d285 Adapt to related changes in master 2014-01-06 17:48:05 -05:00
Marius Kintel 8bc3d52516 Enforce x > 0 for rotate_extrude 2014-01-06 17:48:05 -05:00
Marius Kintel 05e7f63ffc Don't convert empty clipper result to Polygon2d 2014-01-06 17:48:05 -05:00
Marius Kintel 6298ccd188 Refactoring to facilitate more sharing of code between CGALEvaluator, GeometryEvaluator and CGALUtils 2014-01-06 17:48:05 -05:00
Marius Kintel 041b6c12da hull 2D and 3D implementation 2014-01-06 17:48:05 -05:00
Marius Kintel 28a6e64a97 ignore openscad_nogui 2014-01-06 17:48:05 -05:00
Marius Kintel a67452711b Implemented minkowski (2D and 3D) 2014-01-06 17:48:05 -05:00
Marius Kintel 54ddd63f08 This should fix Clipper-based non-cut projection 2014-01-06 17:48:05 -05:00
Marius Kintel d4112fed2e bugfix: don't insert Nef polyhedrons into the GeometryCache as it will compete with PolySets needed for OpenCSG rendering 2014-01-06 17:48:05 -05:00
Marius Kintel 377c8adde4 Implemented non-cut projection using ClipperLib. Upgraded ClipperLib to V6 2014-01-06 17:48:05 -05:00
Marius Kintel 528be86990 corrected test results 2014-01-06 17:48:05 -05:00
Marius Kintel 41b938bf68 bugfix: ClipperLib usage was not handling polygons with internal holes properly 2014-01-06 17:48:04 -05:00
Marius Kintel 73256de438 Moved shared CGAL operations to cgalutils 2014-01-06 17:48:04 -05:00
Marius Kintel 97f0155d9c Let PolySets tessellated from Polygon2d objects keep track of the original object, e.g. for edge rendering purposes 2014-01-06 17:48:04 -05:00
Marius Kintel aea83d2bcb Implemented file parameter to extrude nodes 2014-01-06 17:48:04 -05:00
Marius Kintel 74ba42fb39 bugfix: reverse order of conversion to Polygon2d 2014-01-06 17:48:04 -05:00
Marius Kintel 8715104f3d Handle Nef polyhedrons as temporary geometry nodes 2014-01-06 17:48:04 -05:00
Marius Kintel b59a61c4e6 Fix for linear_extrude with center 2014-01-06 17:48:04 -05:00
Marius Kintel 87f73263fc Made CGAL_Nef_polyhedron a Geometry subtype, implemented 3D transforms, implemented projection, implemented render 2014-01-06 17:48:04 -05:00
Marius Kintel 44b5ee1d6d Handle CgaladvNodes 2014-01-06 17:48:04 -05:00
Marius Kintel 40bd253912 bugfix: Proper cache handling of visitor 2014-01-06 17:48:04 -05:00
Marius Kintel 6cc0a20f2c Implemented import to Polygon2d, fixed twist bug, added convexity support 2014-01-06 17:48:04 -05:00
Marius Kintel e3b53f6550 Compile fixes 2014-01-06 17:48:04 -05:00
Marius Kintel 1a65f0ba48 Implemented rotate_extrude, basic support for 2D CSG, fixed some linear_extrude issues 2014-01-06 17:48:04 -05:00
Marius Kintel 64442eccbd Basic linear_extrude now works 2014-01-06 17:48:04 -05:00
Marius Kintel db7ba5b204 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-06 17:48:03 -05:00
Marius Kintel 688a61dfec Green refactoring, but uncertain if we should keep it 2014-01-06 17:48:03 -05:00
Marius Kintel 5fc6af7782 In some rare cases, subtrees got invalidated and caused an assert failure 2014-01-06 01:27:01 -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 5ef8d9b8a1 sync 2014-01-05 12:44:43 -05:00
Marius Kintel 5affb45eb3 Experimental homebrew dependency build 2014-01-04 18:14:14 -05:00
Marius Kintel 9a1bd74af3 Merge branch 'master' of github.com:openscad/openscad 2014-01-04 18:07:51 -05:00
Marius Kintel 3b78ba1a58 Fail on clang's libc++ usage. Don't require 32-bit. Don't require < 10.7 compatibility 2014-01-04 18:05:43 -05:00
Marius Kintel 62b9746ab1 Mac fixes: Moved sparkle config to sparkle.pri. Link with ApplicationServices 2014-01-04 18:03:33 -05:00
Marius Kintel 70026aa0b8 bugfix: real geometry with bugs should evaluate with a dimension 2014-01-03 23:06:56 -05:00
Marius Kintel 56a8be7f24 Merge pull request #589 from Ivoah/patch-1
Added elif statement for Raspbian (Raspberry Pi)
2014-01-03 13:04:20 -08:00
Ivoah 50f9354282 Added elif statement for Raspbian (Raspberry Pi) 2014-01-03 16:03:13 -05:00
Marius Kintel e3f416db27 Added missing --version and --info to help output 2014-01-03 14:57:06 -05:00
Marius Kintel 064247ae5e Merge branch 'master' of github.com:openscad/openscad 2014-01-03 13:58:13 -05:00
Marius Kintel 8dca991045 Removed obsolete test 2014-01-03 13:31:37 -05:00