Hi,
where can I set an Z offset for multi extruder machines in the firmware?
The following works for X and Y offset, but not for Z.
// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).
// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).
// For the other hotends it is their distance from the extruder 0 hotend.
#define HOTEND_OFFSET_X { 0.00, -1.50, 0.00 } // (mm) relative X-offset for each nozzle
#define HOTEND_OFFSET_Y { 0.00, 3.40, 0.00 } // (mm) relative Y-offset for each nozzle
#define HOTEND_OFFSET_Z { 0.00, 4.00, 0.00 } // (mm) relative Z-offset for each nozzle
Z is just ignored.
So I thougt about using G-Code when a tool change happens:
/**
* Universal tool change settings.
* Applies to all types of extruders except where explicitly noted.
*/
#if HAS_MULTI_EXTRUDER
// Z raise distance for tool-change, as needed for some extruders
#define TOOLCHANGE_ZRAISE 4 // (mm)
//#define TOOLCHANGE_ZRAISE_BEFORE_RETRACT // Apply raise before swap retraction (if enabled)
//#define TOOLCHANGE_NO_RETURN // Never return to previous position on tool-change
#if ENABLED(TOOLCHANGE_NO_RETURN)
//#define EVENT_GCODE_AFTER_TOOLCHANGE "G12X" // Extra G-code to run after tool-change
#endif
but how can I run a different G-Code depending on which tool the printer has changed to.
Would be nice if someone has an solution for my problem