Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beta test for custom header/footer #783

Closed
arkypita opened this issue Nov 23, 2019 · 8 comments
Closed

Beta test for custom header/footer #783

arkypita opened this issue Nov 23, 2019 · 8 comments

Comments

@arkypita
Copy link
Owner

arkypita commented Nov 23, 2019

Hi all!
I need beta testing this version: https://github.com/arkypita/LaserGRBL/releases/tag/v3.0.19
Anyone is welcome to download and use and give feedback about:

  • customize header/footer/cycle codes (same macros of custom button are available)
  • realtime commands sent from custom button, and from header/footer/cycles too

Available realtime commands: https://github.com/gnea/grbl/wiki/Grbl-v1.1-Commands#grbl-v11-realtime-commands

Available macros:

macro value
left Left margin of loaded image (X)
right Right margin of loaded image (X)
top Top margin of loaded image (Y)
bottom Bottom margin of loaded image (Y)
width Width of loaded image
height Height of loaded image
jogstep Actual value of jog step cursor
jogspeed Actual value of jog speed cursor
WCO.X Actual value of WCO X (Work Coordinate Offset) use .X .Y .Z
MPos.X Actual Machine position. Support .X .Y .Z
WPos.X Actual Work position. Support .X .Y .Z
@distebia
Copy link

potrei inserire nel codice personalizzato il comando pause a ogni linea come discusso su #698?

@arkypita
Copy link
Owner Author

potrei inserire nel codice personalizzato il comando pause a ogni linea come discusso su #698?

no, this feature is not intended to do that

@B1Gt0ne
Copy link

B1Gt0ne commented Dec 2, 2019

How do I enter a code?
I want to add M452 P3 R255 F200 S1 as a header

@arkypita
Copy link
Owner Author

arkypita commented Dec 2, 2019

Download latest pre-release

open "grbl-settings" and edit this page

image

@B1Gt0ne
Copy link

B1Gt0ne commented Dec 2, 2019 via email

@arkypita
Copy link
Owner Author

arkypita commented Dec 2, 2019

Difference is not in exported gcode.
Exported GCode does not include custom header/footer

@B1Gt0ne
Copy link

B1Gt0ne commented Dec 2, 2019 via email

@arkypita
Copy link
Owner Author

arkypita commented Dec 3, 2019

OK I see. Is this a possibility for a future release?

I don't think that is correct to export header/footer into saved gcode.

Custom header/footer, and code between passes, is sent by LaserGRBL to the engrave at the act of start job (header), between each passes (passes), and after the last pass (footer).

If you put this code into export, when you reload the exported file in LaserGRBL you can't distinguish them from the rest of GCode, so they will be repeated twice (and worse, between each pass).

Furthermore, the changes you make to the header / footer configuration would no longer apply to the files you exported (because they now have that information inside them).

For all these reasons I am convinced that it is not right to export these lines to the saved file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants