Script Fritzing functions

Hi, I do a group PCB service (http://pcb.laen.org/), and I accept Fritzing board files.

Right now I have to manually process them into gerbers, or explain how to do that to the person sending me the files.  I'd really like to be able to script the gerber generation step like I can with Eagle files.

Is there already a way to do this, or am I going to be hacking some Java? :)

Thanks.

Posted 1 year, 6 months ago by Laen

As Fritzing is built in C++, hacking java would be an interesting approach.  However, if you run Fritzing from the command line and add the parameters:

-gerber -go [destination folder] [path to fritzing sketch file]

Fritzing will load the sketch file and export it to gerber files saved into the destination folder.

The current command-line syntax is likely to change in some future release.

- j

Posted 1 year, 6 months ago by Jonathan Cohen

As of version 0.4.2, the syntax is:

-gerber [destination folder] [path to fritzing sketch file]

- j

Posted 1 year, 6 months ago by Jonathan Cohen

Heh, whoops.  I guess I wouldn't have gotten far, then. :)

That seems to work great! Thanks!

Posted 1 year, 6 months ago by Laen

Post a Reply

Please login to post a reply.

  • RSS
  • Atom
  • Print this
© 2007 - 2011 University of Applied Sciences Potsdam