improve performance of pocketed roughing by simplifying pancaked shell

This commit is contained in:
Stewart Allen 2020-05-04 23:00:39 -04:00
commit 051c5d6f7a
5 changed files with 19 additions and 6 deletions

View file

@ -490,6 +490,7 @@ var gs_base_polygons = exports;
var simple = clip.SimplifyPolygons(clean, cpft.pftNonZero);
coff.AddPaths(simple, cjnt.jtMiter, cety.etClosedPolygon);
});
coff.Execute(ctre, (dist1 + over) * fact);
polys = fromClipperTree(ctre, z);