You have 2 options
1 - For Windows and Mac copy the included VectortoGcode.jsx in your Adobe illustrator scripts folder. Usually located in Adobe Illustrator 2021/Presets.localized/en_US/Scripts/
You can then access the file via your File/Scripts menu
2 - As an alternative you can use this amazing free pluguin to easily access your scripts from an illustrator panel. With this panel you can place your scripts anywhere in your computer.
Windows extra step
For Windows you need to open VectortoGcode.jsx with any text editor and edit the las line. Between the cuotes you need to enter the location in which you app is located. For example :
File('C:\\Users\\UserName\\Desktop\\vtg\\VectortoGcode-win32-ia32\\VectortoGcode.exe').execute(); Make sure to use double backslash
In this section you are going to find an icon (i). Clicking on that icon is going to take you to a help page.
General Start / End commands
The “Start command” will appear at the beginning of your gcode. The “End command” will appear at the end of your gcode. This is useful to add a sequence of steps like zeroing your axis before starting. You can add multiple gcode commands in multiple lines.
"Min cmd" and "Max cmd" will move your Z axis up or down depending on the line width of your drawing. This might be used, for example, to draw thick and thin lines with the same brush. However, it only works if you have G0 Z gcode commands for your Z axis.
The “On cmd” is triggered every time the machine starts drawing a new line. The “Off cmd” is triggered every time the machine stops drawing a line. You can use this for any CNC machine and add a custom command for your machine. For example, you could use these commands to turn on or off a laser if your machine is a laser cutter / engraver. You can add multiple gcode commands in multiple lines. This will work with every line color unless you have line colors specified in the next section.
"On cmd” and "Off cmd" will be triggered by the color of your lines in your Illustrator or SVG file. The “Color" fields need to match the color of the line in your drawing to trigger the “On" and “Off commands”. The “Color" field values need to be in HEX format, for example, FF0000 for the color red. Make sure your document is in RGB color mode if you are opening the app from Illustrator. For the “On" and “Off commands” you can add multiple gcode commands in multiple lines. Leave these fields empty if you don't want to use this feature.
The “Feed Rate" is the speed at which your machine moves while drawing. The “Seek Rate” is the speed of your machine while moving to the next place to start drawing.
With this feature you can insert commands every X amount of lines in your gcode. You can either add a path in your Illustrator file with a specific color or directly insert a gcode command directly in the panel. You can also do both simultaneously, the path and the code. A good case scenario for this is if you are painting with a brush and need to load paint every X amount of lines because you don't have a continuous supply of paint.
In this section you can load an svg source file with your drawing in the "Input File" field. If you are coming from Adobe Illustrator, this field is going to be automatically filled in for you. The Output File input is the name that your gcode file is going to have. You can access your generated gcode files in your documents folder. Access your gode files via Menu / Gcode files.
Save or load setting files for multiple configurations. Specially useful when you have several different machines. Your settings are going to be saved in your Documents folder and you can access the folder via Menu/Outputs.
Generate your code
If you are having problems with the app try the following things.
1. Try closing the app and reopening it.
2. If the first option doesn't work, close the app again and make sure the app has read and write permissions to Documents. You can follow the steps below:
• On your Mac, choose Apple menu > System Preferences, click Security & Privacy , then click Privacy.
• Select Files and Folders
• Select the checkbox below of VectorToGecode app to allow it to access files and folders in Documents.
3. If the second option doesn't work then close the app again and delete the VectorToGcode folder in Documents. Then open the app again and insert your license.
1. Try closing the app and reopening it.
2. If the second option doesn't work then close the app again and delete the VectorToGcode folder in Documents. Then open the app again and insert your license.
If you still have questions make sure to contact us.