1
Tools of the trade / Re: Cutting mylar stencils with a silohuette cameo
For those who need to use file names or paths containing spaces, there is a small modification to do in the g2g_gui.py file.
Replace:
Code: [Select]
os.system("echo "%s" --export=pdf --output=%s --border=0 "%s" > "%s"" % (os.path.normpath(gerbv_path.get()),temp_pdf,os.path.normpath(Gerber_name.get()),temp_bat))withCode: [Select]
os.system("echo "%s" --export=pdf --output="%s" --border=0 "%s" > "%s"" % (os.path.normpath(gerbv_path.get()),temp_pdf,os.path.normpath(Gerber_name.get()),temp_bat))File names (%s) are enclosed in double quotes using "%s" instead of %s alone.
Check if there is some more modifications to do in the .py file other than the one listed above (for me it is working like that).
I received some files from a client with very small or too close apertures the Cameo 2 was unable to cut, I started edit Gerber files using a text editor.
I decided later to write a program to do automatic DRC of apertures (size, distance ans shape).
This program is available for free on request cause it is too large to be attached herer
Serge