The backgroundI have a script that makes pretty copper antenna patterns. It does this by generating a gerber file directly and it has to be extended gerber (RS-274X) because I need to use the G36* and G37* commands to create fills. The script based the gerbers on
https://www.ucamco.com/files/downloads/file/81/the_gerber_file_format_specification.pdf and the files work when uploaded to
http://www.gerber-viewer.com/ I have attached an example gerber, renamed as .txt so I can upload it.
I am trying to import these into an Altium .PcbDoc which would allow me to treat them like any other copper feature as part of a larger design. Other components could be added, the solder resist, silkscreen and board outline could all be created easily, etc.
The Problems1) Altium import (the obvious route) seems not to support extended gerber (RS-274X) despite it existing since 1998 and "standard" gerber (RS-274D) having been deprecated since 2014. This manifests itself as an error "Aperture table not found" when trying to import, and if it's tricked by putting an unnecessary* aperture entry in then it imports only the outer lines. It seems fills drawn with the G36* and G37* commands just aren't supported.
2) The files can be opened in Altium so long as the extension is changed to .GTL or similar. They then load correctly and the fills appear. This seemed really promising. It is supposed to be possible to export this to a PCBdoc as per ?
http://electronics.stackexchange.com/questions/173702/import-gerber-files-into-altium and various other similar instructions I have found. This always crashes with an error message about netlists despite the netlist step having been followed.
3) A new Camtastic document can be created and the gerbers can be imported into it, just as with the PcbDoc it imports as lines rather than fills.
*I think it's unnecessary, everything is drawn as fills. I dumped a "%ADD10C,0.01*%" into the third line.
Obviously it's possible my script produces buggy gerbers, but they do seem to work with the online viewer and they open (but not import) correctly in Altium. Any thoughts/suggestions?