Calibrating a delta printer using conditional GCode
-
This is better than sliced bread!
-
I'm curious to know what might be used with the "Move" construct. The example shows "Move.Axes[]" and "Move.CalibrationDeviation", but I don't see anything showing what else is available.
For example, the homing script might be modified to continue attempting to re-calibrate until either 5 iterations are reached, OR the difference between the "deviation before" and "deviation after" is less than 0.02.
-
@dc42 When dreams come true…
Just one question: it looks like „iterations“ is an implicit property of the while loop. If so, can I change that property from within the loop? Or can I evaluate it in a conditional statement?
-
@infiniteloop said in Calibrating a delta printer using conditional GCode:
@dc42 When dreams come true…
Just one question: it looks like „iterations“ is an implicit property of the while loop. If so, can I change that property from within the loop? Or can I evaluate it in a conditional statement?
You can use it in any expression, including a condition ('if', 'while' etc.) but you can't change it. Currently you can't define your own variables, so I included 'iterations' to make counted loops possible.
-
@garyd9 said in Calibrating a delta printer using conditional GCode:
I'm curious to know what might be used with the "Move" construct. The example shows "Move.Axes[]" and "Move.CalibrationDeviation", but I don't see anything showing what else is available.
See https://forum.duet3d.com/topic/13797/where-can-i-find-rrf3-0-object-model-reference-material.
-
Ooooohhhhhh yeah! More intelligent nozzle wipe process on toolchange possible soon!
Anxiously awaiting the beta..
-
Wowzers!!! That is FANTASTIC and what a great starting 'proof'.
Now I have a reason to go RRF3 on my Duet2 hardware!
-
wouldn't it be better to use '==' for comparison, rather than '='?
-
@fma said in Calibrating a delta printer using conditional GCode:
wouldn't it be better to use '==' for comparison, rather than '='?
Why? But the syntax allows both anyway.
-
To avoid confusion with variable assignement, but I just saw in the documentation than you will use 'set' for that purpose. Good to have both notations.