Any way to disable bed leveling before print?

I've been digging through printer.cfg and all of the referenced macro files and I can't find where the bed levelling happens. I'd like to be able to home/level/calibrate mesh once per session and then have it use those values for subsequent prints. Any pointers?
16 Replies
ptegler
ptegler16mo ago
search for PAM in printer.cfg you can simply turn off bed_mesh leveling (false) no you have to add it but PAM is discussed here and how to implement
Helge Keck
Helge Keck16mo ago
No description
Helge Keck
Helge Keck16mo ago
set this value to False and, you need to create one bed mesh and save it with the name ratos this will be loaded then
apparent-cyan
apparent-cyan16mo ago
so I've got the bed mesh part disabled already. But it still does the levelling part.
Helge Keck
Helge Keck16mo ago
i do not recommend to disable z-tilt to do this you need to override a macro not a good idea
apparent-cyan
apparent-cyan16mo ago
that's what I want to do. Which macro is it?
Mitsuma
Mitsuma16mo ago
dont disable z-tilt, its pretty important and probably makes for a bad time if you disable it home and z-tilt literally take like 20s or so, Im sure you can spare that time. speed them up if you havent already
apparent-cyan
apparent-cyan16mo ago
When I'm printing a bunch of <5 min tests in a row it really does slow things down. As I said, I want to run z-tilt manually prior to doing this sort of thing.
Helge Keck
Helge Keck16mo ago
still, a bad idea
apparent-cyan
apparent-cyan16mo ago
why is it a bad idea?
Helge Keck
Helge Keck16mo ago
because after a print the motors get deactivated and the bed isnt locked anymore
apparent-cyan
apparent-cyan16mo ago
can I override that too? If it's able to stay step-perfect for a day long print seems like it should be fine to keep it in a known state for an hour or two
Helge Keck
Helge Keck16mo ago
i can only suggest you to make the z-tilt faster i have a bad feeling with sharing how to turn it off
apparent-cyan
apparent-cyan16mo ago
haha ok, noted. I'll ask a different way - how do you suggest I go about keeping a fixed coordinate system so that I can make small tolerance adjustments iteratively? A related thing that also came up recently was making a touch off probe to measure distances more precisely - this would also require that any calibration is kept fixed throughout the session.
Helge Keck
Helge Keck16mo ago
i am sorry, i do not understand the question
miklschmidt
miklschmidt16mo ago
If you just want to prevent the motors turning off at the end of a print (which is the only time where you lose kinematic positioning), you can do that by overriding END_PRINT. Something like:
# The end_print macro is also called from CANCEL_PRINT.
[gcode_macro END_PRINT]
description: End print procedure, use this in your Slicer.
gcode:
SAVE_GCODE_STATE NAME=end_print_state
_END_PRINT_BEFORE_HEATERS_OFF
TURN_OFF_HEATERS
_END_PRINT_AFTER_HEATERS_OFF
_END_PRINT_PARK
# Clear skew profile if any was loaded.
{% if printer["gcode_macro RatOS"].skew_profile is defined %}
SET_SKEW CLEAR=1
{% endif %}
# Steppers off
# M84
# Part cooling fan off
M107
M117 Done :)
RESPOND MSG="Done :)"
RESTORE_GCODE_STATE NAME=end_print_state
# The end_print macro is also called from CANCEL_PRINT.
[gcode_macro END_PRINT]
description: End print procedure, use this in your Slicer.
gcode:
SAVE_GCODE_STATE NAME=end_print_state
_END_PRINT_BEFORE_HEATERS_OFF
TURN_OFF_HEATERS
_END_PRINT_AFTER_HEATERS_OFF
_END_PRINT_PARK
# Clear skew profile if any was loaded.
{% if printer["gcode_macro RatOS"].skew_profile is defined %}
SET_SKEW CLEAR=1
{% endif %}
# Steppers off
# M84
# Part cooling fan off
M107
M117 Done :)
RESPOND MSG="Done :)"
RESTORE_GCODE_STATE NAME=end_print_state