This video presents MeshInspector ability to visualize g-code NC programs for CNC machines, as well as navigate in the programs and highlight individual steps in them.
Full text of the video:
Hello everybody.
This video is an overview of a new plugin designed to visualize g-code, more precisely, the path of movement of the tool set by the g-code commands.
The plugin is located on the test tab.
It supports working with multiple files. You can open files using this button, or by dragging them into the program window. Open files are displayed in the upper part of the plugin window, the toolpaths generated by them are displayed in the scene. The contents of the selected file are displayed in the central part of the window.
At the moment, the plugin supports the basic movement commands G0, G1, G2 and G3, and also commands for manipulating the coordinate system:
G90, G91 - absolute and relative coordinate systems;
G50, G51 - scaling;
G20, G21 - inches or millimeters.
For ease of perception, the idle is displayed in gray, the working stroke is displayed in a color specific to each individual file. The color of the file can be customized here. You can also turn off or turn on the display of some files.
Next, you can select a line in the file for analysis. The corresponding part of the toolpath will be highlighted, and the following information about it will be displayed at the bottom of the window:
its begin and end points, length and feed rate. If the selected path part is poorly visible, you can focus the camera on it using this button. You can also scroll a selected line by buttons "arrow up" and "arrow down" or clicking on tool path part in the scene. For ease of selection, when the mouse approaches the tool path, the part closest to it will be highlighted.
Also, you can convert the selected tool path into a object lines.
Finally, the plugin has several visualization settings, which can be found here. You can set up next parameters:
the width of the lines;
the colors of the selected and highlighted tool path sections;
enable or disable the display of the feed rate by the color brightness gradient;
and also the accuracy when searching for the nearest tool path section.
Thanks for watching and I hope you find this tutorial helpful.
See you soon.
MeshInspector website:
[ Ссылка ]
MeshInspector features overview:
[ Ссылка ]
Download release:
[ Ссылка ]
Projects on GitHub:
[ Ссылка ]
[ Ссылка ]
Socials:
[ Ссылка ]
[ Ссылка ]
[ Ссылка ]
#gcode #cncmachine #visualization
![](https://i.ytimg.com/vi/0UOz1bf832E/maxresdefault.jpg)