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=20161025; | |
h=mime-version:from:date:message-id:subject:to; | |
bh=kXiuiIHe/deVmFQR0vz5ddv6kGZ0MfIzghiKeAzCkeA=; | |
b=nYwpo/824WoND/G3kXyFtOoEnzRjQ7E+qisLawPaLouYyWqEkD/eREJ0tDNy1dCdI5 | |
1MT/2fbcQd00Q8rTzfL1OMDywTJ7kdp9aTu6hYrJZLUwIZWiOZLbYxNQ4CVpUlJ0WAbx | |
fWJCzEgSOvI8ef473FVHhWX24BO89pE0kLICpAi8z9BObdFtwP8uwdysqaM/qu3wGlo+ | |
6oYcsvaXREelL3GsC/UhAJ/VihbD7CuC7ILuiuwSTsxuYwkJgtWlQpr3XEXYcsw9I1Tk | |
Tk/5SWu2wNwTpExO0xrCykY0SqTvEuJOS8sTkEl2zBLmZb8RvV2QZrmI0grpvx1q55sA | |
XnsA== | |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=1e100.net; s=20161025; | |
h=x-gm-message-state:mime-version:from:date:message-id:subject:to; | |
bh=kXiuiIHe/deVmFQR0vz5ddv6kGZ0MfIzghiKeAzCkeA=; | |
b=Cgj9QyYtxKKTPDCstVizYn7zlstPp603RXbFZe/smQuB1obVL308fHSS2zm3aBLKcQ | |
NuBglV8W2lG9X/heUg9RBtuoA7dk6HEZxgLV+kiUX0CIlyDqft9aIPl22frYx4pnDU7S | |
nG0NVKTsKcE52gJALmIgnFDrDjr2tYIlKAtbl4o12X7PJwQAUbIpIvcPl6dFdd0Mk92A | |
XpujdvNTLGsVKAHbhOhLeDVD3wr+wFOJV9Ck/unYJ7Ib1vxGAcqZY3VlcsUwkx7SfW81 | |
wiyX0ZSz1zf+VbXr+WgMpb8bvaBwirgW3loerbNEf/MoN8YZWrPmxeGqFH8Q+tgd+GSp | |
3Z7Q== | |
X-Gm-Message-State: | AIkVDXI/7eyCU0pFap5XxRTV1EZeBtf1LjOXXBV1nhA+6RY0Wy/UcTgOp1yA2nm/UoZVNPg9nedPQ7CVHkEm4w== |
X-Received: | by 10.157.2.39 with SMTP id 36mr2307827otb.150.1485985465040; Wed, |
01 Feb 2017 13:44:25 -0800 (PST) | |
MIME-Version: | 1.0 |
From: | "Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
Date: | Thu, 2 Feb 2017 08:14:24 +1030 |
Message-ID: | <CAHUm0tN-tU_8+=NDAot4Dzoy=QwHv3HO0dS+HQ-bR_LazA4eQA@mail.gmail.com> |
Subject: | [geda-user] An Altium layout -> gEDA pathway |
To: | geda-user <geda-user AT delorie DOT com> |
Reply-To: | geda-user AT delorie DOT com |
I recently came across altium2kicad, a set of perl scripts available on github for conversion of Altium's binary file format into kicad compatible schematic and layout files: https://github.com/thesourcerer8/altium2kicad/ I used an exported altium2kicad design to stress test the kicad s-expression format import and export code following the layer refactoring in pcb-rnd; it seems that we now have a workable pathway for conversion of Altium layouts to gEDA PCB/pcb-rnd format. I've done a brief write-up with screenshots as a bit of a howto for those interested: http://vk5hse.blogspot.com/2017/02/altium-to-geda-pcbpcb-rnd-conversion.html The main issue with the work-in-progress altium2kicad conversion script is that modules (footprints) are not by default embedded in the kicad layout with features such as pads, lines or arcs, although the description, position and name of the module are preserved. This is not a major drama since the goal will typically be to migrate the copper and silk layer geometry, with footprints being a secondary issue. The approach taken on importing a layout with empty module descriptions has been to place the element in the PCB layout with a simple silk line 1 nanometre in length as a placeholder. This allows the footprint and component values and position to be preserved for further inspection. If/when the altium2kicad conversion script embeds more complete module information, the modules will be imported as discrete elements into the PCB layout just as any module in a normal kicad layout usually would be. If gerbers are available for the same layout, there would be scope to judiciously use the translate2geda utility's gerber->footprint capability to snarf the footprint pad geometry for any particular element of interest. The code supporting the altium2kicad importing is currently in the pcb-rnd svn, but not yet in the .deb/Ubuntu packages. Because the altium2kicad script targets kicad, it converts octagonal vias and pins/pads into rounded pads, as kicad does not support octagonal pads, pins or vias. Naturally, converted layouts will need close inspection. The convertpcb.pl script will need minor editing, as described in the HOWTO, to make it export y co-ordinates in the positive hemiplane, otherwise the exported layout will probably render off the visible part of PCB's displayed layout. Currently, the altium2kicad convertpcb.pl script embeds quite a few comment lines, which also need to be stripped. This is easy enough using cat and grep, as described in the HOWTO. Enjoy responsibly! Erich.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |