Development of a G-code analyzer and editor

OData support
Lajtha András Balázs
Department of Telecommunications and Media Informatics

3D printing technology has brought substantial changes in numerous areas of production, such as automotive industry, architecture and medical science. Moreover, it has already leaked into people’s private lives as well.

The G-code, which is made by slicer applications, is crucial for those printing procedures where the print head melts the plastic and builds the object following the axes. This program code builds the object from the 3D model with 2D movement. By connecting the code with the printer, we can create actual objects from virtual models.

I became familiar with the 3D printing technology in the past years. While working with 3D printing, I have experienced that printing big and complex objects is time consuming and requires continuous attention to the printer. During working with the printer, I encountered numerous problems that still have to be solved: for instance, it is very complicated to use multiple colors and materials while printing one object. Moreover, constructing a model is overly complicated too. Furthermore, there is too little information about the models before printing. The G-Code does not contain information about the amount of filament needed or time required to print the model.

Therefore, the main objective of the present project is to reconcile these difficulties in 3D printing. I aimed to create a program that is able to edit G-code, and also calculates and displays important information for the user.

In the first part of my thesis, I introduce 3D printing, more specifically, I describe the types of printers, filament based printing mechanism, and the types of material being used. I discuss the major obstacles, specific errors, the causes of these errors and their possible solutions.

In the second part, I introduce the novel application that I created, which is able to read G-code and display the most important parameters for the user. The application is able to read the model based on the G-code and its measures. Finally, the program supports possibilities for manipulating the printing process, such as pausing and restarting printing by breaking the G-code into multiple parts. The new application has been tested and documented.


Please sign in to download the files of this thesis.