Marlin-Duplicator-6
Marlin-Duplicator-6 copied to clipboard
Probe position for linear bed leveling
Hi,
I don't think the calculation for probe position ist correct.
Let's assume that the probe is 35mm right from the extruder and you've defined MIN_PROBE_EDGE = 30 (as in your default config), than you'll get an assert while compiling with AUTO_BED_LEVELING_LINEAR enabled.
You simply can do this by defining (should be tweaked for Y also)
#define MIN_PROBE_EDGE max(30,X_PROBE_OFFSET_FROM_EXTRUDER)
or correcting the xxx_PROBE_BED_POSITION for each dimension in the right way.
P.S. 35mm is the default value for a D6 bed leveling solution from https://www.thingiverse.com/thing:2081168