make circularity comparisons in drilling more forgiving
This commit is contained in:
parent
ee38faa835
commit
6be15165ce
2 changed files with 3 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue