"frame" information as comment at start of gcode

Hello,

I’m looking to change the controller in my K40 to a duet controller.
As the duet is designed to be controlled exclusively through the web control panel and not through USB, one of the features that would be missing is being able to “frame” an output before cutting it.
Would it be possible to add the extents of the item to be laser cut as a comment at the beginning of the gcode? Maybe through 2 sets of co-ordinates? e.g. X10 Y50, X100 Y90?
This can then be implemented in the firmware so a feature can be added to “frame” the output to ensure the material being cut is in the correct position.

Thanks

I do have that information available, so yes, that would be easy to add to the header comments.

The Duet has no method for live control at all?

This is the new header:

; LightBurn 0.9.11
; GRBL device profile, current position
; Bounds: X-46 Y-38.11 to X46 Y38.11
G00 G17 G40 G21 G54
G91
M4
; Cut @ 100 mm/sec, 20% power
1 Like

I wouldn’t say it has no live control, it just doesn’t always play nicely.
Also, the connector on the board is a micro USB, so if it is permanently plugged in, the cable would have to be secured against knocking.
Thanks for adding the information to the header anyway.
I think in the long run its a nice to have anyway.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.