Skip to content

Conversation

@ashishmohapatra240
Copy link

Fixes #3288

Prevents infinite recursion in fit_to_bezpath by:

  • Relaxing accuracy tolerance from 1e-3 to 1e-2
  • Filtering out degenerate cubic beziers
  • Capping max segments at 10k to prevent capacity overflow
Graphite.mp4

@TrueDoctor
Copy link
Member

I don't love lowering of the accuracy, is that a necessary change?

@ashishmohapatra240
Copy link
Author

i initially relaxed the accuracy from 1e-3 to 1e-2 thinking it would reduce recursion depth in fit_to_bezpath, reverted to 1e-3.

@ashishmohapatra240
Copy link
Author

Hey, @TrueDoctor Let me know if this works!

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.

Kurbo capacity overflow with Offset Path node

2 participants