make circularity comparisons in drilling more forgiving

This commit is contained in:
Stewart Allen 2018-04-23 08:39:22 -04:00
commit 6be15165ce
2 changed files with 3 additions and 3 deletions

View file

@ -828,7 +828,7 @@ var gs_kiri_cam = exports;
slices.forEach(function(slice) {
var inner = slice.gatherTopPolyInners([]);
inner.forEach(function(poly) {
if (poly.circularity() >= 0.995 && Math.abs(poly.area() - area) <= areaDelta) {
if (poly.circularity() >= 0.99 && Math.abs(poly.area() - area) <= areaDelta) {
var center = poly.circleCenter(),
merged = false,
closest = Infinity,