Where use bed compensation
-
Hi,
for Duet to use the "bed compensated", where is it better to put it? In the config.g, in the end gcode of the slicer, elsewhere
And
If I don't look and use it in two places. Apply it twice
-
@peirof in your slicer start code. You shouldn't apply it in config.g because you haven't yet homed your printer! If you use G32 auto bed levelling, you should load it after that too
It's probably good practice to add a command to disable mesh compensation in your homing files (M561 I think?) -
@peirof
Main thing is to not load your heightmap.csv it until you have set your Z-Height (G30).Where from there is up to you.
I recommend applying in the homez.g as one of the very last steps.
I am not a fan of putting anything in the slicers personally as I use to many and all have their own quirks.
When validating your tool height be sure you disable mesh compensation.
-
good, but...
that contradicts the previous answer from @ENGIKENEER ... which recommends me not to use it in the homedelta.g, right?
They both make sense, at least to me.
-
If you don't want to put it in the slicer you could create a start.g macro in the sys folder. Put G28 and G29 S1 in it to homeall and then load the heightmap. This macro gets executed right before any slicer gcode gets executed.
-
okay,
seems reasonable ... but I must remove any references that are G29 S1, anywhere ...
- Slicer, I think now I have it here
- config.g
- Homedelta.g
because if the G29 S1 command applied it twice. Would the printer do double compensation? or no matter how many times I put it, it only applies 1 time?
-
@peirof said in Where use bed compensation:
no matter how many times I put it, it only applies 1 time?
correct