Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixup position adjustment on toolchange #4010

Merged
merged 2 commits into from
Jun 16, 2016

Conversation

thinkyhead
Copy link
Member

@thinkyhead thinkyhead commented Jun 11, 2016

Background: When changing tools, gcode_T ascertains the position, in coordinate-space, of the new nozzle. The offsets are specified in physical space, so when leveling is active some additional adjustments are needed to get the position in the adjusted coordinate space.

Meanwhile, when tools share the same carriage, tool change works like G92 in coordinate space w/r/t the carriage. So the software endstops need to be adjusted in XY to provide proper movement limits for the active tool. This adjustment must be made in linear space, with no leveling adjustment, in all cases where tools share the same carriage.

This PR makes the following changes:

  • Update software endstops in all cases (including ABL, MBL)
  • Update Z when Mesh Bed Leveling is active, because otherwise it's wrong

Note that Z software endstops are not changed because only the configured offsets apply, and the only tool with a Z adjustment (switching extruder #3994) manages that earlier, and transparently.

Subscribing: @epatel @Roxy-3DPrintBoard

@thinkyhead thinkyhead merged commit da90bbe into MarlinFirmware:RCBugFix Jun 16, 2016
@thinkyhead thinkyhead deleted the rc_toolchange_adjust branch June 16, 2016 04:10
@thinkyhead thinkyhead mentioned this pull request Jul 8, 2016
@jbrazio jbrazio modified the milestone: 1.1.0 Jul 18, 2016
drewmoseley pushed a commit to drewmoseley/Marlin that referenced this pull request Nov 8, 2023
…-control

backlight: always allow backlight to dim/wake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants