delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2020/03/23/13:09:38

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
bh=npI1gv/lDslC6nNBO5Gl4s6k0nhUM06oeBi7tAd9AjE=;
b=kzDmg1ZmHEc46BFJtd2VpAXIjCGpiKcKlPc3AaJEkMjf6aLekJKhIJYlR8WrLwHd9Y
yCxnHA66U1kWM6nXstT83EA91ggX8gezJenThQ/T0TlriACNQ1EApoJM9erJy4MqM9xI
6y/mk7wDWg7SEzzrVWZfus/KzizB67LHJwZ+3Zx+GxdT0zQGQIAgiGXY+1XHjE7Cil62
4iwIAci93+ugl2zxZxphADmdKcVpqc2zFPFTecuQllwtBOs90tpN+feUXxV3xsEk0AR4
PuV1noSh2OjX65IjAKLeK14W/ozqHFb0odlTQEr+7FvjD8ZZIMtU7xc0E44Y16s75aeS
XxjA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to;
bh=npI1gv/lDslC6nNBO5Gl4s6k0nhUM06oeBi7tAd9AjE=;
b=q9vXjm8FYLGQS6PlCfRuDUqv/zT0q61n3UWLofzia7SIpxq9Zszt2sU3c3XTWs0i/1
hAxZyFPOgEFdpqNf880/9wFe8CWM/kKvbEr7VRJ/z0hxOsg5oq53peGGZV/t/d3exZud
FR/XLKQS+goPavG3qcBmRxoTidt9PNqYh9+GbzAMBWOdM+vni+uM961habd0Vj0Q6WOA
jpCn9E+/oQq3tNehQwfE5c066WXdY1vT5iYJ47k6pTYPnOj4CTOm4Fye6drzJU/XIl1J
OKrauy524tfLN0FnA5/4rckK3nVLmIif0ef+x+SJprvdBNnXQF8z32rUgTUJAkCOfsk6
1scg==
X-Gm-Message-State: ANhLgQ00slB33681o7mA3/tFeQ9L5tpjR37hrOFzsLYAdCLtxIcm+RUt
MH6WeJo7epVz2QfjOnS0NV9i4fJx4n5IHtSv1VvRnpYS
X-Google-Smtp-Source: ADFU+vv5eOeMVtabq5f+1/n86EjgXMPePW9ETGd7WkzDEJDbk8YaiM6XWnsRFoJjopm5LPY1Lcf+sLqqcB6Wh++lQP8=
X-Received: by 2002:a2e:8ec7:: with SMTP id e7mr13935307ljl.36.1584982433730;
Mon, 23 Mar 2020 09:53:53 -0700 (PDT)
MIME-Version: 1.0
References: <CAMw9acDF7LA+jL_JNw-6BcN8jOP4jrb_iK3EG44Gt4+JB6UX7A AT mail DOT gmail DOT com>
<20200323011525 DOT GB1428 AT newvzh DOT lokolhoz> <CAMw9acAXKBRF1poVdOu=Rz3+YT3fZ5Nw1C-yMZ6j8bidgiEp4w AT mail DOT gmail DOT com>
In-Reply-To: <CAMw9acAXKBRF1poVdOu=Rz3+YT3fZ5Nw1C-yMZ6j8bidgiEp4w@mail.gmail.com>
From: "Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
Date: Mon, 23 Mar 2020 17:53:42 +0100
Message-ID: <CAMw9acByS1hWV_nCScTbLc84MsEW+KxDQ8XG4mXz3_OVqo9YEQ@mail.gmail.com>
Subject: Re: [geda-help] gsch2pcb
To: geda-help AT delorie DOT com
Reply-To: geda-help AT delorie DOT com

--000000000000f0150005a1887ae1
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Valdimir,
I can't make ChangeDrillSize work.
1. I select all the holes in an element I want to change
2. I go to the terminal and key :ChangeDrillSize(SelectedPins,40,mil) <CR>
3. the curser moves to the next line
4. I select "Generate object report"
5. I check the hole size and nothing has happened
Can you help?
torben


On Mon, Mar 23, 2020 at 9:35 AM Torben Friis <friistf AT gmail DOT com> wrote:

