delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2017/02/18/03:35:02

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=prochac.sk;
s=default; t=1487406828;
bh=TZ5UDUVx1wv7XgMt/eutx0bVCAdlTefh3iU3gMvxkSE=;
h=To:From:Subject:Date;
b=f2yl/wC5toA+L/dJ95001eLSmEGlGJNAvrNlrrG0CbDEb3gCAUzoOXkQAqWZ1KzCA
aID4lAvwsmh7yVL+hlVqqu8md3YAP2zmAFGO1QuKbRlmqD34iuCOB7gr0IN0qi08S5
EHNJblvtZNwlVr/qxunI9G15ozGihXGkuiDZBnS0=
X-Clacks-Overhead: "GNU Terry Pratchett"
To: geda-user AT delorie DOT com
From: "Milan Prochac (milan AT prochac DOT sk) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
Subject: [geda-user] PCB: TinyCAD import
Message-ID: <effafca0-e7f1-3222-de95-1a4aae18b157@prochac.sk>
Date: Sat, 18 Feb 2017 09:33:43 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101
Thunderbird/45.7.1
MIME-Version: 1.0
X-Spam-Status: No, score=-101.0 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE,
USER_IN_WHITELIST autolearn=ham autolearn_force=no version=3.4.0
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on angua.bastl.sk
Reply-To: geda-user AT delorie DOT com

This is a cryptographically signed message in MIME format.

--------------ms080500060206010702010608
Content-Type: multipart/alternative;
 boundary="------------3DD7F8A52C387B4B231139D8"

This is a multi-part message in MIME format.
--------------3DD7F8A52C387B4B231139D8
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable


Being disgusted by latest events and by hostile mood around=20
gschem/gnetlist I started to think about gschem replacement for smaller=20
projects. Latest round of xorners aggressive anti-john attacks forced me =

to act immediately.

I am going to try TinyCAD. For this purpose the TinyCAD import was=20
implemented in PCB.

It can be found at https://bugs.launchpad.net/pcb/+bug/1665862

Patch implements new actions to import netlist and parts from TinyCAD:

ImportTinyCAD()
ImportTinyCAD(netlistfile)

Both actions take the netlist (first one displays dialog), import the=20
netlist and CSV partlist. Name of partlist is derived from netlist name: =

=2Ecsv extension is used instead of .net

First action is bound to menu (Import Schematics -> TinyCAD)

In TinyCAD:
- specify footprint name in Package parameter (exist on most symbols) or =

in Footprint parameter
- export gEDA compatible netlist
- export CSV partlist (same basename as netlist, with .csv extension)

In PCB:
- use the above actions or select menu item to import netlist and=20
partlist in one step.
   * netlist is loaded
   * existing parts are updated or left untouched
   * new parts are added
   * removed parts are selected, so it is easy to delete them

TinyCAD import is wrapper around existing actions: Load(netlist),=20
LoadFrom(netlist, ...) and ElementList(Start|Need|Done,...) and it is as =

good as implementation of these actions.

For those who do not want to patch/build the PCB the equivalent offline=20
method of TinyCAD import is available: python script which converts=20
TinyCAD CSV partlist to list of PCB commands (sequence of ElementList=20
commands).

In PCB:
- manually import netlist
- run commands from file


Milan



--------------3DD7F8A52C387B4B231139D8
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>

    <meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf=
-8">
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    <p><br>
    </p>
    <p>Being disgusted by latest events and by hostile mood around
      gschem/gnetlist I started to think about gschem replacement for
      smaller projects. Latest round of xorners aggressive anti-john
      attacks forced me to act immediately.<br>
    </p>
    <p>I am going to try TinyCAD. For this purpose the TinyCAD import=C2=A0=

      was implemented in PCB. <br>
    </p>
    <p>It can be found at <a class=3D"moz-txt-link-freetext" href=3D"http=
