Mail Archives: geda-user/2015/07/18/20:36:09
--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>></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'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->pcb.<br>
<br>
Long version - things that already work:<br>
<br>
- Footprints are either static (from file, "file elements") 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't contain (), tho.<br>
<br>
- I'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'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's an optional wrappe=
r around running the external footprint generators so there'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've written a few footprint generators in awk (connector(), dip(), s=
o()); they are also accessible online [2].<br>
<br>
- I've started to build the default library of pcb-rnd, which will cont=
ain essential footprints only. It'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 -