X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Mon, 26 May 2014 10:33:26 +1200 From: Lilith Bryant Subject: [geda-user] Python PCB file parser/re-writer To: geda-user AT delorie DOT com X-Mailer: Balsa 2.5.1-79-g9697477 Message-Id: <1401057206.16491.7@zotlet.(none)> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s4PMXkm0019090 Reply-To: geda-user AT delorie DOT com I needed a tool to automatically set the thermals on vias and pins, so I wrote a little python script. It's largely a pcb file parser and rewriter (based on the excellent pyparsing library). It's currently set up to tweak thermals, but could be used for anything, e.g. setting track widths or clearances based on certain criteria etc. Lots of loose ends, e.g doesn't handle holes in polygons, old style round bracket files etc etc etc. But anyway, it's here: http://pastebin.com/2TqbDfKf# (needs pyparsing and shapely libraries)