Usual .ngc program does not have an idea what the stock is and where it is located.
However, many [ if not most ] customers now uses CAM tools to generate .ngc
I propose to define format of .ngc comment that will define workpiece size and position. This comment can be easily generated by post-processor ( I checked at least for Autodesk Fusion and SoldiCam - both can do that).
If this comment is present, GlCanon will see it during program parse and render it.
It will allow user to visually see stock contours and make less mistakes when preparing to program run.
If this idea is generally accepted, I am ready to develop this feature and submit PR.
Usual .ngc program does not have an idea what the stock is and where it is located.
However, many [ if not most ] customers now uses CAM tools to generate .ngc
I propose to define format of .ngc comment that will define workpiece size and position. This comment can be easily generated by post-processor ( I checked at least for Autodesk Fusion and SoldiCam - both can do that).
If this comment is present, GlCanon will see it during program parse and render it.
It will allow user to visually see stock contours and make less mistakes when preparing to program run.
If this idea is generally accepted, I am ready to develop this feature and submit PR.