top of page

G-Code Maker 2.0  [An Inkscape Extension]

A Gcode Converter Tool by vishnus_technologies

G-code Maker 2.0 software is developed to work with the latest CNC Machines. This software has included many option to work with the CNC Machines. Also it has inbuilt python automation modules. The latest python Interpreter is used as default Interpreter, known for its fastest G-code generation & performance.

What is Gcode Maker 2.0 ?

G-code Maker 2.0 is an inkscape [vector graphics editor] extension software tool. Used for converting selected 2D vector images/texts into G-code command supports with GRBL v1.1h, which is uploaded to arduino as a firmware. The GRBL v1.1h will support many functionalities, option for the neat working of an 2D Plotter. In this 'How to make Arduino 2D Plotter' project I has used the same software for the generation for g-code file for my machine. 

​This extension converts the selected objects to g-code command paths. It also have inbuilt python API Modules for 'UGS' automation. We can launch the 'UGS' Platform automatically, with selected type of generated g-code file. You should assign the target path of the application and define short-keys used for 'connect', 'open' options..

​

Why Gcode Maker 2.0?

The G-code Maker 2.0 Extension software is developed by vishnus_technologies.

It is open source, hence has many options, It also has inbuilt automation option which open the particular UGS/G-code Sender software after the successful generation of g-code data. It opens directly from the extension's window. So, we don't have to again open the particular g-code sender, connect to arduino, opens a g-code data to loaded and so on... all these works has done by software automatically. 

​

what is gcodemaer
why is gcodemaker
SID

Software Information Documentation

Terms and Conditions !

"G-code Maker 2.0" extension is fully open-source. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License.
As published by the Free Software Foundation; either any versions of the License, (at your option) any later versions. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY.

Required Applications

1. Inkscape x64bit v1.0.1 [~88.7MB]
2. Python 3.9.1 (v3.9.1, Dec  7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)] on win32 [26.8MB] 
3. UGS Universal G-code Sender v2.0.0 or v2.0.7 [Recommended] [~156MB]

Application Download Links

T&C
ReqApp
AppDwnLnk

G-code Maker 2.0 Software Installation   [For Windows OS]

Installation   -[Using Setup.exe]

1. Download and run the G-code Maker v 2.0.0 installer for Windows: Download Section (223 MB)

- The installer is an executable, named "GcodeMaker_20v4.exe".

- Make sure that 'Change Python Interpreter' , 'Install Python modules' options are selected before clicking 'finish' button within the installation.

2. Download and install Inkscape version 1.0.2 from the download page at Inkscape.org. (Most users will want the 64-Bit download.). Or you can install the installer within this setup. You can also select to install Universal G-code Sender Platform v2.0.7 while working with G-code Maker 2.0's setup.exe.

- If you need additional assistance for installing Inkscape, you may be able to find good advice at the the Inkscape wiki and/or the Inkscape Forums.

​

GM SoftwareIns
Ins1

Alternate Install  [manual]

Before continuing with this manual installation, you should download and install couple of third party softwares into your system.

1. Inkscape v1.0.2  x64 bit [~535 MB]

2. Python Interpreter [python v3.9.1 [MSC v.1927 64 bit]] [~332 MB]

3. Universal G-code Sender Platform v2.0 or v2.0.7[recommended]  x64 bit

[ See Application Link Section to download the required above applications.]

​

Note: This software G-code Maker 2.0 works only with Python Interpreter v3.9.0 and above, UGS v2.0 and above. 

​

# After installing Inkscape v1.0.1,  python Interpreter, UGS v2.0.7 on your computer,

follow the below steps
# Just follow below 3 steps  for manual installation 

(See Software User Installation Guide file which is associated with G-code Maker 2.0 source file pack.)

​

​

1. COPYING THE  SOURCE CODE TO INKSCAPE's USER EXTENSION FOLDER.

1. Download the software source files in ZIP archive, and unzip it. (Your computer may unzip the archive automatically for you.)
2. Locate and open your Inkscape user extensions directory. You can find this location as follows:
   A. Open Inkscape 1.0.1
   B. From the menu, select Edit > Preferences
   C. Select 'System' from the list on the left panel of the preferences window.
   D. On the right-hand panel is a list of directory locations. Click the "Open" button to the right of the "User extensions" folder location.
3. Copy the contents of the ZIP archive that you downloaded (9 items total; 8 files and 1 sub-directories folder) into your Inkscape extensions directory, overwriting any files and directories with the same names.
4. Close the folder.

[YOU HAVE SUCCESSFULLY COPIED THE EXTENSION SOURCE CODES]

​

​

2. SETTING PYTHON V3.9.1  AS INKSCAPES's DEFAULT PYHTON INTERPRETER

To work with automation modules in G-code Maker 2.0, we have to change Inkscape's default python Interpreter from Python 3.8.5 [GCC 10.2.0 64 bit] --> python 3.9.1 [MSC v.1927 64 bit] *[to default]  [This extension software does not support python < 3.9]

​

2.1  Locate and open Inkscape's Appdata folder on your system. If not you can find this location as follows:-

2.1.1  Open Inkscape 1.0.1   

2.1.2  From the menu, select Edit > Preferences   

2.1.3  Select 'System' from the list on the left panel of the preferences window. 

2.1.4  On the right-hand panel is a list of directory locations. Click the "Open" button to the right of the "User Config" folder location.

2.1.5  Open preferences.xml file in your favorite text editor  [notepad++]

Before opening that make sure all Inkscape processes  has been terminated.

2.1.6  Search for <id=extension> definition part in preferences.xml file.

Below <id=extension> add    [Python-Interpreter="v3.9.1-Python-Interpreter-Path"]

Python-Interpreter="C:\Users\%username%\ AppData\Local\Programs\Python\Python39\pythonw.exe"

/>

 

Text to be added:

Python-Interpreter="C:\Users\%username%\ AppData\Local\Programs\Python\Python39\pythonw.exe"

 

Before :  

<id=extension/>
**** **** ****   <- Add here.

​

After:

<id=extension>
Python-Interpreter="C:\Users\%username%\ AppData\Local\Programs\Python\Python39\pythonw.exe"

/>

​

[*%username%  = Replace this tag by your System's Login Account Name Eg: Lilly, Alex etc...]

[YOU HAVE SUCCESSFULLY CHANGED INKSCAPE'S DEFAULT INTERPRETER]

​

​

3. INSTALLING REQUIRED PYTHON MODULES FOR OUR EXTENSION

Since we have changed the Inkscape's default python to Python v3.9.1 [MSC  v.1927 64 bit] 

So we have to install some of the python modules required by our software.

#Note :  Follow the steps to install those, before proceeding make sure that you have active Internet Connection in your system.

​

3.1  Copy the path of newly installed Python39 's Script folder in your system.

[Mostly @ Location : "C:/Users/%username%/Appdata/Local/Programs/Python/Python39/Scripts/"

3.2  Copy the above location.

3.3  Open Windows Command Promat

3.4  Type: cd C:/Users/%username%/Appdata/Local/Programs/Python/Python39/Scripts/

3.5  Press ENTER

3.6  Type : pip install keyboard 

[Press Enter ↵ ]

3.7  Type : pip install numpy 

 [Press Enter ↵ ]

3.8  Type : pip install lxml 

 [Press Enter ↵ ]

3.9  Type : pip install inkex 

 [Press Enter ↵ ]

3.10 Type : pip install pyautogui 

 [Press Enter ↵ ]

3.11  Type : pip install pywinauto

 [Press Enter  ]

3.12  Close the cmd and all other opened folders   

[YOU HAVE SUCCESSFULLY INSTALLED PYHTON MODULES]

​

Ins2
copying src
def PyInt
InsPyModl

Extension UI  Documentation Section

In this section you will be provided with the description of features of this G-code Maker 2.0 extension.

You can refer this section for, how to use the different features/options contains in this extension. A clear documentation on UI Automation tab and handling of errors are also been included.

​

TAB 1: WELCOME TAB
#It contains general welcome note.


TAB 2 : PARAMETRIC OPTIONS TAB
#Using this tab you can change different parameter values or machine settings.

1.'Laser ON Command' : The command for turning ON the laser.  
For example, Z-0.5 , Z-1.2 ..
2.'Laser OFF Command' : The command for turning OFF the laser.  For example,  Z0.5 , Z1.2 

3.'Travel Speed' : The speed of the machine when the laser is OFF in mm/min.

4.'Laser Speed' : The speed of the machine when the laser is ON in mm/min.

5.'Laser Power' : If you have PWM control, then you can adjust this.  For J Tech firmware and
most 3D printers use a number between 0 and 255 (255 being full power).  For GRBL 0.9 and 1
standard use a number between 0 and 12000 (12000 being full power).   If you don’t have PWM, 
keep at max power (either 255 or 12000).

6.'Power On Delay' : This will turn on the laser and wait to move until the delay is complete.  
It is used to heat up the material and initiate the burning process.  
Delay in millisecond for 3D printers and seconds for GRBL.

7.'Passes' : If cutting, this will repeat the entire path by the number of passes.  If engraving leave as 1.

8.'Pass Depth' : This will move Z axis down by this amount for each pass. 
For example, 3mm piece of material with 3 passes might use 1mm per pass to cut all the way through.

9.'Directory' : The directory to store the file.

10.'Filename' : Name of the file.

11.'Add numeric suffix to filename' : Adds a number to the name in case there already is a file with the same name in the directory.

12.'All Units' : Change the units to either mm or inches.  This will make everything in inches or mm.

13.'Live preview' : Shows the path being generated.

14.'Apply' : Click to run the converter.

TAB 3: COLOR TAB
#Using this tab we can set the different color tool for each layers.
- By doing so you for different color you set, machine will takes those color pens from its pre-defined destinations. 


TAB 4 : USER DEFINED TOOL PATH SETTINGS TAB
#In this tab you can set custom tool (color) path if needed.

- Define each single line of G-code in different line tabs.
Each g-code defined in tabs will start from a new line.
 
- Make sure that 'User Tool Path' option from 

'Color Settings' tab is selected, to enable this setting.

TAB 5: UGS AUTOMATION TAB
#This is the main tab where you can enable/disable or set different parameters for the UGS Automation service. [refer line 208]
As you know, this feature is the highlight of this extension.

1.'Enable UGS Automation Service' : Enable this checkbox to activate UGS Automation service. Uncheck to disable it.
2.'UGS Target Path' : Define UGS Application target directory here. Helps to open the application when required.
3.'UGS State' : Select 'Running' when the UGS Application is running in your system as background processes. Else select 'Stopped' option.
4.'UGS Application Launch Time' : In this options, select the minimum launch time for UGS
Application in your system. [Varies in different systems, system architecture]
5.'Assign Short Key Used' : Assign the short key used for 'CONNECT' & 'OPEN FILE' options in UGS Application.
6.'Import File Type in UGS' : Here you can select which type of g-code file you want to open in UGS. In Export tab we can export the g-code as  new/fresh file, or you can append the data to some other file.

So, select 'OPEN NEWLY GENERATED GCODE FILE' option to open newly generated file. It will open recent generated new g-code file. Else, select 'OPEN APPENDED GCODE FILE' option to open  appended file on UGS Import. It will open recent saved g-code append file.[refer Export tab]
*NOTE:-  It will always open recently saved new/appended g-code file, for either of the options.

TAB 6 : EXPORT TAB
#This tab contains options for exporting g-code file.
- This tab allows you to export the generated g-code data in two ways. one as a new file, other you can append the data to some other existing file.

1.'Export as a new g-code file : Select 'EXPORT AS A NEW GCODE FILE' option for exporting g-code data as a new file.
2.'Directory' : Define the path at which, you want to save your g-code data as a new file.
3.'Filename' : Define the filename that you want to give for your g-code file.
4.'Add Numeric suffix to filename' : Enabling this will add numeric suffix value to file name, when you give same filename for next file, it will numeric suffix, so that existing data will not  be lost!
Ex: g-codedata.gcode, gocdedata_001.gcode, output_023.gocde, output_014.gcode etc....
5.'All Units [mm/in]' : This is the default machine Units, this units will be used by machine, g-code data and UGS application in future.
6.'Append G-code Data with below Directory File' : Select 'APPEND GCODE DATA WITH BELOW  DIRECTORY' option for appending g-code data with some other existing file.
7.'Directory' : Define the pre-existing file path to which you want to save your g-code data. 
8.'Filename' : Define filename of pre-existing file, for appending g-code data.
9.'Create Log File' : Enable this to create code log file,
At default path: "C:/Users/user/GMLogFile1.txt"
10.'Create ELog File' : By enabling this, it will create, all time export data text file including, Export time, date, Whether UGS Automation was enabled or not, UGS State, Export type, Export path [where the file has saved on each exporting], G-code Maker Platform, etc...  It will be created by default at path : "D:/UGS E-Log.txt"

TAB 7 : ABOUT TAB
#This tab contain details/description about the application, Terms and Conditions, Author's details etc.
*NOTE: This tab also contain terms and condition agreement check box, Make sure that it is enabled to run this extension.

UIDoc
SoftDwnSec
WinIns
SrcPack

Software Download Section

G-code Maker 2.0 Software Windows Installer Pack 

# For executable installation.  (See Installation sections for more..)

 

File Name : GcodeMaker_20v4.exe

File Size : 234 MB

File Type : Windows Installer Pack

Architecture : x64 bit 

Click on it to start download  :  GcodeMaker_20v4.exe

​

​

G-code Maker 2.0 Software Source File Pack

# For Manual installation.  (See Alternate  Install [manual]  section for more..)

 

File Name : GcodeMaker_20src-v3.zip

File Size : 20 MB

File Type : Zip pack [compressed]

Architecture : x64 bit support only files

Click on it to start download  :  GcodeMaker_20src-v3.zip

bottom of page