{"action":"created","issue":{"url":"https://api.github.com/repos/MoonshineSG/OctoPrint-MultiColors/issues/3","repository_url":"https://api.github.com/repos/MoonshineSG/OctoPrint-MultiColors","labels_url":"https://api.github.com/repos/MoonshineSG/OctoPrint-MultiColors/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/MoonshineSG/OctoPrint-MultiColors/issues/3/comments","events_url":"https://api.github.com/repos/MoonshineSG/OctoPrint-MultiColors/issues/3/events","html_url":"https://github.com/MoonshineSG/OctoPrint-MultiColors/issues/3","id":165097321,"number":3,"title":"Example of gcode to pause and resume","user":{"login":"guysoft","id":325670,"avatar_url":"https://avatars.githubusercontent.com/u/325670?v=3","gravatar_id":"","url":"https://api.github.com/users/guysoft","html_url":"https://github.com/guysoft","followers_url":"https://api.github.com/users/guysoft/followers","following_url":"https://api.github.com/users/guysoft/following{/other_user}","gists_url":"https://api.github.com/users/guysoft/gists{/gist_id}","starred_url":"https://api.github.com/users/guysoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guysoft/subscriptions","organizations_url":"https://api.github.com/users/guysoft/orgs","repos_url":"https://api.github.com/users/guysoft/repos","events_url":"https://api.github.com/users/guysoft/events{/privacy}","received_events_url":"https://api.github.com/users/guysoft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-12T14:40:03Z","updated_at":"2016-07-12T15:33:01Z","closed_at":null,"body":"Hey,\r\nI am trying to understand how to use this plugin.\r\n\r\nWould something like this work?\r\nShould I change it in any way?\r\n\r\n```\r\nM83 ; turn on relative movement for extruder  \r\nG1 E-5.000000 F6000 ; retract filament 5mm  \r\nG1 X0.000000 Y0.000000 Z4.000000 F9000 ; home X and Y axis leave Z at current height  \r\nM84 E ; release extruder stepper motor from 'holding' position  \r\n@pause ; pause print!\r\nG1 X0.000000 Y0.000000 F9000 ; upon resume, rehome X/Y in case position was bumped out  \r\nG1 X69.080000 Y58.560000 F9000 ; move back to next layer starting position  \r\nG1 E0 F6000 ; reset extruder, ready to push out plastic again  \r\nG1 F9000  \r\nM82 ; set extruder movement back to absolute ready for next layer\r\n```"},"comment":{"url":"https://api.github.com/repos/MoonshineSG/OctoPrint-MultiColors/issues/comments/232086227","html_url":"https://github.com/MoonshineSG/OctoPrint-MultiColors/issues/3#issuecomment-232086227","issue_url":"https://api.github.com/repos/MoonshineSG/OctoPrint-MultiColors/issues/3","id":232086227,"user":{"login":"MoonshineSG","id":687747,"avatar_url":"https://avatars.githubusercontent.com/u/687747?v=3","gravatar_id":"","url":"https://api.github.com/users/MoonshineSG","html_url":"https://github.com/MoonshineSG","followers_url":"https://api.github.com/users/MoonshineSG/followers","following_url":"https://api.github.com/users/MoonshineSG/following{/other_user}","gists_url":"https://api.github.com/users/MoonshineSG/gists{/gist_id}","starred_url":"https://api.github.com/users/MoonshineSG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoonshineSG/subscriptions","organizations_url":"https://api.github.com/users/MoonshineSG/orgs","repos_url":"https://api.github.com/users/MoonshineSG/repos","events_url":"https://api.github.com/users/MoonshineSG/events{/privacy}","received_events_url":"https://api.github.com/users/MoonshineSG/received_events","type":"User","site_admin":false},"created_at":"2016-07-12T15:33:01Z","updated_at":"2016-07-12T15:33:01Z","body":"Probably not... \r\n\r\n1. \"Z4\" will not \" leave Z at current height\" \r\n2. I don't know if your printer reacts to \"@pause\" \r\n3. there are many hardcoded values, so the gcode will not be generic. Might work if you change it for every print you use it for.. \r\n\r\nI simply insert an `M0` which will pause the print, move the hear to 0, 0 `G1 X0 Y0` (so that I can easily access the nozzle), purge some fillament `G1 E20 F300`  and then press `Resume` in Nautilus (OctoPrint on iPhone) . The next lines of gcode will move the head back to the old location, so I don;t need to care about that... \r\n"}}
{"actor":{"display_login":"MoonshineSG"}}