Mail Archives: geda-user/2016/10/31/16:51:58
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:from:date:message-id:subject:to;
|
| bh=hSEEIGYdEMQuNJD+Fn0MT4u+G3/NnH31JDctX+ztsGI=;
|
| b=HMFVMWFlEDzcUC5XsL8nzhYqqIL/ooxnGMhDvJgI1IAx+oCwDvyB68Cpr8+FSBzfNR
|
| lIxqztdcVRIswWpILo0Z7NALD9oxKJoqIb77rukCC24tcCG5f1mvtsDaXJvg16Yr1pIL
|
| kJoN4ZjorI/RhJEpoDGjCAdO2rMFBoyly+/DNlFdgJKJpXRqzjwRv7RdGJbnJ0dpfoRx
|
| HUnNEq6YY7yqBqNShDjtTvJijQq0M+sJdx4FSO7CEdGINplo2eH+eEHRt0Y+5fONkUpN
|
| G4tvyB/8TKbD5N6wa/B6+fbfI8Q9EJLwsAoWRneG8LzBOuogK1kuHCWWVxEqarpMJNPV
|
| 5VWQ==
|
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed;
|
| d=1e100.net; s=20130820;
|
| h=x-gm-message-state:mime-version:in-reply-to:references:from:date
|
| :message-id:subject:to;
|
| bh=hSEEIGYdEMQuNJD+Fn0MT4u+G3/NnH31JDctX+ztsGI=;
|
| b=dglupp7YNZGrg+kMyQp0t1NH+xKiXRThhKvcpz1oOgqIrXji8kf8f5WOiposZnOtOS
|
| tbB7Wz8qiPPLkjpRilPj6xGwRWBEKAdAc+Og/as6SMuK1W8GskTUv/cAJFCrj7Xq22CD
|
| Imaxck/qXh/UBAVQeCRqlfj8f4uJE/HqGZxXyIxOPVGR2yEyp/p6Dy6moJzbSk0kH6/J
|
| 434LZxyMoDig/dWTYBiJCcfSnBmrOMHjk+NnZmGxuo31o38v1hCZbITqU0N2Y6KkdP5P
|
| 60bZfJcVmN3tF5kElsNY66DPMpYouJ0Hvuv7azj9q2O2xwn4Iuf8d5RxLc1n9V7K/r7b
|
| FisQ==
|
X-Gm-Message-State: | ABUngve6yyCGom2W/RwtTp/vJyDweZN4D9Hd3EcXazUOOjPYXoTFNDs5RCYhjZOz1zyxSbU2wMwLwpAPtr+wqA==
|
X-Received: | by 10.157.46.149 with SMTP id w21mr21109548ota.219.1477946933251;
|
| Mon, 31 Oct 2016 13:48:53 -0700 (PDT)
|
MIME-Version: | 1.0
|
In-Reply-To: | <82de8cca-2614-ba06-e9e9-55224c34d6fe@ecosensory.com>
|
References: | <CAHUm0tOkNZiSLDhGT58NwPz_Yj0LqTO34xpk2WobdrJ06aWNNw AT mail DOT gmail DOT com>
|
| <82de8cca-2614-ba06-e9e9-55224c34d6fe AT ecosensory DOT com>
|
From: | "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
|
Date: | Tue, 1 Nov 2016 07:18:52 +1030
|
Message-ID: | <CAHUm0tPaywBWZM=LA3HQPz_fuz-EY1r=cRaOW9Pic1RxNFHChg@mail.gmail.com>
|
Subject: | Re: [geda-user] [pcb-rnd] Kicad s-expression import and export now working
|
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
|
--001a113aced8f4142f05402f5580
Content-Type: text/plain; charset=UTF-8
A kicad layout contains embedded footprints known as modules. These are
translated into gEDA PCB compatible elements forming part of the loaded
PCB layout as the kicad board layout is imported. Similarly, gEDA footprint
elements in a layout are translated into embedded modules during layout
export as either kicad legacy or kicad s-expression format layouts.
Upon conversion, a converted module can be handled like any other gEDA PCB
layout element, i.e. it can be selected and saved to file as a footprint
element.
The legacy io module also supports export of a buffer of elements as a .mod
library file, full of footprints converted into kicad module elements, as
described in a previous email to Levente.
These options augment existing tools such as the
https://github.com/erichVK5/translate2geda utility, which can translate
entire libraries of kicad legacy or s-expression modules and schematic
symbols to gEDA formats.
Naturally, import of standalone s-expression modules is planned, including
retrieval from web based repositories. Now that the parsing and conversion
code is working, standalone module import should be fairly quick to
implement.
Regards,
Erich.
On 1 Nov 2016 04:45, "John Griessen (john AT ecosensory DOT com) [via
geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> wrote:
> On 10/31/2016 11:58 AM, Erich Heinzle (a1039181 AT gmail DOT com) [via
> geda-user AT delorie DOT com] wrote:
>
>> Exported dimensions are preserved without rounding, with the only
>> significant discrepancies arising with:
>>
>> 1) text, since kicad uses the Hershey sans stroke font for footprint
>> labelling, but a bitmap font for board text, quite unlike gEDA
>> pcb/pcb-rnd's text use.
>>
>
> > 3) obround (oval), trapezoidal, and rounded corner rectangular pads
>
> So, this sounds like a footprint could be imported. Is that so, and would
> it
> be imported as layout placement which could then be converted to footprint?
>
> Is there already some other footprint translation between?
>
> Looks good!
>
--001a113aced8f4142f05402f5580
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<p dir=3D"ltr">A kicad layout contains embedded footprints known as modules=
. These are translated into gEDA=C2=A0 PCB compatible elements forming part=
of the loaded PCB layout as the kicad board layout is imported. Similarly,=
gEDA footprint elements in a layout are translated into embedded modules d=
uring layout export as either kicad legacy or kicad s-expression format lay=
outs.</p>
<p dir=3D"ltr">Upon conversion, a converted module can be handled like any =
other gEDA PCB layout element, i.e. it can be selected and saved to file as=
a footprint element.</p>
<p dir=3D"ltr">The legacy io module also supports export of a buffer of ele=
ments as a .mod library file, full of footprints converted into kicad modul=
e elements, as described in a previous email to Levente.</p>
<p dir=3D"ltr">These options augment existing tools such as the <a href=3D"=
https://github.com/erichVK5/translate2geda">https://github.com/erichVK5/tra=
nslate2geda</a> utility, which can translate entire libraries of kicad lega=
cy or s-expression modules and schematic symbols to gEDA formats.</p>
<p dir=3D"ltr">Naturally, import of standalone s-expression modules is plan=
ned, including retrieval from web based repositories. Now that the parsing =
and conversion code is working, standalone module import should be fairly q=
uick to implement.<br></p>
<p dir=3D"ltr">Regards,</p>
<p dir=3D"ltr">Erich.</p>
<div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On 1 Nov 2016 04:=
45, "John Griessen (<a href=3D"mailto:john AT ecosensory DOT com">john AT ecosen=
sory.com</a>) [via <a href=3D"mailto:geda-user AT delorie DOT com">geda-user AT delor=
ie.com</a>]" <<a href=3D"mailto:geda-user AT delorie DOT com">geda-user AT de=
lorie.com</a>> wrote:<br type=3D"attribution"><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex">On 10/31/2016 11:58 AM, Erich Heinzle (<a href=3D"mailto:a1039181 AT gmai=
l.com" target=3D"_blank">a1039181 AT gmail DOT com</a>) [via <a href=3D"mailto:ged=
a-user AT delorie DOT com" target=3D"_blank">geda-user AT delorie DOT com</a>] wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Exported dimensions are preserved without rounding, with the only<br>
significant discrepancies arising with:<br>
<br>
1) text, since kicad uses the Hershey sans stroke font for footprint<br>
labelling, but a bitmap font for board text, quite unlike gEDA<br>
pcb/pcb-rnd's text use.<br>
</blockquote>
<br>
> 3) obround (oval), trapezoidal, and rounded corner rectangular pads<br=
>
<br>
So, this sounds like a footprint could be imported.=C2=A0 Is that so, and w=
ould it<br>
be imported as layout placement which could then be converted to footprint?=
<br>
<br>
Is there already some other footprint translation between?<br>
<br>
Looks good!<br>
</blockquote></div></div>
--001a113aced8f4142f05402f5580--
- Raw text -