Toolchange macro issue

Basic Information:

Printer Model: Tenlog D3P (idex) (hellbot hidra plus in Argentina)
MCU / Printerboard: atmega2560
klippy.log
klippy.log (3.0 MB)

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:

good afternoon, my problem is, when I make a multimaterial print, when I change the tool, the incoming tool goes to exactly the same position as the previous one, and immediately travels to the point where said tool has to print, generating a small blob in there, does anyone have a macro to help me with this problem or what could be happening?

I while back I over-engineered a solution to this by writing a perl script that parses the gcode file, finds the first travel move after every toolchange macro, extracts the X, Y, and Z coordinates from that move, and appends them as variable values to the toolchange macro command itself. Then the macro uses those values to command the toolhead to the starting location of the next print move before resuming the print. You can check it out here.

Another way of addressing the problem could be to have your toolchange macro raise the Z height by a few mm and then not lower it again, so that when your toolhead returns to its previous location at the end of the macro, it’s a few mm above the print rather than directly over it. The downside of this approach though is that you still need to use a postprocessing script to make sure the first G1 command after every toolchange explicitly contains the Z coordinate otherwise you’ll be printing in midair.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.