Commit Graph

29 Commits (0e5037dce379c6f432fdc8470f6067275c560aa5)

Author SHA1 Message Date
Marius Kintel dc9429acac 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-09 02:06:35 -05:00
Marius Kintel b5abd6a39f Fixes remaining issues after merging #574 2014-01-09 02:06:34 -05:00
Marius Kintel 4e9de72779 Implemented 3D transform of PolySets, removed some Grid usage, improved PolySet -> Polyhedron conversion, optimized operations with only one child 2014-01-09 02:06:34 -05:00
Marius Kintel b9f51febd4 Adapt to related changes in master 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 af59b1983c Implemented non-cut projection using ClipperLib. Upgraded ClipperLib to V6 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 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 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
Don Bright 804ec858d9 triangulation of near-planar PolySet faces 2013-12-14 21:12:01 -06:00
Marius Kintel 95947a877b Ported recent changes to the EPEC kernel 2013-05-24 13:58:52 -04:00
don bright 5559ae9a6a move transform from CGALEvaluator to Nef_polyhedron - reuse in resize(). also
move ZRemover code to cgalutils, also cleanup SVG code
2013-03-10 21:35:30 -05:00
don bright 3cf6c24d83 beginning of resize() command implementation. 2013-03-09 20:28:43 -06:00
don bright 66b6433ffe cleanup 2012-10-28 12:37:27 -05:00
don bright 4ecd9fa8a4 refactor, cleanup, put code where it belongs, make simple logging class 2012-10-28 08:56:23 -05:00
don bright 45a99bfe36 use target(), not source(), making 'simple' the 2d polygon
created during the 'flattening' process from 3d to 2d.
not sure why this works, but it does.
2012-10-24 04:14:52 -05:00
don bright 5b92e171ea this svg-prints the 'marked' faces as dashed lines, revealing CGAL issues
with mark() and union() operations on Nef Polyhedron 2 objects.
2012-10-22 23:44:54 -05:00
don bright 30fad0d4e4 remove old dump code. improve debugging svg output. 2012-10-21 12:10:06 -05:00
don bright ddbdd58d16 add OpenSCAD version to about dialog title.
improve SVG debugging output for Nef3 and Nef2 polyhedra.
2012-10-18 22:31:37 -05:00
don bright 8191c292b0 refactor to make svg in 2d and 3d use same transformation code 2012-10-15 22:02:44 -05:00
don bright 56def4aef2 projection: fallback to 'large thin box' if intersection with plane fails.
also implement SVG debugging output for 2d + 3d Nef Polyhedrons.
2012-10-15 20:17:12 -05:00
Marius Kintel eebc87fe1f Fixed broken debug output 2012-10-08 22:22:27 -04:00
Marius Kintel 087b9bb7c3 Catch exceptions as const references. Related to #204 2012-10-08 20:49:02 -04:00
Marius Kintel eff1f7f8c9 Ported printutils away from Qt 2012-01-25 03:11:12 +01:00
Marius Kintel bb0ec94290 #undef NDEBUG before including any CGAL headers 2011-12-06 01:43:44 +01:00
Marius Kintel 47bd0b639b bugfix: We didn't correctly set back CGAL error behaviour after changing it 2011-11-26 23:31:11 +01:00
Marius Kintel ed6dd37dd5 Ported away from QHash 2011-11-09 04:48:56 +01:00
Marius Kintel 4d1cf0d0a0 Localization indicator of CGAL errors 2011-09-08 06:55:12 +02:00
Marius Kintel 27a99044d8 Implemented OFF import, refactored PolySet/Polyhedron conversion 2011-09-07 22:04:59 +02:00