delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/05/21/23:25:59

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 456314 DOT 81780 DOT bm AT omp1041 DOT mail DOT ne1 DOT yahoo DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1400729106; bh=poRjbdu1fUSkr1NrFxHBqgmLm7B0Sa0CQ2CsYjGYwcA=; h=Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=ggaQT5SfNTBsbSOhDWDOcqiJ+Z33UdkMDc9RJfAPF8oQvFrN5mM0taTcs1tJ3GmZj0C4fYidEIIXi6hlwV/RyGDzDCvoWKx2BmAk+RzgRdRbsIZnLxhsagIp8Rq83GAZkkwrCALQE3feoEL5Zq3CI8w7O7OQ5YBXRxHkLMebSDQ=
X-YMail-OSG: KV5mzagVM1nz8cX0aDyrKEJA.EmUf1..a.DNSKrWZUxAn9s
1OM66v2Y.jtlrbeS7agIvPUXQQnBMFh3Bnk2ip1O2m5w.qnMP5aOaTTsl9KT
sdS0OHzWgu_Wp3OIlrQzXmcn22dEutzXovFTdDwWhZ_Huhxml7cnu5AjZOv4
T7J0zdgB9GAb98UtR9UUeze3tkaV8amKh8QEYJFtSjRglNdOTmL13qIo5OQN
DqDBt31VAMDPjRa40hgj2.eOz4Hd5Vsbtv67SVls8I2p4aaXn0qnkt16MvRf
cVkJUWE94LWS56k6nqs2z4lkSqe_X.Yq3lqZx_9frJz6N_4QApyGcIcXkpr3
q0DkjyVGbd4fQgOLiiLdWQQM_PiGepX4e254wX3hatrQ8LTBeN6Uv0ZYCdDI
gtvIe3jliPGZ4p7XMtFnybqsS7SaeyCq_vY3hTu5OgSbT9sDSb7dWUY5EtAg
OgCffIDFbyJmlaGTiIvH1Pe_d51kwXCkYjWKkSKrSgIzoIouonvsiNeBeDZP
TlcJzX63KC7aVXf.k_U.4gra5ci0PkXfjfcMOxFha1DII1sH8L.QL4OG.6Tx
7V0H7k_2qkrzE3GVRLbzNFddMJqUjzZb0o7nLIp3wqosIfSva5VmHkkj7vZ_
jIZuTMHYaqxJ9e4xfFUMpQgFe943dp3m2UfTYYvi5DUJ8P7h_NlOzDDzqap8
hguQ4GZ.OVAbqQ1rAJnV41TVsZyRapqb8etIQSrxx8j4dtDRsOkVtw.zg5nB
ocvbQnEQ0YHdwIhK3WAHrUMQFu9Iav63lKdBml1p2
X-Rocket-MIMEInfo: 002.001,SWYgYW55b25lIGlzIGludGVyZXN0ZWQsIEkgaGF2ZSBhIHdvcmtpbmcgSURGdjMgcGFyc2VyIHdoaWNoIEkgaG9wZSB3aWxsIGV2ZW50dWFsbHkgYmUgaW5jbHVkZWQgaW4gS2lDYWQuIFRoZSBwYXJzZXIgaXMgd3JpdHRlbiBpbiBDKysgYW5kIGNhbiBzdGFuZCBhbG9uZSwgc28gaWYgYW55b25lIGlzIGludGVyZXN0ZWQgaW4gYWRkaW5nIElERiBzdXBwb3J0IHRvIGdFZGEgdGhpcyB3b3VsZCBiZSBhIGdvb2QgcGxhY2UgdG8gc3RhcnQuIFRoZSBzb3VyY2UgY29kZSBpcyBjdXJyZW50bHkgYXZhaWxhYmxlIGEBMAEBAQE-
X-Mailer: YahooMailWebService/0.8.188.663
Message-ID: <1400729106.46888.YahooMailNeo@web120504.mail.ne1.yahoo.com>
Date: Wed, 21 May 2014 20:25:06 -0700 (PDT)
From: Cirilo Bernardo <cirilo_bernardo AT yahoo DOT com>
Subject: [geda-user] IDF support
To: "geda-user AT delorie DOT com" <geda-user AT delorie DOT com>
MIME-Version: 1.0
Reply-To: geda-user AT delorie DOT com

If anyone is interested, I have a working IDFv3 parser which I hope will eventually be included in KiCad. The parser is written in C++ and can stand alone, so if anyone is interested in adding IDF support to gEda this would be a good place to start. The source code is currently available as a bzr patch against KiCad, but if anyone is interested let me know and I can repackage it as a tarball.

To implement an IDF importer simply use the code to read an IDF file, then take the data from the objects and translate them into gEda pcb's representation. To implement an exporter, simply create IDF entities from gEda's representation, add it to the IDF object, then write the IDF object. The source includes a tool which uses the IDF code to read a file, extract board and component outlines, and creates a VRML representation of the board.

The source code:
https://github.com/cbernardo/kicad-patches

Example IDF files converted to VRML (can be viewed with firefox or view3dscene):
https://drive.google.com/file/d/0By_XTJN-s8aXZHJnNDAxUzNBc3c/edit?usp=sharing

The IDF to VRML tool in the source allows users to visualize the IDF file before sending it off to the mechanical folks. A heavyweight alternative to viewing IDF files is to load FreeCAD, but at this point in time (in my opinion) VRML is the best visualization option.

cheers,
Cirilo

- Raw text -


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