Skip to content

Fix degenerate arc issue #575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

eflynch
Copy link
Contributor

@eflynch eflynch commented Oct 12, 2023

No description provided.

@eflynch
Copy link
Contributor Author

eflynch commented Oct 12, 2023

@microsoft-github-policy-service agree

@eflynch
Copy link
Contributor Author

eflynch commented Oct 13, 2023

I checked locally that the unit test fails without the bug fix code change, so it is successfully testing the issue

@danmarshall
Copy link
Contributor

Thanks for the contribution! I'm wondering if we should put the guard on the svg import code. 🤔

@eflynch
Copy link
Contributor Author

eflynch commented Oct 13, 2023

I’m not sure quite what you mean, but if it’s helpful for evaluating what to do here, the reason I needed this change is because I need to round trip a makerjs model through an svg path, and depending on the exact situation, makerjs produces a model that holds these degenerate arcs which it was exporting successfully and then failing on import.

@danmarshall
Copy link
Contributor

I see. If possible, a repro of that degeneration might be helpful.

@danmarshall danmarshall merged commit f448ee7 into microsoft:master Oct 13, 2023
@danmarshall
Copy link
Contributor

Thanks! Published 0.18.1

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.

2 participants