Use poly2tri for triangulation. This fixes some cases where polyPartition couldn't triangulate successfully. Reported as issue #9 in polyPartition repository. Tested with MotorHalter_0.stl cut at 1.2

This commit is contained in:
Alessandro Ranellucci
2014-05-01 12:07:11 +02:00
parent 60f640f100
commit edeb0a90dd
19 changed files with 2830 additions and 6 deletions

View File

@@ -33,6 +33,7 @@ class ExPolygon
void get_trapezoids2(Polygons* polygons, double angle) const;
void triangulate(Polygons* polygons) const;
void triangulate_pp(Polygons* polygons) const;
void triangulate_p2t(Polygons* polygons) const;
#ifdef SLIC3RXS
void from_SV(SV* poly_sv);