{"action":"created","issue":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/2412","labels_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/2412/labels{/name}","comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/2412/comments","events_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/2412/events","html_url":"https://github.com/MarlinFirmware/Marlin/issues/2412","id":94246710,"number":2412,"title":"Z position incorrect after G29","user":{"login":"avri-schneider","id":6785181,"avatar_url":"https://avatars.githubusercontent.com/u/6785181?v=3","gravatar_id":"","url":"https://api.github.com/users/avri-schneider","html_url":"https://github.com/avri-schneider","followers_url":"https://api.github.com/users/avri-schneider/followers","following_url":"https://api.github.com/users/avri-schneider/following{/other_user}","gists_url":"https://api.github.com/users/avri-schneider/gists{/gist_id}","starred_url":"https://api.github.com/users/avri-schneider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avri-schneider/subscriptions","organizations_url":"https://api.github.com/users/avri-schneider/orgs","repos_url":"https://api.github.com/users/avri-schneider/repos","events_url":"https://api.github.com/users/avri-schneider/events{/privacy}","received_events_url":"https://api.github.com/users/avri-schneider/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-10T08:16:38Z","updated_at":"2015-07-10T10:53:47Z","closed_at":null,"body":"Using latest development branch.\r\n\r\nAfter issuing `G28`, moving Z to position 0 gets Z at position 0.\r\nAfter issuing `G29`, moving Z to position 0 gets Z at `Z_PROBE_OFFSET_FROM_EXTRUDER`.\r\n\r\nIt is expected that moving Z to position 0 after `G29`, hot-end nozzle would touch the bed and not be at position `Z_PROBE_OFFSET_FROM_EXTRUDER` above the bed.\r\n\r\nIs changing\r\n\r\n    z_tmp = current_position[Z_AXIS],\r\n\r\nto\r\n\r\n    z_tmp = current_position[Z_AXIS]  - Z_PROBE_OFFSET_FROM_EXTRUDER\r\n\r\nthe proper fix? (it resolves the issue for me)."},"comment":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/comments/120382417","html_url":"https://github.com/MarlinFirmware/Marlin/issues/2412#issuecomment-120382417","issue_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/2412","id":120382417,"user":{"login":"thinkyhead","id":698003,"avatar_url":"https://avatars.githubusercontent.com/u/698003?v=3","gravatar_id":"","url":"https://api.github.com/users/thinkyhead","html_url":"https://github.com/thinkyhead","followers_url":"https://api.github.com/users/thinkyhead/followers","following_url":"https://api.github.com/users/thinkyhead/following{/other_user}","gists_url":"https://api.github.com/users/thinkyhead/gists{/gist_id}","starred_url":"https://api.github.com/users/thinkyhead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thinkyhead/subscriptions","organizations_url":"https://api.github.com/users/thinkyhead/orgs","repos_url":"https://api.github.com/users/thinkyhead/repos","events_url":"https://api.github.com/users/thinkyhead/events{/privacy}","received_events_url":"https://api.github.com/users/thinkyhead/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T10:53:47Z","updated_at":"2015-07-10T10:53:47Z","body":"I'm not sure if that's the exact fix, but this would be more correct:\r\n\r\n    z_tmp = current_position[Z_AXIS]  - zprobe_zoffset"}}