{"action":"created","issue":{"url":"https://api.github.com/repos/daid/Cura/issues/1252","labels_url":"https://api.github.com/repos/daid/Cura/issues/1252/labels{/name}","comments_url":"https://api.github.com/repos/daid/Cura/issues/1252/comments","events_url":"https://api.github.com/repos/daid/Cura/issues/1252/events","html_url":"https://github.com/daid/Cura/issues/1252","id":79521218,"number":1252,"title":"Layer numbering inconsistent between g-code and GUI","user":{"login":"Nesciosquid","id":4042668,"avatar_url":"https://avatars.githubusercontent.com/u/4042668?v=3","gravatar_id":"","url":"https://api.github.com/users/Nesciosquid","html_url":"https://github.com/Nesciosquid","followers_url":"https://api.github.com/users/Nesciosquid/followers","following_url":"https://api.github.com/users/Nesciosquid/following{/other_user}","gists_url":"https://api.github.com/users/Nesciosquid/gists{/gist_id}","starred_url":"https://api.github.com/users/Nesciosquid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nesciosquid/subscriptions","organizations_url":"https://api.github.com/users/Nesciosquid/orgs","repos_url":"https://api.github.com/users/Nesciosquid/repos","events_url":"https://api.github.com/users/Nesciosquid/events{/privacy}","received_events_url":"https://api.github.com/users/Nesciosquid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-22T16:38:29Z","updated_at":"2015-05-22T18:11:18Z","closed_at":null,"body":"Cura generates comments for each layer in the g-code, which is great.\r\n\r\nHowever, when troubleshooting, I often want to compare the g-code against the Layers view in the GUI. This can be confusing, since the Layers view is 1-indexed, but the g-code comments are 0-indexed, so what should be layer 1 in the g-code is actually layer 2 in the GUI, etc.\r\n\r\nIs this intentional? I understand that perhaps starting from 0 in the GUI would be less intuitive for non-programmers, but the inconsistency is rather confusing unless you're looking for it.\r\n\r\nI'm using Cura 15.02.1 on Windows 7."},"comment":{"url":"https://api.github.com/repos/daid/Cura/issues/comments/104733474","html_url":"https://github.com/daid/Cura/issues/1252#issuecomment-104733474","issue_url":"https://api.github.com/repos/daid/Cura/issues/1252","id":104733474,"user":{"login":"daid","id":964186,"avatar_url":"https://avatars.githubusercontent.com/u/964186?v=3","gravatar_id":"","url":"https://api.github.com/users/daid","html_url":"https://github.com/daid","followers_url":"https://api.github.com/users/daid/followers","following_url":"https://api.github.com/users/daid/following{/other_user}","gists_url":"https://api.github.com/users/daid/gists{/gist_id}","starred_url":"https://api.github.com/users/daid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daid/subscriptions","organizations_url":"https://api.github.com/users/daid/orgs","repos_url":"https://api.github.com/users/daid/repos","events_url":"https://api.github.com/users/daid/events{/privacy}","received_events_url":"https://api.github.com/users/daid/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T18:11:18Z","updated_at":"2015-05-22T18:11:18Z","body":"It's unintentional, but as you already guessed. The layer numbering in the GCode comes from a programming brain, while the number in Cura comes from a user brain."}}