Marius Kintel
57974baa13
Silence verbose debug output
2014-12-01 16:47:00 -05:00
Marius Kintel
a05fe72c6b
Rewrote tessellation used for NefPolyhedron to PolySet conversion. Should fix #1033
2014-12-01 00:54:01 -05:00
Marius Kintel
819f5d085f
Moved Polygon typedef out of PolySet class
2014-11-26 15:22:15 -05:00
Torsten Paul
7ad0a86b02
Fix crash in hull() with empty CGAL child geometry ( fixes #990 ).
2014-10-21 20:57:18 +02:00
Oskar Linde
2e1f24b4dc
Bugfix. Fixes #953
2014-09-18 23:14:16 +02:00
Marius Kintel
51c43af4f4
#337 Enabled conversion directly from Nef polyhedron to PolySets, making us able to deal with more manifold corner cases
2014-08-21 13:20:32 -04:00
Marius Kintel
de6bcb1786
small reorg of cgalutils namespace
2014-08-19 22:02:08 -04:00
Marius Kintel
9d79d90104
#337 bugfix: We exported inner surfaces instead of outer ones
2014-08-17 15:07:02 -04:00
Marius Kintel
11952c4c0c
PRINT -> PRINTD
2014-08-17 13:58:48 -04:00
Marius Kintel
9a1074ebbc
#703 Ignore faces with <3 vertices while checking for convexity. Fixes crash
2014-08-17 12:42:24 -04:00
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