Commit Graph

44 Commits (ca510bdb1acad9442dd583821df785af8f92b33c)

Author SHA1 Message Date
Don Bright 43b4b072dc fix PRINTD to PRINTDB 2014-01-30 18:40:22 -06:00
Don Bright a51e3e2e90 replace logstream with PRINTD / PRINTDB . add boost include to printutils.cc 2014-01-30 18:37:08 -06:00
Marius Kintel 3eb4489245 Use GEN_SURFACE_DEBUG instead of DEBUG for verbose debug output 2014-01-26 21:52:46 -05:00
Marius Kintel 548b9c7c93 Reinstate Grid to fix problems introduced due to floating point inaccuracy. Grid does a certain job at vertex melding across objects and also help keeping plans planar 2014-01-23 21:22:05 -05:00
Marius Kintel c8291b0645 merge error 2014-01-15 23:53:35 -05:00
Marius Kintel e7b62b4088 Merge branch 'master' into issue527
Conflicts:
	src/CGALEvaluator.cc
2014-01-15 22:34:49 -05:00
Marius Kintel dc8da819da Only output debug info in DEBUG builds 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 87d07f23c6 small cleanup - removed redundant dim field 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 0c65fec41a Added a separate component for dealing with vertex reindexing 2014-01-09 02:06:37 -05:00
Marius Kintel 2edc0c214f Use CLipperLib's PolyTree to identify negative contours 2014-01-09 02:06:36 -05:00
Marius Kintel 5d29804882 Remove degenerate faces 2014-01-09 02:06:36 -05:00
Marius Kintel 1f0705f8a0 Sanitize input polygons for filename parameter to extrude modules 2014-01-09 02:06:35 -05:00
Marius Kintel ace3668736 Cleanup: Removed redundant code 2014-01-09 02:06:35 -05:00
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