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
Incorrect "Height map" algorithm for 4 or more axes. #341
Comments
I've had the same issue, I'm using grbl-Mega-5X for my 4-axis machine. What I had to do was temporarily flash a vanilla GRBL firmware in order to get it working for a PCB job, and then switch back the firmware when I was done... That, or probe manually and fill in the values which got old super fast. |
I am too lazy to download and set up a build environment for this project, so I opened the executable file, found and edited the regex string. And it worked like a charm. That second Editing executable files is dangerous. Try at your own risk! |
Thank you for this, it was driving me absolutely crazy! And thanks @henpemaz, I was able to edit the executable on my Mac to fix the issue. Seems like a quick fix. |
Any chance you can let us know step-by-step how to do this on windows? |
When using the grbl branch for 4 or more axes, the "z" coordinate in the "height map" algorithm is incorrectly parsed. The height map is filled with zeros. This is because the regular expression in ". * PRB: ([^,] *), ([^,] *), ([^] ^:] *)" in cap (3) takes everything up to the character ":" . You need something like ". * PRB: ([^,] *), ([^,] *), ([^] ^: ^,] *)".
The text was updated successfully, but these errors were encountered: