After a few small hacks I got gerber2graphtec working on Windows 7. First, I had to install Python (version 2.7.3, version 3.x.x may not work), gerbv (version 2.6.0), pstoedit (version 3.61), and ghostscript (version 9.07). I download these programs from:
http://http://www.python.org/
http://http://sourceforge.net/projects/gerbv/files/gerbv/gerbv-2.6.0/
http://http://www.pstoedit.net/
http://http://www.ghostscript.com/download/gsdnld.html
I downloaded gerber2graphtec from
http://https://github.com/pmonta/gerber2graphtec
by clicking the 'Download this repository as a zip file' button. I unzipped the downloaded file to a folder, say 'C:gerber2graphtec-master'.
After that, I renamed gerber2graphtec to gerber2graphtec.py to run the program directly from a command window. Then I edited the two lines that convert the Gerber file to pic format in gerber2graphtec.py from:
os.system("gerbv --export=pdf --output=%s --border=0 %s" % (temp_pdf,input_filename))
os.system("pstoedit -f pic %s %s 2>/dev/null" % (temp_pdf,temp_pic))
to:
os.system(""C:/Program Files (x86)/gerbv-2.6.0/bin/gerbv" --export=pdf --output=%s --border=0 %s" % (temp_pdf,input_filename))
os.system(""C:/Program Files/pstoedit/pstoedit" -q -f pic %s %s" % (temp_pdf,temp_pic))
since neither the installation programs for gerbv nor pstoedit added their executable folders to the path. Finally, I shared the Silhouette Cameo 'printer' by right clicking on its icon in the 'Control PanelHardware and SoundDevices and Printers' folder, selecting the 'Sharing' tab, clicking 'Share this printer' and setting its sharing name to 'Cameo'. To run the program and cut I typed in a command prompt:
C:gerber2graphtec-master>gerber2graphtec.py test.gbr > result.txt
C:gerber2graphtec-master>copy /B result.txt \JCF-PCCameo
where JCF-PC is the name of my computer as it appears on 'Control PanelSystem and SecuritySystem'. (Of course, you'll have to put the name of YOUR computer, not mine!) Half a noisy hour later I had a perfect stencil!
Also, typing
C:gerber2graphtec-master>gerber2graphtec.py test.gbr > \[YOUR COMPUTER NAME]Cameo
should work as well, but I hadn't tried it.