Skip to content
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

incorrect pattern was generated (possibly related to the Z instruction) #17

Open
xfangfang opened this issue Jun 20, 2024 · 0 comments
Open

Comments

@xfangfang
Copy link

Hello, thank you very much for providing this project

I just started using OpenSCAD and I am very happy to use this library to print SVG patterns. I would like to print some SVG patterns from this website: https://www.iconfinder.com/search/icons?family=remixicon&license=gte__1

Found some minor issues:

  1. Extra space is required when z appears in the middle of the path

original image:
image

M8 5h8a7 7 0 0 1 0 14H8A7 7 0 0 1 8 5zm8 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6z
image

M8 5h8a7 7 0 0 1 0 14H8A7 7 0 0 1 8 5z m8 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6z
image

  1. Sometimes the drawn content does not match the webpage display

original image:
image

M0 0 l 0 10 l 10 0 zM 10 0 l 10 0 l 0 10 z
image

M0 0 l 0 10 l 10 0 z M 10 0 l 10 0 l 0 10 z
image

Because the code is quite long, I think it will take me some time to figure out how to fix this issue.

Thank you again for your repo 😊

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

No branches or pull requests

1 participant