-
Notifications
You must be signed in to change notification settings - Fork 266
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
Dogbones on chains #462
Comments
When I import path data from Inkscape [1], then I get this: Which is not the correct interpretation. When I extract the path from https://svg-edit.github.io/svgedit/editor/svg-editor.html [2] then the path looks OK. To switch between the different path comment/uncomment lines 6 and 9
[1] https://gist.github.com/3kmch/4b305c7043ee923b8a390ebffd2661ca#file-testshape_inkscape-svg Do you recommend a specific toolchain for the import process? |
I don't think I'm handling smooth curves with more than 4 points. I see the command:
Probably I need to add an extra curve. Until then, can you break these into 2 or more pieces? |
Thank you for your reply :)
I'm not shure wheter I understand you correctly. Perhaps it's better to work with another example. I replaced the example path with a real one, which I converted from DXF to SVG in Inkscape. This version works quite good (exept for the tilted slots). To get a working path I did the following:
If I extract the path element directly from Inkscape, then I get this and that won't work: I'm really puzzeled by this behaviour. Do you have an idea what's wrong? |
I recently jumped back into an older ticket #336.
Some imported SVG paths behave very odd. While trying to figure out why it behaves like this, I took your dognone example from here: https://maker.js.org/docs/working-with-chains/#Chain%20dogbone and rotated the second rect by 15 degrees.
The left chain is perfect. But not the one on the right. ;-) Any idea, why that happens?
https://maker.js.org/playground/?script=https://gist.githubusercontent.com/3kmch/c1eb398d8bcf6af2dafefc0c04a5b735/raw/8dfdae2388e8e557db0fb05d091b3f20da66d369/dogbones%2520and%2520chains
The text was updated successfully, but these errors were encountered: