Notifications
Clear all

[Help Needed] Octoprint PrushMeshMap Plugin  

Page 3 / 9
  RSS
Brigandier
(@brigandier)
Reputable Member
Topic starter answered:
Re: [Help Needed] Octoprint PrushMeshMap Plugin


I have the same issue with the install just hanging on downloading matlibplot. So i ran the pip install commands with verbose and i see that it fails when it tries to compile numpy. The official OctoPi image is based on Raspbian and it seems like that might come without setuptools and all that https://raspberrypi.stackexchange.com/questions/71127/how-can-i-install-numpy-and-pandapower

So that is probably why it got fixed when people installed pip as that will install wheel and setuptools as well.

So it's sounding like I need to set up Octopi on a Pi 3 B+ (for what you just pointed out), and a Pi Zero W for MemoryError. I am fairly sure there's nothing I can do for these issues at the plugin level, but I can probably come up with some better documentation to prep for the plugin install.

My MK3 Parts: [Bowden] [New Shoes] [TPU Micro Springs]

Posted : 02/04/2018 9:50 pm
Kenji
(@kenji)
New Member
Re: [Help Needed] Octoprint PrushMeshMap Plugin

I did sudo apt-get install python-numpy python-matplotlib to fix it but not sure if that is the best solution

Posted : 02/04/2018 10:20 pm
aaron.p6
(@aaron-p6)
New Member
Re: [Help Needed] Octoprint PrushMeshMap Plugin

Just wanted to say that I absolutely love this. The results are much easier to read than the normal output. Now if only this was available for my hypercube.... 😀

Posted : 02/04/2018 10:50 pm
skap
 skap
(@skap)
Active Member
Re: [Help Needed] Octoprint PrushMeshMap Plugin

Thanks Brigandier for your work this is awesame
On my RP3 i first installed numpy (/home/pi/oprint/bin/python pip install numpy) then matplotlib with the same command and everythings goes fine.
both installation takes some time
And i would ask if is possible write on the heatmap the value read

Posted : 02/04/2018 11:45 pm
Brigandier
(@brigandier)
Reputable Member
Topic starter answered:
Re: [Help Needed] Octoprint PrushMeshMap Plugin


Just wanted to say that I absolutely love this. The results are much easier to read than the normal output. Now if only this was available for my hypercube.... 😀

Providing you can get the hypercube to output your mesh leveling results, I have no doubt this would be easy enough to fork and make modifications to for your model. Eventually it would be cool to see this plugin become universal to all mesh leveling printers, but I don't know if I have that amount of throughput. Maybe if others contribute. 🙂


Thanks Brigandier for your work this is awesame
On my RP3 i first installed numpy (/home/pi/oprint/bin/python pip install numpy) then matplotlib with the same command and everythings goes fine.
both installation takes some time
And i would ask if is possible write on the heatmap the value read

Glad to hear it works. Also, just added this: https://github.com/ff8jake/OctoPrint-PrusaMeshMap/issues/11 🙂

My MK3 Parts: [Bowden] [New Shoes] [TPU Micro Springs]

Posted : 03/04/2018 12:32 am
ed
 ed
(@ed-3)
Reputable Member
Re: [Help Needed] Octoprint PrushMeshMap Plugin


Just wanted to say that I absolutely love this. The results are much easier to read than the normal output. Now if only this was available for my hypercube.... 😀

How do you like the Hypercube? I've been considering adding a Hypercube Evolution to the stable if I decide to go for a second printer.

Posted : 03/04/2018 1:32 am
Kwaad2
(@kwaad2)
Honorable Member
Re: [Help Needed] Octoprint PrushMeshMap Plugin

I got it working... no idea how.

Hi, I'm Sean. I used to work on CNC machines.
I try to not make mistakes, but the decision is YOURS.
Please feel free to donate to my filament/maintance fund.

Posted : 03/04/2018 2:10 am
Brigandier
(@brigandier)
Reputable Member
Topic starter answered:
Re: [Help Needed] Octoprint PrushMeshMap Plugin

I accidentally cross threaded one of my bed screws about a week ago, it didn't hold and of course stripped completely. Just now got an m3 helicoil kit in. Drilled, retapped, put in the helicoil, and back in business.

Since it's so easy to run this over and over again with the plugin, I have come to the conclusion that the PINDA is pretty iffy down at the 0.01mm range. At the level of the heatmap above, my "high" spots move around from measurement to measurement, but pretty consistently 0.012mm variance. I can live with that. Wave/tpu springs are awesome. 🙂

My MK3 Parts: [Bowden] [New Shoes] [TPU Micro Springs]

Posted : 03/04/2018 3:28 am
Brigandier
(@brigandier)
Reputable Member
Topic starter answered:
Re: [Help Needed] Octoprint PrushMeshMap Plugin

Okay, I think we'll call this 0.1.2 and let it be a bit for people who want the general working version. If you guys would like to help test the next one coming up, it'll be available at https://github.com/ff8jake/OctoPrint-PrusaMeshMap/archive/0.2.0-alpha.zip until I decide to merge it into master. Once I merge to master and tag a new release, your OctoPrint should automatically detect and offer you the upgrade, so you're fine to wait if you want a more stable release.

So far, 0.2.0-alpha has more color options, to bait you suckers into trying it:

🙂

My MK3 Parts: [Bowden] [New Shoes] [TPU Micro Springs]

Posted : 03/04/2018 5:54 am
HansenDK
(@hansendk)
Eminent Member
Re: [Help Needed] Octoprint PrushMeshMap Plugin


Nah enjoy it, maybe post a screenshot of your heatmap? I have only ever seen my own, curious how much variation there is. Also if you haven't already, your current setup (hardware, OS, octoprint/octopi version) are helpful. I am going to skim over this thread when I get home from work and start creating a troubleshooting guide.

I think I already posted info about my setup, but here is my heatmap @ 70 degC (I was somewhat happy with it, until I saw yours 😯 ):

Feature request: Calculate the difference between the highest and lowest point - i.e. max(Z) - min(Z). This is one simple number representing the flatness of the bed.

Also: Are you aware that you can do a manual single point Z probe with G30? You could have another button ("Perform Advanced Bed Level and Check") in your plugin to do a more precise heat map, where you probe more points than 9 and maybe even probe each point more than once to calculate averages/stddevs.

Best regards
Hansen > Greetings from Denmark <

Posted : 03/04/2018 9:45 am
Kenji
(@kenji)
New Member
Re: [Help Needed] Octoprint PrushMeshMap Plugin

There is a feature request registered for displaying the total variance https://github.com/ff8jake/OctoPrint-PrusaMeshMap/issues/2

Doing manual probes of more locations to get a more accurate map sounds really interesting

Posted : 03/04/2018 3:09 pm
rkayakr
(@rkayakr)
Trusted Member
Re: [Help Needed] Octoprint PrushMeshMap Plugin

Thanks Brigandier, I finally got it running. It took using -verbose with pip to see that it hadn't died while installing matplotlib numpy, it was just very slow. My system is a Raspberry pi 3B connected by USB.
First measurement and after moving Y axis holders as much as possible. Any suggestions on what to adjust next?

Posted : 03/04/2018 4:32 pm
eric.d14
(@eric-d14)
Eminent Member
Re: [Help Needed] Octoprint PrushMeshMap Plugin


Thanks Brigandier, I finally got it running. It took using -verbose with pip to see that it hadn't died while installing matplotlib numpy, it was just very slow. My system is a Raspberry pi 3B connected by USB.
First measurement and after moving Y axis holders as much as possible. Any suggestions on what to adjust next?

With that much variation I would first double check the frame (endplates parallel with no rocking from corner to corner). Then inspect the z motor mounts and upper rod end holders before running the Z axis only calibration to ensure both motors are synchronized and not skewing the x rails.
See if that improves your next bed leveling test.

Posted : 03/04/2018 6:04 pm
ibn
 ibn
(@ibn)
Trusted Member
Re: [Help Needed] Octoprint PrushMeshMap Plugin


First measurement and after moving Y axis holders as much as possible. Any suggestions on what to adjust next?

When doing the z-calibration observe if both z-carriages go all the way to the top. It might be different with the new parts, with my original ones the carriage is actually hitting the head of an allen screw. Your pic looks like the z-carriages hitting stops that are not exactly the same height, basically the x-rods aren't horizontal as an result. I had a similar thing going on.

Posted : 03/04/2018 6:12 pm
Brigandier
(@brigandier)
Reputable Member
Topic starter answered:
Re: [Help Needed] Octoprint PrushMeshMap Plugin


