G10: Tool Offset



  • Hi,

    Im working on a dual x carriage printer and i want to use the Z value in the tooloffset like this:

    G10 P1 U0 Y0 Z-1.8

    my second extruders nozzle is 1.8mm lower than the nozzle of extruder T0 . when i print with the T0 extruder the T1 extruder is add the end of the X/U axis and will not hit anything.

    This is working, when i do toolchange Z0 is on the correct Z position. The problem is my slicer (Slic3r) doesnt write a extra G01 z… after a toolchange so the nozzle just stays add the old Z position, what will result in a crash.

    So i know i can use "placeholders" in Slic3r but i didnt find any for the current z position if there is one i could add this code to the toolchange G code
    G01 Z[Current_z_position]

    Or is there a other solutution ?

    i know i can also put both extruders add exact same height both i hope there is a other solution for this.


  • administrators

    I started work on creating a restore point at the beginning of a tool change, but I didn't finish it because I need to work out exactly what needs to be restored on an IDEX machine. I'll give it some more thought.



  • any news on this ?



  • Cant you just use the Z offse for tool1 to adjust?


  • administrators

    You can try using G1 R2 in your tpost.g files, however I think it may set the X position incorrectly. I'll be working on a new 1.19alpha release today, so I'll take a look at this if you can give me some feedback on G1 R2.



  • G1 R2 wont work for me as I have U axis controlling a servo that moves the nozzles out of the way. This feature would save me a lot of headaches.


  • administrators

    @tangent1001:

    G1 R2 wont work for me as I have U axis controlling a servo that moves the nozzles out of the way. This feature would save me a lot of headaches.

    What feature would save you a lot of headaches?

    The behaviour of G1 R2 was corrected in recent 1.19 beta versions.



  • A feature that automatically applies toolhead offsets. It sounds like G1 R2 will work if I update to t 1.19 beta. I will try that. Thanks


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.