Thank you very much! joel
Le lundi 17 avril 2006 à 18:09 -0500, Bill WIlson a écrit : > On Mon, 17 Apr 2006 11:51:05 +0200 > joel silvestre <[EMAIL PROTECTED]> wrote: > > > Selecting "Set as default" in the Route Style popup makes PCB issue a: > > WARNING: build_route_string() not fixed yet > > > > Setting an other size as default makes PCB issue the same warning and > > then segfault. > > Apply this patch and you'll be ahead of CVS! (Sourceforge seems to be > having another headache right now). > > I am noticing a usage problem though. If you "Set as default" for a route > style, PCB board size, or layer groups, you will only get those defaults > if you open up a blank board, that is no command line .pcb arg. But if > you open up a new .pcb created by running gsch2pcb, you would expect > to get your defaults and instead you get the size, routes, and layer defaults > that gsch2pcb inserted as a template. > > So I have 2 suggestions: > > 1) gsch2pcb needs to be modified to not put a "Groups" and "Styles" line > in its output so that the PCB program defaults (your "Set as default" > preferences > in the Gtk PCB) can take effect. And gsch2pcb should omit putting width and > height in the PCB() line, but this would also require a change to the PCB > program that > it use default width and height in this case. This wouldn't be backwards > compatible > since for some reason PCB will now set the board size to some huge values > instead > of the default values. > > 2) The for now workaround, if this matters to you, is after a first gsch2pcb > run, > then start pcb with no args and load the initial gsch2pcb .pcb file > with "File->Load layout data to paste buffer". You should then get your > defaults > recognized and after that, resume normal gsch2pcb -> pcb usage. > > Bill
