Skip to content

Feature/polygon simplification - #71

Merged
fontanf merged 2 commits into
masterfrom
feature/polygon-simplification
Aug 20, 2024
Merged

fontanf merged 2 commits into
masterfrom
feature/polygon-simplification

Conversation

@fontanf

@fontanf fontanf commented Aug 20, 2024

Copy link
Copy Markdown
Owner

No description provided.

@fontanf
fontanf merged commit 87ce3b5 into master Aug 20, 2024
@fontanf
fontanf deleted the feature/polygon-simplification branch August 20, 2024 20:09
fontanf added a commit that referenced this pull request Sep 23, 2026
Picks up fontanf/shape#69, #70, #71, #72 and #73, which fix the failures
of the irregular instance building reported in #595 and #598:

- #69: the line-segment approximation of an arc placed on its circle
  ended with a degenerate segment, making circular holes look
  self-intersecting.
- #70: the fallback union of that approximation used clockwise extras
  for anticlockwise arcs, filling holes.
- #71, #72: line/circle and circle/circle tangencies were computed as
  two intersections a few micro-units apart, or as none, which made
  boolean operations fail ("face area is not positive") or overflow the
  stack.
- #73: no_fit_polygon merged nearly parallel edges in the wrong order,
  so the self-NFPs used by the periodic packing were not exact (nor
  centrally symmetric), which made the lattice search unions fail.
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