{"action":"created","comment":{"url":"https://api.github.com/repos/Ultimaker/CuraEngine/pulls/comments/136016891","pull_request_review_id":59496508,"id":136016891,"diff_hunk":"@@ -455,6 +455,7 @@ void FffGcodeWriter::processStartingCode(const SliceDataStorage& storage, const\n         const RetractionConfig& retraction_config = storage.retraction_config_per_extruder[start_extruder_nr];\n         gcode.writeRetraction(retraction_config);\n     }\n+    gcode.writeExtrusionMode();","path":"src/FffGcodeWriter.cpp","position":4,"original_position":4,"commit_id":"8ce91f82d5c7d28d2ec8894795d7950dd3262c28","original_commit_id":"8ce91f82d5c7d28d2ec8894795d7950dd3262c28","user":{"login":"BagelOrb","id":8895761,"avatar_url":"https://avatars2.githubusercontent.com/u/8895761?v=4","gravatar_id":"","url":"https://api.github.com/users/BagelOrb","html_url":"https://github.com/BagelOrb","followers_url":"https://api.github.com/users/BagelOrb/followers","following_url":"https://api.github.com/users/BagelOrb/following{/other_user}","gists_url":"https://api.github.com/users/BagelOrb/gists{/gist_id}","starred_url":"https://api.github.com/users/BagelOrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BagelOrb/subscriptions","organizations_url":"https://api.github.com/users/BagelOrb/orgs","repos_url":"https://api.github.com/users/BagelOrb/repos","events_url":"https://api.github.com/users/BagelOrb/events{/privacy}","received_events_url":"https://api.github.com/users/BagelOrb/received_events","type":"User","site_admin":false},"body":"With what extrusion mode is the starting gcode processed?\r\nShould we perhaps set the extrusion mode to absolute extrusion before the processing of the start gcode.\r\n\r\nAlso I would like to set the extrusion back to normal at the end of a print.\r\n\r\nI suggest you change the function to\r\n```\r\nvoid GCodeExport::writeExtrusionMode(bool relative_extrusion)\r\n```","created_at":"2017-08-30T09:25:12Z","updated_at":"2017-08-30T09:25:15Z","html_url":"https://github.com/Ultimaker/CuraEngine/pull/579#discussion_r136016891","pull_request_url":"https://api.github.com/repos/Ultimaker/CuraEngine/pulls/579","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Ultimaker/CuraEngine/pulls/comments/136016891"},"html":{"href":"https://github.com/Ultimaker/CuraEngine/pull/579#discussion_r136016891"},"pull_request":{"href":"https://api.github.com/repos/Ultimaker/CuraEngine/pulls/579"}}},"pull_request":{"url":"https://api.github.com/repos/Ultimaker/CuraEngine/pulls/579","id":134389140,"html_url":"https://github.com/Ultimaker/CuraEngine/pull/579","diff_url":"https://github.com/Ultimaker/CuraEngine/pull/579.diff","patch_url":"https://github.com/Ultimaker/CuraEngine/pull/579.patch","issue_url":"https://api.github.com/repos/Ultimaker/CuraEngine/issues/579","number":579,"state":"open","locked":false,"title":"Use relative extrusion when outputting RepRap flavour gcode.","user":{"login":"smartavionics","id":585618,"avatar_url":"https://avatars1.githubusercontent.com/u/585618?v=4","gravatar_id":"","url":"https://api.github.com/users/smartavionics","html_url":"https://github.com/smartavionics","followers_url":"https://api.github.com/users/smartavionics/followers","following_url":"https://api.github.com/users/smartavionics/following{/other_user}","gists_url":"https://api.github.com/users/smartavionics/gists{/gist_id}","starred_url":"https://api.github.com/users/smartavionics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smartavionics/subscriptions","organizations_url":"https://api.github.com/users/smartavionics/orgs","repos_url":"https://api.github.com/users/smartavionics/repos","events_url":"https://api.github.com/users/smartavionics/events{/privacy}","received_events_url":"https://api.github.com/users/smartavionics/received_events","type":"User","site_admin":false},"body":"The RepRap people would prefer this.","created_at":"2017-08-07T08:47:50Z","updated_at":"2017-08-30T09:25:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"79115955f74ddc081ec318a041cc59bbb98ed5c1","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Ultimaker/CuraEngine/pulls/579/commits","review_comments_url":"https://api.github.com/repos/Ultimaker/CuraEngine/pulls/579/comments","review_comment_url":"https://api.github.com/repos/Ultimaker/CuraEngine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ultimaker/CuraEngine/issues/579/comments","statuses_url":"https://api.github.com/repos/Ultimaker/CuraEngine/statuses/8ce91f82d5c7d28d2ec8894795d7950dd3262c28","head":{"label":"smartavionics:mb-reprap-relative-extrusion","ref":"mb-reprap-relative-extrusion","sha":"8ce91f82d5c7d28d2ec8894795d7950dd3262c28","user":{"login":"smartavionics","id":585618,"avatar_url":"https://avatars1.githubusercontent.com/u/585618?v=4","gravatar_id":"","url":"https://api.github.com/users/smartavionics","html_url":"https://github.com/smartavionics","followers_url":"https://api.github.com/users/smartavionics/followers","following_url":"https://api.github.com/users/smartavionics/following{/other_user}","gists_url":"https://api.github.com/users/smartavionics/gists{/gist_id}","starred_url":"https://api.github.com/users/smartavionics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smartavionics/subscriptions","organizations_url":"https://api.github.com/users/smartavionics/orgs","repos_url":"https://api.github.com/users/smartavionics/repos","events_url":"https://api.github.com/users/smartavionics/events{/privacy}","received_events_url":"https://api.github.com/users/smartavionics/received_events","type":"User","site_admin":false},"repo":{"id":75826420,"name":"CuraEngine","full_name":"smartavionics/CuraEngine","owner":{"login":"smartavionics","id":585618,"avatar_url":"https://avatars1.githubusercontent.com/u/585618?v=4","gravatar_id":"","url":"https://api.github.com/users/smartavionics","html_url":"https://github.com/smartavionics","followers_url":"https://api.github.com/users/smartavionics/followers","following_url":"https://api.github.com/users/smartavionics/following{/other_user}","gists_url":"https://api.github.com/users/smartavionics/gists{/gist_id}","starred_url":"https://api.github.com/users/smartavionics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smartavionics/subscriptions","organizations_url":"https://api.github.com/users/smartavionics/orgs","repos_url":"https://api.github.com/users/smartavionics/repos","events_url":"https://api.github.com/users/smartavionics/events{/privacy}","received_events_url":"https://api.github.com/users/smartavionics/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smartavionics/CuraEngine","description":"CuraEngine is a powerful, fast and robust engine for processing 3D models into 3D printing instruction for Ultimaker and other GCode based 3D printers. It is part of the larger open source project called \"Cura\".","fork":true,"url":"https://api.github.com/repos/smartavionics/CuraEngine","forks_url":"https://api.github.com/repos/smartavionics/CuraEngine/forks","keys_url":"https://api.github.com/repos/smartavionics/CuraEngine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smartavionics/CuraEngine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smartavionics/CuraEngine/teams","hooks_url":"https://api.github.com/repos/smartavionics/CuraEngine/hooks","issue_events_url":"https://api.github.com/repos/smartavionics/CuraEngine/issues/events{/number}","events_url":"https://api.github.com/repos/smartavionics/CuraEngine/events","assignees_url":"https://api.github.com/repos/smartavionics/CuraEngine/assignees{/user}","branches_url":"https://api.github.com/repos/smartavionics/CuraEngine/branches{/branch}","tags_url":"https://api.github.com/repos/smartavionics/CuraEngine/tags","blobs_url":"https://api.github.com/repos/smartavionics/CuraEngine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smartavionics/CuraEngine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smartavionics/CuraEngine/git/refs{/sha}","trees_url":"https://api.github.com/repos/smartavionics/CuraEngine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smartavionics/CuraEngine/statuses/{sha}","languages_url":"https://api.github.com/repos/smartavionics/CuraEngine/languages","stargazers_url":"https://api.github.com/repos/smartavionics/CuraEngine/stargazers","contributors_url":"https://api.github.com/repos/smartavionics/CuraEngine/contributors","subscribers_url":"https://api.github.com/repos/smartavionics/CuraEngine/subscribers","subscription_url":"https://api.github.com/repos/smartavionics/CuraEngine/subscription","commits_url":"https://api.github.com/repos/smartavionics/CuraEngine/commits{/sha}","git_commits_url":"https://api.github.com/repos/smartavionics/CuraEngine/git/commits{/sha}","comments_url":"https://api.github.com/repos/smartavionics/CuraEngine/comments{/number}","issue_comment_url":"https://api.github.com/repos/smartavionics/CuraEngine/issues/comments{/number}","contents_url":"https://api.github.com/repos/smartavionics/CuraEngine/contents/{+path}","compare_url":"https://api.github.com/repos/smartavionics/CuraEngine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smartavionics/CuraEngine/merges","archive_url":"https://api.github.com/repos/smartavionics/CuraEngine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smartavionics/CuraEngine/downloads","issues_url":"https://api.github.com/repos/smartavionics/CuraEngine/issues{/number}","pulls_url":"https://api.github.com/repos/smartavionics/CuraEngine/pulls{/number}","milestones_url":"https://api.github.com/repos/smartavionics/CuraEngine/milestones{/number}","notifications_url":"https://api.github.com/repos/smartavionics/CuraEngine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smartavionics/CuraEngine/labels{/name}","releases_url":"https://api.github.com/repos/smartavionics/CuraEngine/releases{/id}","deployments_url":"https://api.github.com/repos/smartavionics/CuraEngine/deployments","created_at":"2016-12-07T10:44:45Z","updated_at":"2016-12-07T10:44:47Z","pushed_at":"2017-08-29T07:40:48Z","git_url":"git://github.com/smartavionics/CuraEngine.git","ssh_url":"git@github.com:smartavionics/CuraEngine.git","clone_url":"https://github.com/smartavionics/CuraEngine.git","svn_url":"https://github.com/smartavionics/CuraEngine","homepage":"https://ultimaker.com/en/products/cura-software","size":43390,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Ultimaker:master","ref":"master","sha":"6a219445b1ba6fced49f206694cffac052c35f4d","user":{"login":"Ultimaker","id":499557,"avatar_url":"https://avatars1.githubusercontent.com/u/499557?v=4","gravatar_id":"","url":"https://api.github.com/users/Ultimaker","html_url":"https://github.com/Ultimaker","followers_url":"https://api.github.com/users/Ultimaker/followers","following_url":"https://api.github.com/users/Ultimaker/following{/other_user}","gists_url":"https://api.github.com/users/Ultimaker/gists{/gist_id}","starred_url":"https://api.github.com/users/Ultimaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ultimaker/subscriptions","organizations_url":"https://api.github.com/users/Ultimaker/orgs","repos_url":"https://api.github.com/users/Ultimaker/repos","events_url":"https://api.github.com/users/Ultimaker/events{/privacy}","received_events_url":"https://api.github.com/users/Ultimaker/received_events","type":"Organization","site_admin":false},"repo":{"id":8556864,"name":"CuraEngine","full_name":"Ultimaker/CuraEngine","owner":{"login":"Ultimaker","id":499557,"avatar_url":"https://avatars1.githubusercontent.com/u/499557?v=4","gravatar_id":"","url":"https://api.github.com/users/Ultimaker","html_url":"https://github.com/Ultimaker","followers_url":"https://api.github.com/users/Ultimaker/followers","following_url":"https://api.github.com/users/Ultimaker/following{/other_user}","gists_url":"https://api.github.com/users/Ultimaker/gists{/gist_id}","starred_url":"https://api.github.com/users/Ultimaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ultimaker/subscriptions","organizations_url":"https://api.github.com/users/Ultimaker/orgs","repos_url":"https://api.github.com/users/Ultimaker/repos","events_url":"https://api.github.com/users/Ultimaker/events{/privacy}","received_events_url":"https://api.github.com/users/Ultimaker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Ultimaker/CuraEngine","description":"CuraEngine is a powerful, fast and robust engine for processing 3D models into 3D printing instruction for Ultimaker and other GCode based 3D printers. It is part of the larger open source project called \"Cura\".","fork":false,"url":"https://api.github.com/repos/Ultimaker/CuraEngine","forks_url":"https://api.github.com/repos/Ultimaker/CuraEngine/forks","keys_url":"https://api.github.com/repos/Ultimaker/CuraEngine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ultimaker/CuraEngine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ultimaker/CuraEngine/teams","hooks_url":"https://api.github.com/repos/Ultimaker/CuraEngine/hooks","issue_events_url":"https://api.github.com/repos/Ultimaker/CuraEngine/issues/events{/number}","events_url":"https://api.github.com/repos/Ultimaker/CuraEngine/events","assignees_url":"https://api.github.com/repos/Ultimaker/CuraEngine/assignees{/user}","branches_url":"https://api.github.com/repos/Ultimaker/CuraEngine/branches{/branch}","tags_url":"https://api.github.com/repos/Ultimaker/CuraEngine/tags","blobs_url":"https://api.github.com/repos/Ultimaker/CuraEngine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ultimaker/CuraEngine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ultimaker/CuraEngine/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ultimaker/CuraEngine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ultimaker/CuraEngine/statuses/{sha}","languages_url":"https://api.github.com/repos/Ultimaker/CuraEngine/languages","stargazers_url":"https://api.github.com/repos/Ultimaker/CuraEngine/stargazers","contributors_url":"https://api.github.com/repos/Ultimaker/CuraEngine/contributors","subscribers_url":"https://api.github.com/repos/Ultimaker/CuraEngine/subscribers","subscription_url":"https://api.github.com/repos/Ultimaker/CuraEngine/subscription","commits_url":"https://api.github.com/repos/Ultimaker/CuraEngine/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ultimaker/CuraEngine/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ultimaker/CuraEngine/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ultimaker/CuraEngine/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ultimaker/CuraEngine/contents/{+path}","compare_url":"https://api.github.com/repos/Ultimaker/CuraEngine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ultimaker/CuraEngine/merges","archive_url":"https://api.github.com/repos/Ultimaker/CuraEngine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ultimaker/CuraEngine/downloads","issues_url":"https://api.github.com/repos/Ultimaker/CuraEngine/issues{/number}","pulls_url":"https://api.github.com/repos/Ultimaker/CuraEngine/pulls{/number}","milestones_url":"https://api.github.com/repos/Ultimaker/CuraEngine/milestones{/number}","notifications_url":"https://api.github.com/repos/Ultimaker/CuraEngine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ultimaker/CuraEngine/labels{/name}","releases_url":"https://api.github.com/repos/Ultimaker/CuraEngine/releases{/id}","deployments_url":"https://api.github.com/repos/Ultimaker/CuraEngine/deployments","created_at":"2013-03-04T14:12:08Z","updated_at":"2017-08-29T20:11:35Z","pushed_at":"2017-08-30T09:24:55Z","git_url":"git://github.com/Ultimaker/CuraEngine.git","ssh_url":"git@github.com:Ultimaker/CuraEngine.git","clone_url":"https://github.com/Ultimaker/CuraEngine.git","svn_url":"https://github.com/Ultimaker/CuraEngine","homepage":"https://ultimaker.com/en/products/cura-software","size":43911,"stargazers_count":531,"watchers_count":531,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":406,"mirror_url":null,"open_issues_count":61,"forks":406,"open_issues":61,"watchers":531,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ultimaker/CuraEngine/pulls/579"},"html":{"href":"https://github.com/Ultimaker/CuraEngine/pull/579"},"issue":{"href":"https://api.github.com/repos/Ultimaker/CuraEngine/issues/579"},"comments":{"href":"https://api.github.com/repos/Ultimaker/CuraEngine/issues/579/comments"},"review_comments":{"href":"https://api.github.com/repos/Ultimaker/CuraEngine/pulls/579/comments"},"review_comment":{"href":"https://api.github.com/repos/Ultimaker/CuraEngine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ultimaker/CuraEngine/pulls/579/commits"},"statuses":{"href":"https://api.github.com/repos/Ultimaker/CuraEngine/statuses/8ce91f82d5c7d28d2ec8894795d7950dd3262c28"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"BagelOrb"}}