SOLVED Tool offsets in tool selection documentation
https://duet3d.dozuki.com/Wiki/Gcode#Section_T_Select_Tool documents pre RepRapFirmware 2.03 behavior regarding when the tool offsets are applied. It says they apply only after tpost#.g is executed. It would be nice to clarify that beyond the firmware release notes.
Sorry I don't use any multi tool printers, can you be more specific about what is lacking and where and I can update it.
It is the following section
3. If all axes have been homed, run macro tpre#.g where # is the number of the new tool 4. Set the new tool to its operating temperatures specified by the S parameter in the most recent G10 command for that tool 5. If all axes have been homed, run macro tpost#.g where # is the number of the new tool. Typically this file would contain at least a M116 command to wait for its temperatures to stabilise. 6. Apply any X, Y, Z offset for the new tool specified by G10
Step 6. is since 2.03 already done in step 4., See the upgrade notes for 2.03 or dc42's comment in https://forum.duet3d.com/topic/16483/extrude-in-tpre/13
Tool offsets are applied whenever there is a current tool. So they are applied in tfree.g (for the outgoing tool) and in tpost.g (for the incoming tool), but not in tpre.g (because no tool is current at that point).
The Select Tool documentation doesn't reflect that. I'm just trying to get the documentation fixed. There is no issue with the actual behavior.
@jannau Understood. I'll get that updated. Thanks for bringing it to attention.