www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/07/28/20:20:05

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: geda-user AT delorie DOT com
From: Kai-Martin Knaak <kmk AT familieknaak DOT de>
Subject: Re: [geda-user] bug? in Gerber Export in PCB
Date: Wed, 29 Jul 2015 02:19:37 +0200
Lines: 52
Message-ID: <mp966r$9qc$1@ger.gmane.org>
References: <55B6674B DOT 9080108 AT buffalo DOT edu> <201507271725 DOT t6RHPkdo007711 AT envy DOT delorie DOT com> <mp62qe$c27$1 AT ger DOT gmane DOT org> <201507272127 DOT t6RLRwjG019810 AT envy DOT delorie DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT ger DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: a89-182-251-185.net-htp.de
User-Agent: KNode/4.14.1
Reply-To: geda-user AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019