s://bugs.launchpad.net/pcb/+bug/1665862">https://bugs.launchpad.net/pcb/+=
bug/1665862</a></p>
    <p>Patch implements new actions to import netlist and parts from
      TinyCAD:
    </p>
    <p>ImportTinyCAD()<br>
      ImportTinyCAD(<wbr>netlistfile)</p>
    <p>Both actions take the netlist (first one displays dialog), import
      the netlist and CSV partlist. Name of partlist is derived from
      netlist name: .csv extension is used instead of .net</p>
    <p>First action is bound to menu (Import Schematics -&gt; TinyCAD)</p=
>
    <p>In TinyCAD:<br>
      - specify footprint name in Package parameter (exist on most
      symbols) or in Footprint parameter<br>
      - export gEDA compatible netlist<br>
      - export CSV partlist (same basename as netlist, with .csv
      extension)<br>
    </p>
    <p>In PCB:<br>
      - use the above actions or select menu item to import netlist and
      partlist in one step.<br>
      =C2=A0=C2=A0* netlist is loaded<br>
      =C2=A0=C2=A0* existing parts are updated or left untouched<br>
      =C2=A0=C2=A0* new parts are added<br>
      =C2=A0=C2=A0* removed parts are selected, so it is easy to delete t=
hem</p>
    <p>TinyCAD import is wrapper around existing actions: Load(netlist),
      LoadFrom(netlist, ...) and ElementList(<wbr>Start|Need|<wbr>Done,..=
<wbr>.)
      and it is as good as implementation of these actions.</p>
    <div class=3D"comment-text" itemprop=3D"commentText">
      <p>For those who do not want to patch/build the PCB the equivalent
        offline method of TinyCAD import is available: python script
        which converts TinyCAD CSV partlist to list of PCB commands
        (sequence of ElementList commands).</p>
      <p>In PCB:<br>
        - manually import netlist<br>
        - run commands from file</p>
      <br>
      Milan</div>
    <p><br>
    </p>
  </body>
</html>

--------------3DD7F8A52C387B4B231139D8--

--------------ms080500060206010702010608
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
CtowggTwMIID2KADAgECAhBqqLAGfunD4XYlcEsP4ElzMA0GCSqGSIb3DQEBCwUAMHUxCzAJ
BgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSkwJwYDVQQLEyBTdGFydENvbSBD
ZXJ0aWZpY2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MSMwIQYDVQQDExpTdGFydENvbSBDbGFzcyAx
IENsaWVudCBDQQIQaqiwBn7pw+F2JXBLD+BJczCBnAYLKoZIhvcNAQkQAgsxgYyggYkwdTEL
MAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKTAnBgNVBAsTIFN0YXJ0Q29t
IENlcnRpZmljYXRpb24gQXV0aG9yaXR5MSMwIQYDVQQDExpTdGFydENvbSBDbGFzcyAxIENs
aWVudCBDQQIQaqiwBn7pw+F2JXBLD+BJczANBgkqhkiG9w0BAQEFAASCAQCmQU1BRVR+0KVi
sRkgpRaTf2yQYAz1HXisKkU3QfwrV9apUwgKfgtHnRpOH/j0BUOS8TS2yNiHaSmxJZBPKeEc
mNZAS4ooRKit47wLjSb7VJ4Ldmq5KWdo5MJMlgs9KC4OgnxltLv91S9LlgPfBhGxPa9Ae71u
Mm3A1n/6obl8Bo7enNtkeY7nIGBwIU5lu3vLj4+Vt8Y5yMHHYXqtj+nwSEZa4afnKyNIbH4F
xDMS87QbIInbWpr5L77QUo/xRKhquS9w5CaRwiy6+2iK/bVR1jj3KkppRPiOJnGiMA2j+aT4
hrnIizDqnsOCcAvICpfXB8h7Gb0Hwwt36vRDY/m6AAAAAAAA
--------------ms080500060206010702010608--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019