Vector to Gcode
Vector to Gcode is the solution to build modular gcode.
Convert your .svg files to gcode.
Customize your code with your specifications, set interval commands, set start and end commands, save multiple settings to use with different cnc machines and more.
Easily convert your drawings from Adobe Illustrator to Gcode. The Vector to Gcode script is included.
New in Vector to gcode V10 : Preview your custom gcode!
Windows Version
Mac Version
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.
Variable Line Width
"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.
Default Line - On/Off commands
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.
Color Lines - On/Off commands
"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.
Speed
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.
Insert Interval Command
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.
File
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.
Settings
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.
Run
Preview and Generate your code
Preview Settings
Change the colors in the preview panel. You can change the bed colors as well as the paths colors
Preview
Preview your path to make sure everything is in order before generating your gcode