> Hi Vladimir,
> That worked.
> Thank you very much.
> torben
>
> On Mon, Mar 23, 2020 at 2:41 AM Vladimir Zhbanov (vzhbanov AT gmail DOT com)
> [via geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:
>
>> On Sun, Mar 22, 2020 at 12:07:19PM +0100, Torben Friis (friistf AT gmail DOT co=
m)
>> [via geda-help AT delorie DOT com] wrote:
>> > Hi,
>> > I have run a one.sch file through "gsch2pcb -v project" and I get the
>> > messages:
>> >
>> > Reading project file: project
>> >     schematics "one.sch"
>> >     output-name "board"
>> > Processing
>> PCBLIBPATH=3D"/usr/share/pcb/pcblib-newlib:/usr/share/pcb/newlib"
>> > Running command:
>> > gnetlist -g pcbpins -o board.cmd one.sch
>> > --------
>> > Loading schematic [/home/torben/gaf/proj2/one.sch]
>> >
>> > --------
>> > Running command:
>> > gnetlist -g PCB -o board.net one.sch
>> > --------
>> > Loading schematic [/home/torben/gaf/proj2/one.sch]
>> >
>> > --------
>> > Default m4-pcbdir: /usr/share/pcb/pcb/m4
>> > --------
>> > gnet-gsch2pcb-tmp.scm override file:
>> >     (define gsch2pcb:pcb-m4-dir "/usr/share/pcb/pcb/m4")
>> >     (define gsch2pcb:use-m4 #t)
>> > Running command:
>> > gnetlist -g gsch2pcb -o board.pcb -m gnet-gsch2pcb-tmp.scm one.sch
>> > --------
>> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
>> > gsch2pcb backend configuration:
>> >
>> >    ----------------------------------------
>> >    Variables which may be changed in gafrc:
>> >    ----------------------------------------
>> >    gsch2pcb:pcb-m4-command:    "/usr/bin/m4"
>> >    gsch2pcb:pcb-m4-dir:        "/usr/share/pcb/pcb/m4"
>> >    gsch2pcb:pcb-m4-path:       ("$HOME/.pcb" ".")
>> >    gsch2pcb:m4-files:          ""
>> >
>> >    ---------------------------------------------------
>> >    Variables which may be changed in the project file:
>> >    ---------------------------------------------------
>> >    gsch2pcb:use-m4:            yes
>> >
>> >    ----------------
>> >    M4 command line:
>> >    ----------------
>> >    /usr/bin/m4 -d -I/usr/share/pcb/pcb/m4 -I$HOME/.pcb -I.
>> > /usr/share/pcb/pcb/m4/common.m4  - >> board.pcb
>> >
>> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
>> > Using the m4 processor for pcb footprints
>> > Loading schematic [/home/torben/gaf/proj2/one.sch]
>> >
>> > --------
>> > Running command:
>> > rm board.pcb.tmp
>> > --------
>> >
>> > --------
>> > Running command:
>> > rm board.pcb
>> > --------
>> >
>> > --------
>> > No elements found, so nothing to do.
>> >
>> > I am no expert, but everything in the verbose reply looks normal -
>> except
>> > that there are some references to  m4 ("/usr/bin/m4" is empty). The
>> > "one.sch" file looks normal (to me) and so does the "project" file.
>>
>> Torben,
>>
>> "m4" is a program which is usually installed at "/usr/bin" in
>> Linux distributions.  Have you installed it?  Or maybe it has
>> another location on your system? You have to install the PCB
>> program, too, to make something useful with gsch2pcb (or
>> lepton-sch2pcb).
>>
>> --
>>   Vladimir
>>
>> (=CE=BB)=CE=B5=CF=80=CF=84=CF=8C=CE=BD EDA =E2=80=94 https://github.com/=
lepton-eda
>>
>

--000000000000f0150005a1887ae1
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he=
lvetica,sans-serif;font-size:large">Hi Valdimir,</div><div class=3D"gmail_d=
efault" style=3D"font-family:arial,helvetica,sans-serif;font-size:large">I =
can&#39;t make ChangeDrillSize work.</div><div class=3D"gmail_default" styl=
e=3D"font-family:arial,helvetica,sans-serif;font-size:large">1. I select al=
l the holes in an element I want to change</div><div class=3D"gmail_default=
" style=3D"font-family:arial,helvetica,sans-serif;font-size:large">2. I go =
to the terminal and key :ChangeDrillSize(SelectedPins,40,mil) &lt;CR&gt;</d=
iv><div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-s=
erif;font-size:large">3. the curser moves to the next line</div><div class=
=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif;font-siz=
e:large">4. I select &quot;Generate object report&quot;</div><div class=3D"=
gmail_default" style=3D"font-family:arial,helvetica,sans-serif;font-size:la=
rge">5. I check the hole size and nothing has happened</div><div class=3D"g=
mail_default" style=3D"font-family:arial,helvetica,sans-serif;font-size:lar=
ge">Can you help?</div><div class=3D"gmail_default" style=3D"font-family:ar=
ial,helvetica,sans-serif;font-size:large">torben<br></div><div class=3D"gma=
il_default" style=3D"font-family:arial,helvetica,sans-serif;font-size:large=
"><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"=
gmail_attr">On Mon, Mar 23, 2020 at 9:35 AM Torben Friis &lt;<a href=3D"mai=
lto:friistf AT gmail DOT com">friistf AT gmail DOT com</a>&gt; wrote:<br></div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s=
olid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmai=
l_default" style=3D"font-family:arial,helvetica,sans-serif;font-size:large"=
>Hi Vladimir,</div><div class=3D"gmail_default" style=3D"font-family:arial,=
helvetica,sans-serif;font-size:large">That worked.</div><div class=3D"gmail=
_default" style=3D"font-family:arial,helvetica,sans-serif;font-size:large">=
Thank you very much.</div><div class=3D"gmail_default" style=3D"font-family=
:arial,helvetica,sans-serif;font-size:large">torben<br></div></div><br><div=
 class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Mar 23=
, 2020 at 2:41 AM Vladimir Zhbanov (<a href=3D"mailto:vzhbanov AT gmail DOT com" t=
arget=3D"_blank">vzhbanov AT gmail DOT com</a>) [via <a href=3D"mailto:geda-help AT d=
elorie.com" target=3D"_blank">geda-help AT delorie DOT com</a>] &lt;<a href=3D"mai=
lto:geda-help AT delorie DOT com" target=3D"_blank">geda-help AT delorie DOT com</a>&gt; =
wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, M=
ar 22, 2020 at 12:07:19PM +0100, Torben Friis (<a href=3D"mailto:friistf AT gm=
ail.com" target=3D"_blank">friistf AT gmail DOT com</a>) [via <a href=3D"mailto:ge=
da-help AT delorie DOT com" target=3D"_blank">geda-help AT delorie DOT com</a>] wrote:<br=
>
&gt; Hi,<br>
&gt; I have run a one.sch file through &quot;gsch2pcb -v project&quot; and =
I get the<br>
&gt; messages:<br>
&gt; <br>
&gt; Reading project file: project<br>
&gt;=C2=A0 =C2=A0 =C2=A0schematics &quot;one.sch&quot;<br>
&gt;=C2=A0 =C2=A0 =C2=A0output-name &quot;board&quot;<br>
&gt; Processing PCBLIBPATH=3D&quot;/usr/share/pcb/pcblib-newlib:/usr/share/=
pcb/newlib&quot;<br>
&gt; Running command:<br>
&gt; gnetlist -g pcbpins -o board.cmd one.sch<br>
&gt; --------<br>
&gt; Loading schematic [/home/torben/gaf/proj2/one.sch]<br>
&gt; <br>
&gt; --------<br>
&gt; Running command:<br>
&gt; gnetlist -g PCB -o <a href=3D"http://board.net" rel=3D"noreferrer" tar=
get=3D"_blank">board.net</a> one.sch<br>
&gt; --------<br>
&gt; Loading schematic [/home/torben/gaf/proj2/one.sch]<br>
&gt; <br>
&gt; --------<br>
&gt; Default m4-pcbdir: /usr/share/pcb/pcb/m4<br>
&gt; --------<br>
&gt; gnet-gsch2pcb-tmp.scm override file:<br>
&gt;=C2=A0 =C2=A0 =C2=A0(define gsch2pcb:pcb-m4-dir &quot;/usr/share/pcb/pc=
b/m4&quot;)<br>
&gt;=C2=A0 =C2=A0 =C2=A0(define gsch2pcb:use-m4 #t)<br>
&gt; Running command:<br>
&gt; gnetlist -g gsch2pcb -o board.pcb -m gnet-gsch2pcb-tmp.scm one.sch<br>
&gt; --------<br>
&gt; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D<br>
&gt; gsch2pcb backend configuration:<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 ----------------------------------------<br>
&gt;=C2=A0 =C2=A0 Variables which may be changed in gafrc:<br>
&gt;=C2=A0 =C2=A0 ----------------------------------------<br>
&gt;=C2=A0 =C2=A0 gsch2pcb:pcb-m4-command:=C2=A0 =C2=A0 &quot;/usr/bin/m4&q=
uot;<br>
&gt;=C2=A0 =C2=A0 gsch2pcb:pcb-m4-dir:=C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;/us=
r/share/pcb/pcb/m4&quot;<br>
&gt;=C2=A0 =C2=A0 gsch2pcb:pcb-m4-path:=C2=A0 =C2=A0 =C2=A0 =C2=A0(&quot;$H=
OME/.pcb&quot; &quot;.&quot;)<br>
&gt;=C2=A0 =C2=A0 gsch2pcb:m4-files:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quo=
t;&quot;<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 ---------------------------------------------------<br>
&gt;=C2=A0 =C2=A0 Variables which may be changed in the project file:<br>
&gt;=C2=A0 =C2=A0 ---------------------------------------------------<br>
&gt;=C2=A0 =C2=A0 gsch2pcb:use-m4:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 yes<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 ----------------<br>
&gt;=C2=A0 =C2=A0 M4 command line:<br>
&gt;=C2=A0 =C2=A0 ----------------<br>
&gt;=C2=A0 =C2=A0 /usr/bin/m4 -d -I/usr/share/pcb/pcb/m4 -I$HOME/.pcb -I.<b=
r>
&gt; /usr/share/pcb/pcb/m4/common.m4=C2=A0 - &gt;&gt; board.pcb<br>
&gt; <br>
&gt; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D<br>
&gt; Using the m4 processor for pcb footprints<br>
&gt; Loading schematic [/home/torben/gaf/proj2/one.sch]<br>
&gt; <br>
&gt; --------<br>
&gt; Running command:<br>
&gt; rm board.pcb.tmp<br>
&gt; --------<br>
&gt; <br>
&gt; --------<br>
&gt; Running command:<br>
&gt; rm board.pcb<br>
&gt; --------<br>
&gt; <br>
&gt; --------<br>
&gt; No elements found, so nothing to do.<br>
&gt; <br>
&gt; I am no expert, but everything in the verbose reply looks normal - exc=
ept<br>
&gt; that there are some references to=C2=A0 m4 (&quot;/usr/bin/m4&quot; is=
 empty). The<br>
&gt; &quot;one.sch&quot; file looks normal (to me) and so does the &quot;pr=
oject&quot; file.<br>
<br>
Torben,<br>
<br>
&quot;m4&quot; is a program which is usually installed at &quot;/usr/bin&qu=
ot; in<br>
Linux distributions.=C2=A0 Have you installed it?=C2=A0 Or maybe it has<br>
another location on your system? You have to install the PCB<br>
program, too, to make something useful with gsch2pcb (or<br>
lepton-sch2pcb).<br>
<br>
-- <br>
=C2=A0 Vladimir<br>
<br>
(=CE=BB)=CE=B5=CF=80=CF=84=CF=8C=CE=BD EDA =E2=80=94 <a href=3D"https://git=
hub.com/lepton-eda" rel=3D"noreferrer" target=3D"_blank">https://github.com=
/lepton-eda</a><br>
</blockquote></div>
</blockquote></div>

--000000000000f0150005a1887ae1--

- Raw text -


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