MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.24k stars 19.22k forks source link

I can't make bilinear bed autoleveling work correctly #10783

Closed Loooooouuuuu closed 6 years ago

Loooooouuuuu commented 6 years ago

Hello !

I'm using an Anet A8 with a MKS gen 1.4 board with TMC2130 stepper drivers and a BLTouch. It seems to work correctly, but when I print after a G28 & G29, it looks like it doesn't compensate at all. The prints are uneven :/

Here's my configuration files :

https://zerobin.net/?c227086df040487f#aIwMxO1OHOpDUchnKkY97z6U+7VyD/1yMx7/Ni/jThA=

https://zerobin.net/?a43ffc7dcba61515#ILtaWg/OB6Cmo/8Nk4VdbaSkYkCNiYx/DGSpH8TTDM0=

I tried with multiple probing, more probing points, ... My bed should be even (It's an ultrabase glass & bed)

I didn't try 2.0.0 (Should I ? Would it work well with an MKS gen 1.4 ?)

Thanks a lot for your help !

thinkyhead commented 6 years ago

Try the current bugfix-1.1.x.

Also, instead of jumping straight into printing, do some basic movement with leveling enabled and see how it behaves. If you see a certain pattern of misbehavior, please describe it.

You can also set exaggerated values using the M421 command to see if bed leveling moves in the right direction and by the right distance based on the points you set.

With DEBUG_LEVELING_FEATURE enabled, you can do G29 Q to query Marlin about the current position and find out how much compensation is being applied there. If you find unexpected values, we'd like to know about that.

Loooooouuuuu commented 6 years ago

Hey, thanks for your help !

It looks like adding the G29 command to the print's gcode (and not do it before, then start the print) seems to work. I thought doing G29 before the print was the same.

Thanks again !

ManuelMcLure commented 6 years ago

It looks like adding the G29 command to the print's gcode (and not do it before, then start the print) seems to work. I thought doing G29 before the print was the same.

If your gcode has a G28, that will usually disable bed leveling and you need to do a G29 after the G28. You can change this behavior by setting RESTORE_LEVELING_AFTER_G28.

github-actions[bot] commented 4 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.