Wednesday, August 12, 2009

Export gEDA PCB layout to DXF

I am using gEDA PCB to layout a circuit board and needed to export the layout to a DXF file so that the mechanical designer can check it against the plastic housing design. Here's what you do:
1. Export the layout form PCB to Postscript- tick the "multiple files" box so that each page is a separate Postscript file
2. Merge the Postscript files with the outline and assembly with psmerge - "psmerge -opcb.ps pcb.outline.ps pcb.frontassembly.ps"
3. Convert the Postscript file to DXF with pstoedit - "pstoedit -f dxf pcb.ps pcb.dxf"

I usually print out the Postscript file to check the footprints I am using against the actual parts I am using. Note that this does not work if you convert the Postscript files to PDF - you seem to then have a file that does not print out to scale.

No comments:

Post a Comment