delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/07/18/20:36:09

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=/pSBMmhYhsQeJh6WIAaWbKS9Z2KCn2k3nuaf1T80aYo=;
b=PQOb1TqrTLk7wKvSoqlAh7PyW3rpnHhuUCYxnaJua3ifsmSe+b1Qv8mJBRZwdzfmYv
EaAhdjoFTbuGcGjY5hGts3dxHvEmLk2QaQhFGX6bhBYjuWEfVYT9i9FNRnzGBJdE80Xt
mB5gDhLdiNGCs77dJhyoSxNdWtvMu5LVzpvZCP96ybfsLLOHsBNeZHlKI84Bni1CzdP+
Uh3J1qfdYnoVqQBaJxYNdxnERegRQleALqf2E8wJLcdUZwdNDkjDGzl1y2VPk2+dhgjK
xPRuBQPQWEOJIW2FZCPt+mm6Nb2mJp7Yt37mkOuL5Tt4ZIkdc1oNVl6mZFQK7QTQfW5L
7UCA==
MIME-Version: 1.0
X-Received: by 10.202.179.87 with SMTP id c84mr16429030oif.110.1437266133884;
Sat, 18 Jul 2015 17:35:33 -0700 (PDT)
In-Reply-To: <alpine.DEB.2.00.1507181958130.6924@igor2priv>
References: <alpine DOT DEB DOT 2 DOT 00 DOT 1507181958130 DOT 6924 AT igor2priv>
Date: Sun, 19 Jul 2015 10:05:33 +0930
Message-ID: <CAHUm0tN00Ge4gKLMBOngteU9Uq3V1SmHZpRJKyL4ibmbQf7NYw@mail.gmail.com>
Subject: Re: [geda-user] pcb-rnd: parametric footprints (status update)
From: "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user <geda-user AT delorie DOT 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

--001a113cd1f45bc174051b2f996d
Content-Type: text/plain; charset=UTF-8

Good work,

in my opinion, one of the biggest hurdles/learning curves for new users is
getting workable footprints when moving from gschem to pcb. Anything that
simplifies generic footprint selection during design is good for
prospective users.

Regards,

Erich

On Sun, Jul 19, 2015 at 3:49 AM, <gedau AT igor2 DOT repo DOT hu> wrote:

> Hi all,
>
> I'm doing a pcb-rnd [1] marathon this weekend. I estimate that the first
> version of the new footprint system will be ready by monday. A little
> teaser:
>
>
> http://igor2.repo.hu/tmp/pcb-rnd-fp.avi
>
>
> Short version: on-the-fly, language-independent footprint generation that
> works in the library preview dialog and in sch->pcb.
>
> Long version - things that already work:
>
> - Footprints are either static (from file, "file elements") or parametric
> (generated by an external program)
>
> - The heuristics to decide whether a footprint is parametric is simple: if
> the footprint attribute/name contains parentheses, it is parametric. The
> file name doesn't contain (), tho.
>
> - I've refactored all the element search/open code in pcb-rnd into
> pcblib_fp.[ch] so that all the above is centralized and coded only once.
> More code has been deleted than what I had to add and the result is more
> generic.
>
> - As shown on the video, I managed to change the gtk hid to use parametric
> footprints in the library window.
>
> - Vladimir contributed a gnet-gsch2pcb.scm variant that does not have any
> m4 or footprint attribute mangling in it, it lists all footprints 1:1.
> Thanks!
>
> - I've forked gsch2pcb into gsch2pcb-rnd so that it uses the same
> pcblib_fp - no more code/heuristics duplication between pcb and gschem.
>
> - There are provisions for running on win32 (there's an optional wrapper
> around running the external footprint generators so there's no hardwired
> dependency on POSIX shell or FHS paths anywhere - on windows it can be a
> bash.exe or a small C code that reads the shebang and executes the
> generator script with the interpreter specified).
>
> - I've written a few footprint generators in awk (connector(), dip(),
> so()); they are also accessible online [2].
>
> - I've started to build the default library of pcb-rnd, which will contain
> essential footprints only. It's the cleanup we were discussing on the list
> a few months ago: a small set of footprints a new user is likely to use. No
> exotic parts. I plan to provide a lot of the common footprints from
> generators. I will minimize my dependencies: my generators will depend on
> shell and awk only (windows: this means two standalone exes; UNIX: both are
> generally available on normal installations).
>
> Regards,
>
> Igor2
>
> [1] http://repo.hu/projects/pcb-rnd
> [2] http://igor2.repo.hu/cgi-bin/pcblib-param.cgi
>

