-
Notifications
You must be signed in to change notification settings - Fork 37
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
Keep getting "IndexError: list index out of range" #2
Comments
Does this still happen? update: yes it does:
It happens with your SVG, but not with mine SVGs... There's probably something that triggers it. |
I've used inkscape to break your svg into subpaths and one of the paths it created was empty:
probably svg2gcode should detect this and avoid processing such zero length shape? |
I don’t use the code anymore so I can’t say. Thanks for asking though.
David Wachs
Chief Robot Mechanic, Handwrytten
T: 602.792.7221<tel:602.792.7221> | M: 312.282.0912<tel:312.282.0912>
E: [email protected]<mailto:[email protected]> | W: www.handwrytten.com<http://www.handwrytten.com/>
Schedule a Meeting<https://app.hubspot.com/meetings/davidwachs/meet>
On Jul 13, 2018, at 7:18 PM, Tomas Mudrunka <[email protected]<mailto:[email protected]>> wrote:
Does this still happen?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#2 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ALnLJ5NAZqTmtOCt3ooQYA0Faus56Ytyks5uGVT1gaJpZM4J5Udp>.
|
Oh gotcha. Thank you!
David Wachs
Chief Robot Mechanic, Handwrytten
T: 602.792.7221<tel:602.792.7221> | M: 312.282.0912<tel:312.282.0912>
E: [email protected]<mailto:[email protected]> | W: www.handwrytten.com<http://www.handwrytten.com/>
Schedule a Meeting<https://app.hubspot.com/meetings/davidwachs/meet>
On Jul 13, 2018, at 7:24 PM, Tomas Mudrunka <[email protected]<mailto:[email protected]>> wrote:
I've used inkscape to break your svg into subpaths and one of the paths it created was empty:
<path
d="M 7.984375,7.15625"
id="path2"
inkscape:connector-curvature="0" />
probably svg2gcode should detect this and avoid processing such zero length shape?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#2 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ALnLJ8VIcv9IcOm-W-BL71I8ZJbYGzB4ks5uGVZYgaJpZM4J5Udp>.
|
I also met this problem when running svg
and I delete the last |
Hey, AWESOME code, but I have an issue...
when it parses my svgs, I keep getting index out of range... any idea what I can do to fix this?
I get this even with simple SVGs:
I've been struggling with this... any help you can lend would be amazing... thanks so much in advance.
The text was updated successfully, but these errors were encountered: