Python Scripting: Calling Export->GenCAD

I am creating a script to create all of the output files for my project in one shot. I am starting with the example gerber generation script and adding on. I can see how to generate Gerbers and DXFs. I figured out how to use subprocess to call kicad2step.exe to create the 3D file. I can also call KiBOm similarly.

My main issue is with trying to generate the GenCAD file for my assembler. We exporting STEP calls a external executable, the GenCAD exporter is written in C and part of KiCAD. I don’t see anything in the python scripting DOXYGEN documentaion that allows me to call this function.

How can I generate a GenCAD file using a script?

Thank you in advance,

Jason Goldstein, President
Austeen Co.

Currently GenCAD export function is not exposed to python layer. I looked at the code and doing that would require a bit of refactoring.
You can file a feature request on launchpad.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.