Skip to content

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

Description

@xfangfang

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 😊

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions