Marius Kintel
6405456c8a
Renamed CGAL_renderer to CGAL_OGL_Polyhedron for clarity
2014-08-15 13:04:34 -04:00
Marius Kintel
f87ee92755
bugfix: don't crash on empty resize(). refactoring: added virtual copy() to geometry, moved resize() to CGAL_Nef_polyhedron. Fixes #862
2014-07-17 17:03:03 -04:00
Oskar Linde
681f03a2a7
Resolve #835
2014-06-23 10:15:39 +02:00
Oskar Linde
6b8118c3fe
Fix build on Travis
2014-06-09 01:28:14 +02:00
Oskar Linde
6df806c60c
Minkowski bugfix: Multi-convex shell polyhedra were incorrectly classified as convex
2014-06-08 15:24:24 +02:00
Oskar Linde
c3da736f4d
Remove some c++11-syntax
2014-06-03 18:51:29 +02:00
Oskar Linde
cb2c5029c0
Faster minkowski()
2014-06-03 18:51:29 +02:00
Oskar Linde
8c977a45e5
Make sure convex objects remain convex as Nef polyhedrons
2014-06-03 18:51:29 +02:00
Marius Kintel
a6cc43f1f6
#810 Quickfix to improve progress feedback on CSG ops
2014-05-26 00:27:20 -04:00
Oskar Linde
02cb1f0ca8
Speed up 3D convex hull() by a few orders of magnitude by using a more suitable kernel
2014-05-22 21:15:34 +02:00
Marius Kintel
2838795d63
#802 Added test, issue warning instead of crashing
2014-05-21 14:01:12 -04:00
Marius Kintel
e64734f8fd
bugfix: Empty import combined with real geometry caused an assert failure
2014-05-19 15:21:43 -04:00
Oskar Linde
bef0efb18e
Fix crash in cgalpngtest_assign-tests
2014-05-10 20:54:09 +02:00
don bright
8176b4ce27
fix build on gcc 4.5 (typedef typename is c++0x)
2014-03-24 02:00:42 +01:00
Marius Kintel
3787049f5a
Merge pull request #638 from OskarLinde/hull_speedup
...
Speed up 3d convex hull()
2014-02-05 23:54:13 -05:00
Marius Kintel
92017ded7a
Merge pull request #637 from OskarLinde/projection_bug
...
Projection bug
2014-02-05 23:42:31 -05:00
Marius Kintel
daf5a169dc
Refactored Nef_nary_union optimization
2014-02-05 23:27:04 -05:00
Oskar Linde
b7d9abd4f7
Speed up 3d convex hull()
...
Speed up hull() significantly by removing duplicate points prior to calling CGAL::convex_hull_3.
Most computation now lies in converting the resulting CGAL::Polyhedron -> CGAL::Nef_polyhedron_3.
Also, enables convex hulls to be computed on non-manifold geometry.
2014-02-05 14:23:24 +01:00
Oskar Linde
4a0896d349
Bugfix: projection(cut=true) generated polygon holes with incorrect winding order
2014-02-05 14:08:22 +01:00
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