Commit Graph

3612 Commits (transformprecision)

Author SHA1 Message Date
Marius Kintel 27c5d73bad include case fix 2014-01-06 17:48:08 -05:00
Marius Kintel aec1169c90 minor cleanup 2014-01-06 17:48:08 -05:00
Marius Kintel 9ccde5fe22 test data update 2014-01-06 17:48:08 -05:00
Marius Kintel e49bccfa83 test data update 2014-01-06 17:48:08 -05:00
Marius Kintel 1e59035bd0 doc fix 2014-01-06 17:48:08 -05:00
Marius Kintel 5a4ff8e39a Use CLipperLib's PolyTree to identify negative contours 2014-01-06 17:48:07 -05:00
Marius Kintel 1c8221004a Updated test result with new behavior 2014-01-06 17:48:07 -05:00
Marius Kintel 512aba9f10 bugfix: Allow rendering empty images 2014-01-06 17:48:07 -05:00
Marius Kintel ebdb2847b3 Updated test result with new behavior 2014-01-06 17:48:07 -05:00
Marius Kintel 0ce14af64b Updated test result with new behavior 2014-01-06 17:48:07 -05:00
Marius Kintel 8b7ef88664 Updated test result with new, improved behavior 2014-01-06 17:48:07 -05:00
Marius Kintel 7ed97132c6 Updated test result with new, improved behavior 2014-01-06 17:48:07 -05:00
Marius Kintel 3d72b2b68f Updated test result with new, improved behavior 2014-01-06 17:48:07 -05:00
Marius Kintel c9d372d4db Extract clipper operations to ClipperLib::apply(), added sanitized flag to Polygon2d 2014-01-06 17:48:07 -05:00
Marius Kintel dbd8f78d10 RenderNode is now the same as any abstract node 2014-01-06 17:48:07 -05:00
Marius Kintel e52ec73d4e Remove degenerate faces 2014-01-06 17:48:07 -05:00
Marius Kintel 6a57885224 bugfix: missing space in output 2014-01-06 17:48:07 -05:00
Marius Kintel 90be2bc10d Implemented intersection_for 2014-01-06 17:48:07 -05:00
Marius Kintel af578b9f47 Sanitize input polygons for filename parameter to extrude modules 2014-01-06 17:48:07 -05:00
Marius Kintel a8ed295b22 Cleanup: Removed redundant code 2014-01-06 17:48:06 -05:00
Marius Kintel aa1b856ea6 Make CGALRenderer support all Geometries 2014-01-06 17:48:06 -05:00
Marius Kintel c9366d1dcb reuse coordinates for last ring of rotate_extrude 2014-01-06 17:48:06 -05:00
Marius Kintel 0f6e5860e8 minor bugfixes after running tests 2014-01-06 17:48:06 -05:00
Marius Kintel 94d6de06fd Implemented export of Polygon2d to dxf 2014-01-06 17:48:06 -05:00
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