Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - electrizay

1
Tools of the trade / Re: Cutting mylar stencils with a silohuette cameo
Hi,

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))
with
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))

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

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01282251224session_write_close ( )...(null):0
20.01312382824ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01312383600Database_MySQL->query( ).../DatabaseHandler.php:119
40.05742522344Database_MySQL->error( ).../Db-mysql.class.php:273