Skip to content

Fix isPointInPad treating oval/pill plated holes as rectangles#169

Open
abdalraof-albarbar wants to merge 1 commit into
tscircuit:mainfrom
abdalraof-albarbar:fix/is-point-in-pad-oval-pill-shape
Open

Fix isPointInPad treating oval/pill plated holes as rectangles#169
abdalraof-albarbar wants to merge 1 commit into
tscircuit:mainfrom
abdalraof-albarbar:fix/is-point-in-pad-oval-pill-shape

Conversation

@abdalraof-albarbar

Copy link
Copy Markdown
Contributor

isPointInPad tested oval and pill plated holes against their bounding rectangle, so a trace endpoint sitting in the empty corner of the bounding box counted as on-pad and suppressed a real missing-connection error. Use an ellipse test for ovals and a stadium test for pills.

isPointInPad tested oval and pill plated holes against their bounding
rectangle, so a point in the empty corner counted as on-pad and suppressed a
real missing-connection error. Use an ellipse test for ovals and a stadium
test for pills.

Co-authored-by: abdalrouf-AAA <236259618+technologyet31-create@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant