{"action":"created","issue":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/12610","repository_url":"https://api.github.com/repos/MarlinFirmware/Marlin","labels_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/12610/labels{/name}","comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/12610/comments","events_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/12610/events","html_url":"https://github.com/MarlinFirmware/Marlin/pull/12610","id":389015814,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MTI2NDQw","number":12610,"title":"[Small bugfix] ABL Probing grid is to be centered on the bed.","user":{"login":"MasterPIC","id":4478154,"node_id":"MDQ6VXNlcjQ0NzgxNTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/4478154?v=4","gravatar_id":"","url":"https://api.github.com/users/MasterPIC","html_url":"https://github.com/MasterPIC","followers_url":"https://api.github.com/users/MasterPIC/followers","following_url":"https://api.github.com/users/MasterPIC/following{/other_user}","gists_url":"https://api.github.com/users/MasterPIC/gists{/gist_id}","starred_url":"https://api.github.com/users/MasterPIC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MasterPIC/subscriptions","organizations_url":"https://api.github.com/users/MasterPIC/orgs","repos_url":"https://api.github.com/users/MasterPIC/repos","events_url":"https://api.github.com/users/MasterPIC/events{/privacy}","received_events_url":"https://api.github.com/users/MasterPIC/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-09T12:05:58Z","updated_at":"2018-12-09T17:14:50Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/pulls/12610","html_url":"https://github.com/MarlinFirmware/Marlin/pull/12610","diff_url":"https://github.com/MarlinFirmware/Marlin/pull/12610.diff","patch_url":"https://github.com/MarlinFirmware/Marlin/pull/12610.patch"},"body":"The purpose (#12242) is to have a probing grid centered on the bed (typically the print is centered too...).\r\n\r\n@thinkyhead  I'm still not sure about the probe offset (I don't know if it's already taken into account when computing the probing grid); maybe the following change is right:\r\n\r\n`left_probe_bed_position  = MAX((X_BED_SIZE - size) / 2 - X_PROBE_OFFSET_FROM_EXTRUDER, MIN_PROBE_X);`\r\n`front_probe_bed_position = MAX((Y_BED_SIZE - size) / 2 - Y_PROBE_OFFSET_FROM_EXTRUDER, MIN_PROBE_Y);`"},"comment":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/comments/445554772","html_url":"https://github.com/MarlinFirmware/Marlin/pull/12610#issuecomment-445554772","issue_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/12610","id":445554772,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTU1NDc3Mg==","user":{"login":"thinkyhead","id":698003,"node_id":"MDQ6VXNlcjY5ODAwMw==","avatar_url":"https://avatars2.githubusercontent.com/u/698003?v=4","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":"2018-12-09T17:14:50Z","updated_at":"2018-12-09T17:14:50Z","author_association":"MEMBER","body":"This won’t work in all cases. For example, the center of the bed on a Delta is 0,0 — not the bed size divided by two."}}
{"actor":{"display_login":"thinkyhead"}}