-
Notifications
You must be signed in to change notification settings - Fork 279
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
Exception on path parsing #510
Comments
I see, this path data is using the https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths#curve_commands We currently don't have code to create the smoothed control points. As a workaround, do you have any option of creating separate curves? |
Hi again, Dan! :) |
Thanks for the clarification. BTW I am using this great tool to analyze SVG paths: https://yqnn.github.io/svg-path-editor/ Pasting in your path data, we can see that there are some arcs which are degenerate - they have I suppose Maker.js could catch this, and drop the incoming command. Until then, perhaps you can use svgo (command line) or svgomg (gui) which removes these non-contributing commands. |
Dan, simply wow, thank you for the great tool! :) |
Hello,
I found a path that can not be imported, because it contains arcs that makerjs somehow does not understand, failing to find intersections. The exact error is:
the code
The text was updated successfully, but these errors were encountered: