Example: CNC 3D Editor
Product: CNC
This example describes how to use of the online CNC editor. With the online CNC editor, it is possible to graphically visualize and textually edit a CNC path (G code).
![]() |
Description
With the graphical visualization of the path, it is possible to view the path from any perspective. The view can be rotated around all three axes and the viewpoint can be moved within the field. In addition, it is possible to zoom continuously.
The G code can be displayed and changed using a text editor. The text editor is connected to the graphical visualization. The element where the cursor points is highlighted in the visualization. Each change in the G code is applied in the visualization.
In an execution mode, the visualization can display the current progress of the path processing. The graphical element which the tool is processing at the moment is marked, as well as the elements which have already been processed.
The example consists of two main pages of the visualization which can be toggled using the tab at the top left of the screen.
The first page is called "Programming". Here it is possible to load, edit, view, as well as save various G code files. The corresponding menu is located at the bottom right, in combination with the list of available G code files.

The graphical visualization is located at the top left.

The text editor for the G code is located at the bottom left.

The elements for changing the camera position for the graphical editor are located at the top left.

The graphical visualization, the navigation elements, and the G code editor are located on the second page called "Execution". The contents are write-protected. On the right side, the elements for processing or selection of G code files are replaced by elements for controlling and monitoring of the path processing.

System requirements and restrictions
Programming system | CODESYS Development System (version 3.5.14.0 or higher) |
Runtime system | CODESYS Control Win (version 3.5.14.0) |
Add-on components | - |
Note
DOWNLOAD Project