Quantcast
Viewing all articles
Browse latest Browse all 12089

Re: M218 Z-Offset without DualCarriage or SwitchingExtruder

I finally got it to work. The trick was to activate the movement of the z-axis when toolchanging. The change in the post above has to be done as well (in order to accept the offset).
You have to make a change in the function "void tool_change(", which is located in marlin_main.cpp as well. Since this function is quite long, I can't post it in its entirety, but you are looking for the line:
current_position[Z_AXIS] -= hotend_offset[Z_AXIS][active_extruder] - hotend_offset[Z_AXIS][tmp_extruder];
This is located in a "#if ENABLED(DUAL_X_CARRIAGE)" section by default. You can post the line right before this section. A z-offset now makes the z_axis move when sending T1/T0.

Best regards,
Leo

Viewing all articles
Browse latest Browse all 12089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>