X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Message-ID: <56C47412.2070206@iee.org> Date: Wed, 17 Feb 2016 13:22:26 +0000 From: "M. J. Everitt (m DOT j DOT everitt AT iee DOT org) [via geda-user AT delorie DOT com]" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: geda-user AT delorie DOT com Subject: Re: [geda-user] settings file for pcb? References: <56C43FA3 DOT 4090904 AT envinsci DOT co DOT uk> <56C46F91 DOT 3000900 AT envinsci DOT co DOT uk> In-Reply-To: X-Enigmail-Version: 1.6 OpenPGP: id=93C22371 Content-Type: multipart/alternative; boundary="------------070102010602010302030209" X-Provags-ID: V03:K0:kEbi4MX1FKM0r3UmBsAUYDtnMUWDAnBQG1mVePFbx8+ni2d879v 9T6znUVXbABvtZXEkQQxEqVZ1IMIlGQZ/ekmRUYNJPggzYvI5C/EBQij0MckgaIm817/a5w n9L1gaO+S38s8IxvoanY85jtTIo94iHVH9bXMgWsHXBoJj57iuil0KhNAaOZB/ns/QL3qwO yQOyxhPPMlVFVJ5FnqhDA== X-UI-Out-Filterresults: notjunk:1;V01:K0:ZMo3AaW6/yc=:yyaTWj0sMBZvpCr0a5Kkd6 4Pd1IfMdfslBxiGUXX4URWi4U9tNtL7Aiz6FmdZjaKjh5U54CumTdgmNOtSkuK+ulHh7Jgfvp ZYlv/CMrfDGd0tqn3feEira5M7wR34Tg8CdFNdxhgc7wPfEW8zqbLBYgo/Nb8dk/CBwzki6PS qsB0MJFhVXWq/gNelZSlBoon41PDwegHsutGs2RLEdJQk5bQQlwqKxH89TdIGQET8aADJy22s qvxS42SqwvHV4Is5D1t7C4Oj2DaL5Lk95blfA2NmUOeatD536gXGDdgH/2VCuuoM/BYHdgo4H 7naIRnYpTUxQfWtyjfnJin9t1+Z1JQku/h0Cqb2hxYYoKg7JcbslSIyQH29d16dhqdrVOKr4K pNXN+ZuUbEyd8u4o04PEg/XmdzfuiN+r8zCWarrrQcgzMvd+6uAWVWY+OBvxhpYpfLs4rA5VB pkIcM0+y6ko6hd3TYYCqRH4eawSCQg5j7Y2dhf/i8KACJD6BEri3IGHBJVSyf0Ty4tm0+oQ+q 9efhWyKVlddMTxxBdT79+OohiLIOyi1dD5AznHgwqga8mjTKtYOAMTPrtHKjSayOlx51JPxcO sYyGEuMFZ7IBh9mjyPz/6RI2Dvnj2A9XezCVrSiYQKUxgoyPIOcbNXevpquOEvbdM0SGaoIrT +gyaK9cfW66cN9ESVx3HJXXMMyRZq+OROa1e/LyP3qfbzaT9+PeiLuk08to1ru+8/HDfP4vub VGlAzu84C+zjeD4m Reply-To: geda-user AT delorie DOT com This is a multi-part message in MIME format. --------------070102010602010302030209 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 17 February 2016 at 09:38, Matt Rhys-Roberts (matt DOT rhys-roberts AT envinsci DOT co DOT uk ) [via geda-user AT delorie DOT com ] > wrote: I'm trying to pre-set the default DRC settings on my old version of pcb (20110918 Compiled on Jul 2 2013 at 11:26:16). Not everyone is running a random git checkout from a random geda/pcb git, Peter ... ;P MJE On 17/02/16 13:12, Peter Clifton (petercjclifton AT googlemail DOT com) [via geda-user AT delorie DOT com] wrote: > What version of PCB are you using (and from where?) > > Is it possible that you've got something quite old? > > I'm not sure where the fields are documented (aside from the code). > > Peter > > On 17 February 2016 at 13:03, Matt Rhys-Roberts > (matt DOT rhys-roberts AT envinsci DOT co DOT uk > ) [via geda-user AT delorie DOT com > ] > wrote: > > Hi Peter, > > I've looked in my ~/.pcb/preferences, and there are no DRC values > there at all. I wonder what would happen if I added some... > > So I could do with knowing what all the DRC parameters are called; > are they defined anywhere? > > Regards > Matt > > > > > > > On 17/02/16 12:30, Peter Clifton (petercjclifton AT googlemail DOT com > ) [via geda-user AT delorie DOT com > ] wrote: >> ~/.pcb/preferences contains DRC vaules.. >> >> Looking on my system, it appears there may be some breakage though... >> >> min-width = 1 px >> min-silk = 1 px >> min-drill = 15.00 mil >> min-ring = 10.00 mil >> >> Hmm - what has pixels got to do with anything... BUG? (it gets >> read in as 0.1mil .actually, but emitting px is wrong) >> >> Anyway - try editing that file.. see if it updates things. >> >> Be aware that some preferences are saved between PCB runs (but a >> quick check suggests these DRC clearances are not updated in the >> file, so should persist once you edit the file). >> >> If you create a new design with the old gsch2pcb flow, the >> defaults it starts with come from a hard-coded template PCB file >> in the netlister back-end, but as you specifically said "new >> instance of pcb", I assume you're actually just starting a fresh >> copy of pcb with no design loaded. (And perhaps using the import >> schematics functionality to create your new design?) >> >> Peter >> >> >> >> On 17 February 2016 at 09:38, Matt Rhys-Roberts >> (matt DOT rhys-roberts AT envinsci DOT co DOT uk >> ) [via >> geda-user AT delorie DOT com ] >> > wrote: >> >> I'm trying to pre-set the default DRC settings on my old >> version of pcb (20110918 Compiled on Jul 2 2013 at 11:26:16). >> >> There is nothing I can do to make pcb remember any kind of >> DRC settings from project to project. What you tell me should >> work, doesn't. >> >> Please can anyone tell me what settings/config file to create >> or edit, so that every time I open a new instance of pcb, the >> DRC settings are just there? Or doesn't it work that way? >> >> Kind regards, >> Matt. >> > > --------------070102010602010302030209 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit On 17 February 2016 at 09:38, Matt Rhys-Roberts (matt DOT rhys-roberts AT envinsci DOT co DOT uk) [via geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote:
I'm trying to pre-set the default DRC settings on my old version of pcb (20110918 Compiled on JulĀ  2 2013 at 11:26:16).

Not everyone is running a random git checkout from a random geda/pcb git, Peter ... ;P

MJE

On 17/02/16 13:12, Peter Clifton (petercjclifton AT googlemail DOT com) [via geda-user AT delorie DOT com] wrote:
What version of PCB are you using (and from where?)

Is it possible that you've got something quite old?

I'm not sure where the fields are documented (aside from the code).

Peter

On 17 February 2016 at 13:03, Matt Rhys-Roberts (matt DOT rhys-roberts AT envinsci DOT co DOT uk) [via geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote:
Hi Peter,

I've looked in my ~/.pcb/preferences, and there are no DRC values there at all. I wonder what would happen if I added some...

So I could do with knowing what all the DRC parameters are called; are they defined anywhere?

Regards
Matt






On 17/02/16 12:30, Peter Clifton (petercjclifton AT googlemail DOT com) [via geda-user AT delorie DOT com] wrote:
~/.pcb/preferences contains DRC vaules..

Looking on my system, it appears there may be some breakage though...

min-width = 1 px
min-silk = 1 px
min-drill = 15.00 mil
min-ring = 10.00 mil

Hmm - what has pixels got to do with anything... BUG? (it gets read in as 0.1mil .actually, but emitting px is wrong)

Anyway - try editing that file.. see if it updates things.

Be aware that some preferences are saved between PCB runs (but a quick check suggests these DRC clearances are not updated in the file, so should persist once you edit the file).

If you create a new design with the old gsch2pcb flow, the defaults it starts with come from a hard-coded template PCB file in the netlister back-end, but as you specifically said "new instance of pcb", I assume you're actually just starting a fresh copy of pcb with no design loaded. (And perhaps using the import schematics functionality to create your new design?)

Peter



On 17 February 2016 at 09:38, Matt Rhys-Roberts (matt DOT rhys-roberts AT envinsci DOT co DOT uk) [via geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote:
I'm trying to pre-set the default DRC settings on my old version of pcb (20110918 Compiled on JulĀ  2 2013 at 11:26:16).

There is nothing I can do to make pcb remember any kind of DRC settings from project to project. What you tell me should work, doesn't.

Please can anyone tell me what settings/config file to create or edit, so that every time I open a new instance of pcb, the DRC settings are just there? Or doesn't it work that way?

Kind regards,
Matt.



--------------070102010602010302030209--