prusa3d / Prusa-Firmware-Buddy

Firmware for the Original Prusa MINI, Original Prusa MK4 and the Original Prusa XL 3D printers by Prusa Research.
Other
1.15k stars 224 forks source link

G CODE / M CODE FOR BED LEVELING MINI #1239

Closed kakafon2205 closed 3 years ago

kakafon2205 commented 3 years ago

Hi I have a question whether it would not be possible to incorporate mesh bed leveling into the slicer or rather into the interface of a menu on the printer in the future. All the time before I catch the first layer, there are delays with cooling, measuring flatness and reheating. If it were possible to have it measured during the first print and after the detection of a poorly printed first layer, run the program behind this block. Or it would be possible to dig up your own program header in the slicer, but then be able to run the program from a certain block on the printer. This is how I have to modify the program for the first run and then have another one for the next iteration. printer type MINI

hasechris commented 3 years ago

Hi @kakafon2205,

im using octoprint with this gcode. Please delete the comments if you want to use this.

M155 S0                     <-- disable temp reports
@BEDLEVELVISUALIZER    <--- hint for the Level Visualizer Plugin, that next output from Printer is MBL Table
G29 T                          <-- this triggers the MBL
M155 S1                     <-- enable temp reports every 1 seconds

You will get this output from "G29 T"

Recv:       0      1      2      3
Recv:  0 -0.192 -0.108 -0.111 -0.123
Recv:  1 -0.069 +0.084 +0.074 +0.057
Recv:  2 +0.017 +0.090 +0.098 +0.114
Recv:  3 -0.120 -0.039 +0.041 +0.096

Here is the prusa Knowledge Base article for g-codes: https://help.prusa3d.com/de/article/prusa-spezifische-g-codes_112173

And here is the reprap list with all gcodes in the underlying reprap firmware: https://reprap.org/wiki/G-code

Greetings hasechris

hasechris commented 3 years ago

Hi @kakafon2205,

soo, this was the background info. Back to the second part of your question. I think it is not a good practice to skip the MBL run infront of every print. This 30 Seconds will stop you from getting failed prints, which you cant see before 2-3 hours of printing...

Best Regards hasechris

kakafon2205 commented 3 years ago

Yes. of course. You cnow beeter what is best from me :-) men. But werry thanks for answer and i try learn programming .

Best regards.

po 8. 2. 2021 v 23:48 odesílatel Christian Hase notifications@github.com napsal:

Hi @kakafon2205 https://github.com/kakafon2205,

soo, this was the background info. Back to the second part of your question. I think it is not a good practice to skip the MBL run infront of every print. This 30 Seconds will stop you from getting failed prints, which you cant see before 2-3 hours of printing...

Best Regards hasechris

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/prusa3d/Prusa-Firmware-Buddy/issues/1239#issuecomment-775515064, or unsubscribe https://github.com/notifications/unsubscribe-auth/APCXTPORQYJO5H363YAA4JLS6BS2DANCNFSM4WHM5WCQ .

-- Tomáš Winter Za humny 262, Tuchlovice, 273 02 tel.: 608859350 e-mail: kakafon2205.tw@gmail.com ID datové schránky: kzs8zv6

JohnnyDeer commented 3 years ago

Hi @kakafon2205, we don't consider this request is good idea, can cause more issues. You can skip MBL by custom Gcode as @hasechris wrote. I´m closing this issue. Thank you for understanding.