Thanks Brigandier, I finally got it running. It took using -verbose with pip to see that it hadn't died while installing matplotlib numpy, it was just very slow. My system is a Raspberry pi 3B connected by USB.
First measurement and after moving Y axis holders as much as possible. Any suggestions on what to adjust next?

Ouch, that's pretty significant. At least it's uniform, so once you correct it you should be pretty level. 🙂

At that amount even with Y rod holders adjusted, I am also leaning towards some type of bigger frame issue. To be safe, I would do another Calibrate Z and test this again to make sure that's not messing with you. If you get the same result after Calibrate Z, I would start checking if your Z frame connections to the aluminum extrusions to ensure things are square.

Edit: ibn beat me to it. Make sure to check his suggestions as well regarding if the Calibrate Z is working as it should. 🙂

My MK3 Parts: [Bowden] [New Shoes] [TPU Micro Springs]

Posted : 03/04/2018 6:19 pm
rkayakr
(@rkayakr)
Trusted Member
Re: [Help Needed] Octoprint PrushMeshMap Plugin

Thanks for the tips. I loosened the right Z top and pushed it up. That made a big difference in the left-right level. Then I shimmed three points with paper and/or card stock shims. I'm stopping here for now at about 1/3 my original variance in level.

It looks like the next step would be to trim two of the spacers by about 0.1 mm

Posted : 03/04/2018 7:28 pm
Brigandier
(@brigandier)
Reputable Member
Topic starter answered:
Re: [Help Needed] Octoprint PrushMeshMap Plugin


Thanks for the tips. I loosened the right Z top and pushed it up. That made a big difference in the left-right level. Then I shimmed three points with paper and/or card stock shims. I'm stopping here for now at about 1/3 my original variance in level.

It looks like the next step would be to trim two of the spacers by about 0.1 mm

Search the forums for the TPU micro springs thread. Info there on using TPU spacers or (better for high heat) steel wave springs on your bed screws. Will give you full level adjustment across all nine screws. 🙂

My MK3 Parts: [Bowden] [New Shoes] [TPU Micro Springs]

Posted : 03/04/2018 7:43 pm
neil.e
(@neil-e)
Estimable Member
Re: [Help Needed] Octoprint PrushMeshMap Plugin

Finally have a chance to get back to trying to set this up on my Raspberry Pi B+. I tried the pip route to get matplotlib and numpy installed but it was taking forever with TONS of compiler warnings and errors. I gave up and went the apt-get route instead:

sudo apt-get install python-numpy
sudo apt-get install python-matplotlib

But whatever version of matplotlib that installs either isn't the right one or doesn't get installed where Octoprint can see it as the plug-in install attempts to download matplotlib-2.2.2.tar.gz again.

I'd love to see the step by step list of commands someone's done to actually successfully install this plug-in on a Raspberry Pi B+ with the Octoprint image from https://octoprint.org/download/ , because all the suggestions in this thread still haven't resulted in a successful install on my end.

Posted : 04/04/2018 4:19 am
Brigandier
(@brigandier)
Reputable Member
Topic starter answered:
Re: [Help Needed] Octoprint PrushMeshMap Plugin


Finally have a chance to get back to trying to set this up on my Raspberry Pi B+. I tried the pip route to get matplotlib and numpy installed but it was taking forever with TONS of compiler warnings and errors. I gave up and went the apt-get route instead:

sudo apt-get install python-numpy
sudo apt-get install python-matplotlib

But whatever version of matplotlib that installs either isn't the right one or doesn't get installed where Octoprint can see it as the plug-in install attempts to download matplotlib-2.2.2.tar.gz again.

I'd love to see the step by step list of commands someone's done to actually successfully install this plug-in on a Raspberry Pi B+ with the Octoprint image from https://octoprint.org/download/ , because all the suggestions in this thread still haven't resulted in a successful install on my end.

Sorry about this. been working some late nights. Going to try to get a Pi configured tomorrow and see where I can get with it.

My MK3 Parts: [Bowden] [New Shoes] [TPU Micro Springs]

Posted : 04/04/2018 4:34 am
neil.e
(@neil-e)
Estimable Member
Re: [Help Needed] Octoprint PrushMeshMap Plugin

Sorry about this. been working some late nights. Going to try to get a Pi configured tomorrow and see where I can get with it.

No apology required! I too got busy and just didn't get around to this until today. This is all an on-the-side thing for us 🙂

Posted : 04/04/2018 4:40 am
Page 3 / 9
Share: