Skip to content

Commit

Permalink
Do not yield false tiny arcs
Browse files Browse the repository at this point in the history
  • Loading branch information
yaqwsx committed Apr 17, 2024
1 parent b0fdd12 commit acbd021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kikit/substrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ def _serializeRing(self, ring, reconstructArcs):
if not candidateCircle.addPoint(coords[j]):
break

if candidateCircle.foundCircle is not None:
if candidateCircle.foundCircle is not None and candidateCircle.foundCircle[1] > fromMm(0.25):
center, radius = candidateCircle.foundCircle
start, end, mid = candidateCircle.start, candidateCircle.end, candidateCircle.mid

Expand Down

0 comments on commit acbd021

Please sign in to comment.