delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/02/17/08:03:42

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Subject: Re: [geda-user] settings file for pcb?
To: geda-user AT delorie DOT com
References: <56C43FA3 DOT 4090904 AT envinsci DOT co DOT uk>
<CAJXU7q8zkh_JWU3C3KOB73iK84PYXf-L4Hoq640dPYg7MQirWA AT mail DOT gmail DOT com>
From: "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>
Organization: Envin Scientific Ltd.
Message-ID: <56C46F91.3000900@envinsci.co.uk>
Date: Wed, 17 Feb 2016 13:03:13 +0000
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101
Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <CAJXU7q8zkh_JWU3C3KOB73iK84PYXf-L4Hoq640dPYg7MQirWA@mail.gmail.com>
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

This is a multi-part message in MIME format.
--------------030901020304040601060103
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

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 
> <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.
>


--------------030901020304040601060103
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mailout.firstinternet.co.uk id u1HCwShc065079

<html>
  <head>
    <meta content=3D"text/html; charset=3Dutf-8" http-equiv=3D"Content-Ty=
pe">
  </head>
  <body text=3D"#000000" bgcolor=3D"#FFFFFF">
    <div class=3D"moz-cite-prefix">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<br>
      Matt<br>
      <br>
      <br>
      <br>
      <br>
      <br>
      On 17/02/16 12:30, Peter Clifton (<a class=3D"moz-txt-link-abbrevia=
ted" href=3D"mailto:petercjclifton AT googlemail DOT com">petercjclifton AT googlem=
ail.com</a>)
      [via <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:geda-user=
@delorie.com">geda-user AT delorie DOT com</a>] wrote:<br>
    </div>
    <blockquote
cite=3D"mid:CAJXU7q8zkh_JWU3C3KOB73iK84PYXf-L4Hoq640dPYg7MQirWA AT mail DOT gmai=
l.com"
      type=3D"cite">
      <div dir=3D"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 =3D 1 px<br>
                  min-silk =3D 1 px<br>
                  min-drill =3D 15.00 mil<br>
                  min-ring =3D 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=3D"gmail_extra"><br>
        <div class=3D"gmail_quote">On 17 February 2016 at 09:38, Matt
          Rhys-Roberts (<a moz-do-not-send=3D"true"
            href=3D"mailto:matt DOT rhys-roberts AT envinsci DOT co DOT uk">matt.rhys-ro=
berts AT envinsci DOT co DOT uk</a>)
          [via <a moz-do-not-send=3D"true"
            href=3D"mailto:geda-user AT delorie DOT com">geda-user AT delorie DOT com</=
a>]
          <span dir=3D"ltr">&lt;<a moz-do-not-send=3D"true"
              href=3D"mailto:geda-user AT delorie DOT com" target=3D"_blank">ged=
a-user AT delorie DOT com</a>&gt;</span>
          wrote:<br>
          <blockquote class=3D"gmail_quote" style=3D"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=C2=A0 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>
  </body>
</html>

--------------030901020304040601060103--

- Raw text -


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