Re: ROI program to show G-code of the region of interest
Originally Posted by
hasanqo
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