--001a113cd1f45bc174051b2f996d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>Good work,<br><br></div>in my opinion, one =
of the biggest hurdles/learning curves for new users is getting workable fo=
otprints when moving from gschem to pcb. Anything that simplifies generic f=
ootprint selection during design is good for prospective users.<br><br></di=
v>Regards,<br><br></div>Erich<br></div><div class=3D"gmail_extra"><br><div =
class=3D"gmail_quote">On Sun, Jul 19, 2015 at 3:49 AM,  <span dir=3D"ltr">&=
lt;<a href=3D"mailto:gedau AT igor2 DOT repo DOT hu" target=3D"_blank">gedau AT igor2 DOT rep=
o.hu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I&#39;m doing a pcb-rnd [1] marathon this weekend. I estimate that the firs=
t version of the new footprint system will be ready by monday. A little tea=
ser:<br>
<br>
<br>
<a href=3D"http://igor2.repo.hu/tmp/pcb-rnd-fp.avi" rel=3D"noreferrer" targ=
et=3D"_blank">http://igor2.repo.hu/tmp/pcb-rnd-fp.avi</a><br>
<br>
<br>
Short version: on-the-fly, language-independent footprint generation that w=
orks in the library preview dialog and in sch-&gt;pcb.<br>
<br>
Long version - things that already work:<br>
<br>
- Footprints are either static (from file, &quot;file elements&quot;) or pa=
rametric (generated by an external program)<br>
<br>
- The heuristics to decide whether a footprint is parametric is simple: if =
the footprint attribute/name contains parentheses, it is parametric. The fi=
le name doesn&#39;t contain (), tho.<br>
<br>
- I&#39;ve refactored all the element search/open code in pcb-rnd into pcbl=
ib_fp.[ch] so that all the above is centralized and coded only once. More c=
ode has been deleted than what I had to add and the result is more generic.=
<br>
<br>
- As shown on the video, I managed to change the gtk hid to use parametric =
footprints in the library window.<br>
<br>
- Vladimir contributed a gnet-gsch2pcb.scm variant that does not have any m=
4 or footprint attribute mangling in it, it lists all footprints 1:1. Thank=
s!<br>
<br>
- I&#39;ve forked gsch2pcb into gsch2pcb-rnd so that it uses the same pcbli=
b_fp - no more code/heuristics duplication between pcb and gschem.<br>
<br>
- There are provisions for running on win32 (there&#39;s an optional wrappe=
r around running the external footprint generators so there&#39;s no hardwi=
red dependency on POSIX shell or FHS paths anywhere - on windows it can be =
a bash.exe or a small C code that reads the shebang and executes the genera=
tor script with the interpreter specified).<br>
<br>
- I&#39;ve written a few footprint generators in awk (connector(), dip(), s=
o()); they are also accessible online [2].<br>
<br>
- I&#39;ve started to build the default library of pcb-rnd, which will cont=
ain essential footprints only. It&#39;s the cleanup we were discussing on t=
he list a few months ago: a small set of footprints a new user is likely to=
 use. No exotic parts. I plan to provide a lot of the common footprints fro=
m generators. I will minimize my dependencies: my generators will depend on=
 shell and awk only (windows: this means two standalone exes; UNIX: both ar=
e generally available on normal installations).<br>
<br>
Regards,<br>
<br>
Igor2<br>
<br>
[1] <a href=3D"http://repo.hu/projects/pcb-rnd" rel=3D"noreferrer" target=
=3D"_blank">http://repo.hu/projects/pcb-rnd</a><br>
[2] <a href=3D"http://igor2.repo.hu/cgi-bin/pcblib-param.cgi" rel=3D"norefe=
rrer" target=3D"_blank">http://igor2.repo.hu/cgi-bin/pcblib-param.cgi</a><b=
r>
</blockquote></div><br></div>

--001a113cd1f45bc174051b2f996d--

- Raw text -


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