From: chrysn <ch...@fs...> - 2011-03-06 04:00:07
|
hello pcb2gcode developers, a back+outline run causes pcb2gcode to get stuck in an endless loop. the command line i am using is pcb2gcode --back main.back.gbr --outline main-onlypoly.outline.gbr with the files attached. also attached is a patch which adds a counter to the endless loop and dumps a debug image when enough steps have been made to go over every edge between two pixels twice. (i did not, as usually, add the patch to my package's patched branch as i'm not sure my understanding of how many times the loop can run through is correct.) the patch does not solve the problem, but it shows when it should already have completed its calculations and aborts. i currently don't have the time to look for the deeper roots of the problem myself, so i'm posting it here. slight changes in the gerber files make it work again (it seems to get stuck at the left side where the six vertically aligned drill holes have the line going right; if the line is attached somewhere else, no problem). regargs chrysn -- To use raw power is to make yourself infinitely vulnerable to greater powers. -- Bene Gesserit axiom |