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: <20200323011525 DOT GB1428 AT newvzh DOT lokolhoz> In-Reply-To: From: "Torben Friis (friistf AT gmail DOT com) [via geda-help AT delorie DOT com]" Date: Mon, 23 Mar 2020 17:53:42 +0100 Message-ID: Subject: Re: [geda-help] gsch2pcb To: geda-help AT delorie DOT com Content-Type: multipart/alternative; boundary="000000000000f0150005a1887ae1" 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) 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 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] 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
Hi Valdimir,
I = can't make ChangeDrillSize work.
1. I select al= l 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, M= ar 22, 2020 at 12:07:19PM +0100, Torben Friis (friistf AT gmail DOT com) [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
>=C2=A0 =C2=A0 =C2=A0schematics "one.sch"
>=C2=A0 =C2=A0 =C2=A0output-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:
>=C2=A0 =C2=A0 =C2=A0(define gsch2pcb:pcb-m4-dir "/usr/share/pcb/pc= b/m4")
>=C2=A0 =C2=A0 =C2=A0(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:
>
>=C2=A0 =C2=A0 ----------------------------------------
>=C2=A0 =C2=A0 Variables which may be changed in gafrc:
>=C2=A0 =C2=A0 ----------------------------------------
>=C2=A0 =C2=A0 gsch2pcb:pcb-m4-command:=C2=A0 =C2=A0 "/usr/bin/m4&q= uot;
>=C2=A0 =C2=A0 gsch2pcb:pcb-m4-dir:=C2=A0 =C2=A0 =C2=A0 =C2=A0 "/us= r/share/pcb/pcb/m4"
>=C2=A0 =C2=A0 gsch2pcb:pcb-m4-path:=C2=A0 =C2=A0 =C2=A0 =C2=A0("$H= OME/.pcb" ".")
>=C2=A0 =C2=A0 gsch2pcb:m4-files:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 &quo= t;"
>
>=C2=A0 =C2=A0 ---------------------------------------------------
>=C2=A0 =C2=A0 Variables which may be changed in the project file:
>=C2=A0 =C2=A0 ---------------------------------------------------
>=C2=A0 =C2=A0 gsch2pcb:use-m4:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= yes
>
>=C2=A0 =C2=A0 ----------------
>=C2=A0 =C2=A0 M4 command line:
>=C2=A0 =C2=A0 ----------------
>=C2=A0 =C2=A0 /usr/bin/m4 -d -I/usr/share/pcb/pcb/m4 -I$HOME/.pcb -I. > /usr/share/pcb/pcb/m4/common.m4=C2=A0 - >> 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 - exc= ept
> that there are some references to=C2=A0 m4 ("/usr/bin/m4" is= empty). The
> "one.sch" file looks normal (to me) and so does the "pr= oject" file.

Torben,

"m4" is a program which is usually installed at "/usr/bin&qu= ot; in
Linux distributions.=C2=A0 Have you installed it?=C2=A0 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).

--
=C2=A0 Vladimir

(=CE=BB)=CE=B5=CF=80=CF=84=CF=8C=CE=BD EDA =E2=80=94 https://github.com= /lepton-eda
--000000000000f0150005a1887ae1--