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=A70VMPU0e7jzj+9vayi7cOzuk98o5NZBSNYzrVAO3E4=; b=QtK6XMSeL0/KhE+o6eatSbEeV+AvqPBNvZKVJDHk9X0szJ50U+lc9M4tqtfYnKUbMZ Ip6ZHRGAWyisGDL4M0SsLOosV9nHDdPclNus+tw+RLe1Az6BnHGeBwo2hGKUESZmQ7rt O+PF9J0UfyqBf2mUlcgR47Ej4ATAQSWnrw3dgO/iUhGH7x7s86fwNKWctKxhBLaEHLzT x7fHZ3xBQiFBK6k5RnTt6sqHg4DrrASxRT/hMa/mnYOa37G7Lap3f7ImW6i6QV22jWbf Bb1aSU41Gm1cqizXyHi+AZg8W2Ufzl+v7gL7fMInffbbxBgEiqua4PcNpCh9lvJSGzD/ li1w== 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=A70VMPU0e7jzj+9vayi7cOzuk98o5NZBSNYzrVAO3E4=; b=AjIj/xp9KYKpF3wWWagdPCBCfe+vsTJEQuqKSx/mT/OsL+FJWVPl0isrBxo6+bhcu5 mvnK+TDNb1rL3e/t14dIgklkETvaOLQOxb/cajIzi0stcfPPXeFkc9+1lv74iaSNN/ZW ZDZ7YqGRl4d0R3vbzsuVudLbgVKjcgyOZSYeBxapqToCwaxkTQNriu5PrmHEST7ZvsIR k8KHfwk96MHmC2w2w+wxJ7YFENxg+p+3BYGCqiHDexMkM/ULrj6Im021pftNPvGLvTY1 gpqbd1EZGRvBQixZDhPWXX6VGo4TUc8jAV2X4ca2rVy2JCFp3Mh7pAG8zuJevd8bWRky pEow== X-Gm-Message-State: ABUngvfFEXtC7UvLO+dYNjBDMUCb5UyHwIEdHkrZZq8tt0QsOleMNDlNOI2oshC/JaGJZ45d0GW8TT1k9fUiYA== X-Received: by 10.157.58.35 with SMTP id j32mr21013419otc.166.1477948058505; Mon, 31 Oct 2016 14:07:38 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com]" Date: Tue, 1 Nov 2016 07:37:37 +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=001a114713ac06156105402f9959 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 --001a114713ac06156105402f9959 Content-Type: text/plain; charset=UTF-8 The simplest and most distilled introduction to kicad netlist descriptors for gEDA familiar types would be the functions int write_kicad_legacy_equipotential_netlists(FILE * FP, PCBTypePtr Layout) Found in http://igor2.repo.hu/cgi-bin/minisvn.cgi?cmd=cat&repo=pcb-rnd&path=/trunk/src_plugins/io_kicad_legacy/write.c And int write_kicad_equipotential_netlists(FILE * FP, PCBTypePtr Layout, pcb_cardinal_t indentation) Found in http://igor2.repo.hu/cgi-bin/minisvn.cgi?cmd=cat&repo=pcb-rnd&path=/trunk/src_plugins/io_kicad/write.c Which together cover both the legacy and s-expression formats. In general, the kicad s-expression format is very similar to the legacy format, if one ignores the parentheses and indentation. There are online documents describing the kicad formats, such as http://kicad-pcb.org/help/file-formats/ Which also has a link to a summary pdf. Netlist export from gnetlist should be quite simple, as you suggest. Regards, Erich. On 1 Nov 2016 04:49, "John Doty" wrote: > > On Oct 31, 2016, at 10:58 AM, Erich Heinzle (a1039181 AT gmail DOT com) [via > geda-user AT delorie DOT com] wrote: > > > The kicad s-expression file format is the newer format used by kicad. > > Is there a document for the kicad netlist format? I think it would be very > useful (and not difficult) to make kicad another gnetlist target. > > John Doty Noqsi Aerospace, Ltd. > http://www.noqsi.com/ > jpd AT noqsi DOT com > > > --001a114713ac06156105402f9959 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

The simplest and most distilled introduction to kicad netlis= t descriptors for gEDA familiar types would be the functions

int write_kicad_legacy_equipotential_netlists(FILE * FP, PCB= TypePtr Layout)

Found in

http://igor2.repo.hu/cgi-bin/minisvn.cgi?cmd=3Dcat&repo=3Dpcb-rnd&= path=3D/trunk/src_plugins/io_kicad_legacy/write.c

And

int write_kicad_equipotential_netlists(FILE * FP, PCBTypePtr= Layout, pcb_cardinal_t indentation)

Found in

http:/= /igor2.repo.hu/cgi-bin/minisvn.cgi?cmd=3Dcat&repo=3Dpcb-rnd&path=3D= /trunk/src_plugins/io_kicad/write.c

Which together cover both the legacy and s-expression format= s. In general, the kicad s-expression format is very similar to the legacy = format, if one ignores the parentheses and indentation.

There are online documents describing the kicad formats, suc= h as

http://k= icad-pcb.org/help/file-formats/

Which also has a link to a summary pdf.

Netlist export from gnetlist should be quite simple, as you = suggest.

Regards,

Erich.


On 1 Nov 2016 04:= 49, "John Doty" <jpd AT noqsi DOT com> wrote:

On Oct 31, 2016, at 10:58 AM, Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com] <= geda-user AT delorie DOT com> wrote:

> The kicad s-expression file format is the newer format used by kicad.<= br>
Is there a document for the kicad netlist format? I think it would be very = useful (and not difficult) to make kicad another gnetlist target.

John Doty=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Noqsi Aerospace, = Ltd.
http= ://www.noqsi.com/
jpd AT noqsi DOT com


--001a114713ac06156105402f9959--