Mail Archives: geda-user/2016/02/17/08:22:36
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
<mailto:matt DOT rhys-roberts AT envinsci DOT co DOT uk>) [via geda-user AT delorie DOT com
<mailto:geda-user AT delorie DOT com>] <geda-user AT delorie DOT com
<mailto: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
> <mailto:matt DOT rhys-roberts AT envinsci DOT co DOT uk>) [via geda-user AT delorie DOT com
> <mailto:geda-user AT delorie DOT com>] <geda-user AT delorie DOT com
> <mailto: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
> <mailto:petercjclifton AT googlemail DOT com>) [via geda-user AT delorie DOT com
> <mailto: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
>> <mailto:matt DOT rhys-roberts AT envinsci DOT co DOT uk>) [via
>> geda-user AT delorie DOT com <mailto:geda-user AT delorie DOT com>]
>> <geda-user AT delorie DOT com <mailto: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
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 17 February 2016 at 09:38, Matt Rhys-Roberts (<a
moz-do-not-send="true"
href="mailto:matt DOT rhys-roberts AT envinsci DOT co DOT uk" target="_blank">matt DOT rhys-roberts AT envinsci DOT co DOT uk</a>)
[via <a moz-do-not-send="true" href="mailto:geda-user AT delorie DOT com"
target="_blank">geda-user AT delorie DOT com</a>] <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:geda-user AT delorie DOT com"
target="_blank">geda-user AT delorie DOT com</a>></span> wrote:<br>
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).<br>
<br>
Not everyone is running a random git checkout from a random geda/pcb
git, Peter ... ;P<br>
<br>
MJE<br>
<br>
<div class="moz-cite-prefix">On 17/02/16 13:12, Peter Clifton
(<a class="moz-txt-link-abbreviated" href="mailto:petercjclifton AT googlemail DOT com">petercjclifton AT googlemail DOT com</a>) [via <a class="moz-txt-link-abbreviated" href="mailto:geda-user AT delorie DOT com">geda-user AT delorie DOT com</a>] wrote:<br>
</div>
<blockquote
cite="mid:CAJXU7q8uqU3qD_8cs3792hqD2_9ybWmspE3XPvaGbecN9VaOTA AT mail DOT gmail DOT com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>What version of PCB are you using (and from where?)<br>
<br>
</div>
Is it possible that you've got something quite old?<br>
<br>
</div>
I'm not sure where the fields are documented (aside from the
code).<br>
<br>
</div>
Peter<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 17 February 2016 at 13:03, Matt
Rhys-Roberts (<a moz-do-not-send="true"
href="mailto:matt DOT rhys-roberts AT envinsci DOT co DOT uk">matt DOT rhys-roberts AT envinsci DOT co DOT uk</a>)
[via <a moz-do-not-send="true"
href="mailto:geda-user AT delorie DOT com">geda-user AT delorie DOT com</a>]
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:geda-user AT delorie DOT com" target="_blank">geda-user AT delorie DOT com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Hi Peter,<br>
<br>
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... <br>
<br>
So I could do with knowing what all the DRC parameters
are called; are they defined anywhere?<br>
<br>
Regards<span class="HOEnZb"><font color="#888888"><br>
Matt</font></span>
<div>
<div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
On 17/02/16 12:30, Peter Clifton (<a
moz-do-not-send="true"
href="mailto:petercjclifton AT googlemail DOT com"
target="_blank">petercjclifton AT googlemail DOT com</a>)
[via <a moz-do-not-send="true"
href="mailto:geda-user AT delorie DOT com"
target="_blank">geda-user AT delorie DOT com</a>] wrote:<br>
</div>
</div>
</div>
<div>
<div class="h5">
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>~/.pcb/preferences contains DRC
vaules..<br>
<br>
</div>
Looking on my system, it appears there
may be some breakage though...<br>
<br>
min-width = 1 px<br>
min-silk = 1 px<br>
min-drill = 15.00 mil<br>
min-ring = 10.00 mil<br>
<br>
</div>
Hmm - what has pixels got to do with
anything... BUG? (it gets read in as
0.1mil .actually, but emitting px is
wrong)<br>
<br>
</div>
Anyway - try editing that file.. see if it
updates things.<br>
<br>
</div>
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).<br>
<br>
</div>
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?)<br>
<br>
</div>
Peter<br>
<div>
<div>
<div>
<div>
<div><br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 17 February 2016 at
09:38, Matt Rhys-Roberts (<a
moz-do-not-send="true"
href="mailto:matt DOT rhys-roberts AT envinsci DOT co DOT uk"
target="_blank">matt DOT rhys-roberts AT envinsci DOT co DOT uk</a>)
[via <a moz-do-not-send="true"
href="mailto:geda-user AT delorie DOT com"
target="_blank">geda-user AT delorie DOT com</a>] <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:geda-user AT delorie DOT com"
target="_blank">geda-user AT delorie DOT com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">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).<br>
<br>
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.<br>
<br>
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?<br>
<br>
Kind regards,<br>
Matt.<br>
</blockquote>
</div>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>
--------------070102010602010302030209--
- Raw text -