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: <82de8cca-2614-ba06-e9e9-55224c34d6fe AT ecosensory DOT com> From: "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Tue, 1 Nov 2016 07:18:52 +1030 Message-ID: Subject: Re: [geda-user] [pcb-rnd] Kicad s-expression import and export now working To: geda-user Content-Type: multipart/alternative; boundary=001a113aced8f4142f05402f5580 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 Precedence: bulk --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]" 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

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.

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 ele= ments as a .mod library file, full of footprints converted into kicad modul= e elements, as described in a previous email to Levente.

These options augment existing tools such as the https://github.com/erichVK5/tra= nslate2geda utility, which can translate entire libraries of kicad lega= cy or s-expression modules and schematic symbols to gEDA formats.

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.

Regards,

Erich.


On 1 Nov 2016 04:= 45, "John Griessen (john AT ecosen= sory.com) [via geda-user AT delor= ie.com]" <geda-user AT de= lorie.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.=C2=A0 Is that so, and w= ould it
be imported as layout placement which could then be converted to footprint?=

Is there already some other footprint translation between?

Looks good!
--001a113aced8f4142f05402f5580--