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

Freeze when a detailed gerber is processed with a low dpi value #1

Closed
corna opened this issue Mar 6, 2015 · 0 comments
Closed

Freeze when a detailed gerber is processed with a low dpi value #1

corna opened this issue Mar 6, 2015 · 0 comments

Comments

@corna
Copy link
Member

corna commented Mar 6, 2015

pcb2gcode freezes when a very detailed gerber is processed with a low dpi value (in my case, 1000)
A simple workaround is to increase the dpi value, but a proper solution should be found
With gdb I've noticed that the while(true) loop in calculate_outline function (within surface.cpp) never ends.

You can reproduce the error using this gerber file

https://gist.github.com/Corna/e3b0e5dc20e99738d14d

with these command line options

pcb2gcode --front=front.gtl --dpi=1000 --metric=true --metricoutput=true --optimise=true --zchange=10.0000 --zero-start=true --zsafe=5.0000 --extra-passes=0 --mill-feed=600 --mill-speed=10000 --offset=0.1000 --zwork=-0.0500 
@corna corna changed the title Software freezes when detailed gerber is used with low dpi value Freeze when a detailed gerber is processed with a low dpi value Mar 6, 2015
@corna corna added the bug label Apr 22, 2015
@corna corna closed this as completed Apr 21, 2016
eyal0 added a commit that referenced this issue Jan 11, 2019
Merge master into rpm_and_revs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant