Mail Archives: geda-user/2015/07/28/20:20:05
DJ Delorie wrote:
>> Maybe I am a bit naive. But how is this fundamentally different to
>> the way pcb chooses files on other occasions? E.g. the "Load Layout
>> file" dialogue.
>
> The difference is: the File->Open dialog is triggered by the GUI for
> the GUI, so the GUI knows how to do a GUI-specific file chooser.
I still don't quite get it. Can't the GUI fire a file chooser and
collect what other option the user chooses? It then calls the gerber
HID and passes the file name and options as parameters. Just like my
bash script does. Actually, this is how I always thought export in the
GTK-GUI works. Seems like I was wrong.
> The exporters do not know what GUI is available, so do not know how
> to bring up a GUI-specific file chooser. Those have to go through
> the attributes entry HID call, it's up to the GUI to decide how to
> ask the user for values for each attribute. There's a HID_Path type
> that can be used, though, if the GUI does something special with it.
>
>> There s the option "first" though. It makes pcb picks the name of
>> the first layer of a group. This tends to work out nicely for my
>> layer stacks.
>
> If it works for you, put it in your preferences.
I tried to put this line in ~/.pcb/preferences:
name-style = first
But the gerber dialogue still comes up with name style set to "fixed".
The same line in ~/.pcb/settings does not work either.
>> Could we tag a layer with an attribute as "non-copper"?
>
> We could, if someone wanted to, and figured out to integrate that
> flag into the UI.
Add a column of check boxes to the table in File->Preferences->Groups
Let the user check which layers should be considered as copper.
That was easy :-)
> Of course, those with the time to do so (few)
> usually prefer a more general solution than that.
Hmm, I understand the reasoning. But unless my memory fails, there was
talk about a general solution being necessary but too much work at
least since back in 2008.
---<)kaimartin(>---
- Raw text -