| delorie.com/archives/browse.cgi | search |
| 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: | <BFE14F77-0BC9-4ED2-BFB9-C58B64B5048E@noqsi.com> |
| References: | <CAHUm0tOkNZiSLDhGT58NwPz_Yj0LqTO34xpk2WobdrJ06aWNNw AT mail DOT gmail DOT com> |
| <BFE14F77-0BC9-4ED2-BFB9-C58B64B5048E AT noqsi 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:37:37 +1030 |
| Message-ID: | <CAHUm0tP3x+a9AkiCvtm5kODGa1CfWw0VR66Dz_udCwNn=zRb=A@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 |
--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" <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. > > 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 <p dir=3D"ltr">The simplest and most distilled introduction to kicad netlis= t descriptors for gEDA familiar types would be the functions</p> <p dir=3D"ltr">int write_kicad_legacy_equipotential_netlists(FILE * FP, PCB= TypePtr Layout)</p> <p dir=3D"ltr">Found in</p> <p dir=3D"ltr"><a href=3D"http://igor2.repo.hu/cgi-bin/minisvn.cgi?cmd=3Dca= t&repo=3Dpcb-rnd&path=3D/trunk/src_plugins/io_kicad_legacy/write.c"= >http://igor2.repo.hu/cgi-bin/minisvn.cgi?cmd=3Dcat&repo=3Dpcb-rnd&= path=3D/trunk/src_plugins/io_kicad_legacy/write.c</a></p> <p dir=3D"ltr">And</p> <p dir=3D"ltr">int write_kicad_equipotential_netlists(FILE * FP, PCBTypePtr= Layout, pcb_cardinal_t indentation)</p> <p dir=3D"ltr">Found in</p> <p dir=3D"ltr"><a href=3D"http://igor2.repo.hu/cgi-bin/minisvn.cgi?cmd=3Dca= t&repo=3Dpcb-rnd&path=3D/trunk/src_plugins/io_kicad/write.c">http:/= /igor2.repo.hu/cgi-bin/minisvn.cgi?cmd=3Dcat&repo=3Dpcb-rnd&path=3D= /trunk/src_plugins/io_kicad/write.c</a></p> <p dir=3D"ltr">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.</p> <p dir=3D"ltr">There are online documents describing the kicad formats, suc= h as</p> <p dir=3D"ltr"><a href=3D"http://kicad-pcb.org/help/file-formats/">http://k= icad-pcb.org/help/file-formats/</a></p> <p dir=3D"ltr">Which also has a link to a summary pdf. </p> <p dir=3D"ltr">Netlist export from gnetlist should be quite simple, as you = suggest.</p> <p dir=3D"ltr">Regards,</p> <p dir=3D"ltr">Erich.<br> </p> <div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On 1 Nov 2016 04:= 49, "John Doty" <<a href=3D"mailto:jpd AT noqsi DOT com" target=3D"_b= lank">jpd AT noqsi DOT com</a>> wrote:<br type=3D"attribution"><blockquote clas= s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad= ding-left:1ex"><br> On Oct 31, 2016, at 10:58 AM, Erich Heinzle (<a href=3D"mailto:a1039181 AT gma= il.com">a1039181 AT gmail DOT com</a>) [via <a href=3D"mailto:geda-user AT delorie DOT co= m">geda-user AT delorie DOT com</a>] <<a href=3D"mailto:geda-user AT delorie DOT com">= geda-user AT delorie DOT com</a>> wrote:<br> <br> > The kicad s-expression file format is the newer format used by kicad.<= br> <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.<br> <br> John Doty=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Noqsi Aerospace, = Ltd.<br> <a href=3D"http://www.noqsi.com/" rel=3D"noreferrer" target=3D"_blank">http= ://www.noqsi.com/</a><br> <a href=3D"mailto:jpd AT noqsi DOT com">jpd AT noqsi DOT com</a><br> <br> <br> </blockquote></div></div> --001a114713ac06156105402f9959--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |