In the process of leveling my bed manually, I wrote a Python script ( https://github.com/ff8jake/g81-to-heatmap ) to decipher the G81 output into something a bit more human. Like this:
Many of you liked it, and I received a few requests to turn this into an Octoprint plugin. So I did.
I know many of you really want to tweak with this, including things like measuring after getting your PINDA up to temp. So I added the option to customize the gcode:
Finally, I have also made this in such a way that it constantly watches the output coming back from the printer. Any time a G81 happens (via the script above, or via a nice G81 inserted into your Slic3r start scripts!), it's going to recalculate the heatmap. You'll just need to go to the Prush Mesh Level tab, click reload under the heatmap image, and see what your last G81 results were. This will be very nice for troubleshooting. Have a crappy first layer? Go check that last heatmap and see what the PINDA thought on that particular print.
How to Use it Yourself:
I haven't put this on the Octoprint Plugin Directory yet because I want to battle test it a bit more and get some more ideas from you guys first. If you run Octoprint and want to give this a shot, do the following:
- Log in to Octoprint,
- Go to Settings > Plugin Manager,
- Click the "Get More..." button at the bottom of the plugin list,
- Scroll down to "... from URL" and paste in: https://github.com/ff8jake/OctoPrint-Pr ... master.zip
- Click Install, and when it finishes restart your Octoprint server.
You can go to Settings > Prusa Mesh Leveling if you'd like to adjust the gcode script to include heater settings, PINDA warmup, etc.
This is my first Octoprint plugin. I do Python work as a Linux Sys Admin as needed at work and whenever my hobbies call for it. If anyone here has Octoprint plugin experience, please PM me an example and I may throw you directly onto this project. Of course, if you are only wanting to add some one off changes or improvements, it's on Github so you can fork and make a pull request as well. Issues and feature requests are also welcome and appreciated.
Github Repo: https://github.com/ff8jake/OctoPrint-PrusaMeshMap
Thank you guys for your help!