{"action":"created","issue":{"url":"https://api.github.com/repos/arkypita/LaserGRBL/issues/493","repository_url":"https://api.github.com/repos/arkypita/LaserGRBL","labels_url":"https://api.github.com/repos/arkypita/LaserGRBL/issues/493/labels{/name}","comments_url":"https://api.github.com/repos/arkypita/LaserGRBL/issues/493/comments","events_url":"https://api.github.com/repos/arkypita/LaserGRBL/issues/493/events","html_url":"https://github.com/arkypita/LaserGRBL/issues/493","id":381875249,"node_id":"MDU6SXNzdWUzODE4NzUyNDk=","number":493,"title":"Pen Plotter Button","user":{"login":"edmar2019","id":45125948,"node_id":"MDQ6VXNlcjQ1MTI1OTQ4","avatar_url":"https://avatars1.githubusercontent.com/u/45125948?v=4","gravatar_id":"","url":"https://api.github.com/users/edmar2019","html_url":"https://github.com/edmar2019","followers_url":"https://api.github.com/users/edmar2019/followers","following_url":"https://api.github.com/users/edmar2019/following{/other_user}","gists_url":"https://api.github.com/users/edmar2019/gists{/gist_id}","starred_url":"https://api.github.com/users/edmar2019/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edmar2019/subscriptions","organizations_url":"https://api.github.com/users/edmar2019/orgs","repos_url":"https://api.github.com/users/edmar2019/repos","events_url":"https://api.github.com/users/edmar2019/events{/privacy}","received_events_url":"https://api.github.com/users/edmar2019/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-17T15:56:59Z","updated_at":"2018-11-22T17:13:34Z","closed_at":null,"author_association":"NONE","body":"How can i create a button to pen plotter?\r\nNormally i save my work. open in Notepad++ and change:\r\nM3 = G1 Z-30.0 F9000\r\nand\r\n\r\nM5 = G1 Z-28 F9000\r\n\r\nThis works fine in 2418 chinese CNC\r\n\r\nThanks.\r\n\r\nEdmar\r\nvelhobarreiro@gmail.com"},"comment":{"url":"https://api.github.com/repos/arkypita/LaserGRBL/issues/comments/441088028","html_url":"https://github.com/arkypita/LaserGRBL/issues/493#issuecomment-441088028","issue_url":"https://api.github.com/repos/arkypita/LaserGRBL/issues/493","id":441088028,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTA4ODAyOA==","user":{"login":"brakthehun","id":16564592,"node_id":"MDQ6VXNlcjE2NTY0NTky","avatar_url":"https://avatars3.githubusercontent.com/u/16564592?v=4","gravatar_id":"","url":"https://api.github.com/users/brakthehun","html_url":"https://github.com/brakthehun","followers_url":"https://api.github.com/users/brakthehun/followers","following_url":"https://api.github.com/users/brakthehun/following{/other_user}","gists_url":"https://api.github.com/users/brakthehun/gists{/gist_id}","starred_url":"https://api.github.com/users/brakthehun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brakthehun/subscriptions","organizations_url":"https://api.github.com/users/brakthehun/orgs","repos_url":"https://api.github.com/users/brakthehun/repos","events_url":"https://api.github.com/users/brakthehun/events{/privacy}","received_events_url":"https://api.github.com/users/brakthehun/received_events","type":"User","site_admin":false},"created_at":"2018-11-22T17:13:34Z","updated_at":"2018-11-22T17:13:34Z","author_association":"NONE","body":"You can't edit or modify code with LaserGRBL. You also can't macro over commands realtime. This does sound like a simple script though. Have laserGRBL save the gcode into a folder. Have a script that replaces all instances of M3 and M5 with z movements,, then automatically move it to a new folder. then open your modded path file.\r\n\r\nThe code is open source. \r\n\r\nalso - check this out:\r\nhttps://docs.microsoft.com/en-us/powershell/scripting/core-powershell/ise/how-to-write-and-run-scripts-in-the-windows-powershell-ise?view=powershell-6"}}
{"actor":{"display_login":"brakthehun"}}