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

Hatch fill fails on certain object types #177

Open
oskay opened this issue Jun 22, 2022 · 1 comment
Open

Hatch fill fails on certain object types #177

oskay opened this issue Jun 22, 2022 · 1 comment
Labels

Comments

@oskay
Copy link
Contributor

oskay commented Jun 22, 2022

Hatch fill really works on paths only.

Testing a file that contains a polygon object produces a traceback:

  File "/Users/me/Library/Application Support/org.inkscape.Inkscape/config/inkscape/extensions/axidraw_deps/axidrawinternal/eggbot_hatch.py", line 710, in addPathVertices
    sp = simplepath.parsePath(path)
  File "/Users/me/Library/Application Support/org.inkscape.Inkscape/config/inkscape/extensions/axidraw_deps/ink_extensions/simplepath.py", line 116, in parsePath
    raise Exception('Invalid number of parameters')
Exception: Invalid number of parameters

As a full rewrite of Hatch Fill is planned, we should probably not implement all object types here, but instead add a warning about using Object to Path rather than have a traceback.

@oskay oskay added the bug label Jun 22, 2022
@oskay
Copy link
Contributor Author

oskay commented Sep 30, 2022

I've been unable to reproduce this lately; if someone has a test case that shows a traceback here, that would be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant