I think this has what you are looking for and I think the source code is included in the download. If the source code is not included, I think it is on GetHub.
https://www.cncedit.com/Basicviewer/
hi...... can somone help me iam trying to design program in visual basic to show the region of interest of specific region and show its G-code .....thanks
Similar Threads:
I think this has what you are looking for and I think the source code is included in the download. If the source code is not included, I think it is on GetHub.
https://www.cncedit.com/Basicviewer/
Jim Dawson
Sandy, Oregon, USA
thanks alot... but i mean on picture not for g -code file ... i want it working on image and get the g-code region of interest .
I think that software does exactly what you want. The ''picture'' is generated from the G code, then when you select a region or a line on the picture, the associated G code is displayed.
On the other hand, this is pretty simple. You already know what region is associated with a particular line or lines of G code, just spin up an array that has the screen X, Y coordinates and G code lines associated. Call the position on a mouse click to display the associated G code in a listbox or textbox.
Jim Dawson
Sandy, Oregon, USA