{"action":"created","issue":{"url":"https://api.github.com/repos/winder/Universal-G-Code-Sender/issues/238","labels_url":"https://api.github.com/repos/winder/Universal-G-Code-Sender/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/winder/Universal-G-Code-Sender/issues/238/comments","events_url":"https://api.github.com/repos/winder/Universal-G-Code-Sender/issues/238/events","html_url":"https://github.com/winder/Universal-G-Code-Sender/issues/238","id":62531886,"number":238,"title":" Universal Gcode Sender Startup Units of Measure","user":{"login":"pjakab","id":6608886,"avatar_url":"https://avatars.githubusercontent.com/u/6608886?v=3","gravatar_id":"","url":"https://api.github.com/users/pjakab","html_url":"https://github.com/pjakab","followers_url":"https://api.github.com/users/pjakab/followers","following_url":"https://api.github.com/users/pjakab/following{/other_user}","gists_url":"https://api.github.com/users/pjakab/gists{/gist_id}","starred_url":"https://api.github.com/users/pjakab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjakab/subscriptions","organizations_url":"https://api.github.com/users/pjakab/orgs","repos_url":"https://api.github.com/users/pjakab/repos","events_url":"https://api.github.com/users/pjakab/events{/privacy}","received_events_url":"https://api.github.com/users/pjakab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-17T22:20:48Z","updated_at":"2015-03-18T17:10:10Z","closed_at":null,"body":"When UGS comes up, the \"Machine Control\" tab shows inches as the default units of measure. The inches radio button is selected. This happens regardless of whether you have a GRBL setup to do a G21 when it initializes via a previous $N0=G21. And UGS will send, for example, G20 G91 G0 Y1, regardless of the current GRBL units of measure state. Obviously UGS is not aware, nor does it care, of the current GRBL units of measure state, and I think that part is OK, UGS's radio button has inches selected, so it sends an inches command.\r\n\r\nWhat I'm asking for is a way to tell UGS to use mm as a default instead of inches, to let the user pick what units of measure they prefer to work with and remember them to use as a default in subsequent invocations.\r\n\r\nI believe this could easily be implemented (if not already there, and I don't know about it) with a preferences file, or command line argument.\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/winder/Universal-G-Code-Sender/issues/comments/83061150","html_url":"https://github.com/winder/Universal-G-Code-Sender/issues/238#issuecomment-83061150","issue_url":"https://api.github.com/repos/winder/Universal-G-Code-Sender/issues/238","id":83061150,"user":{"login":"winder","id":125509,"avatar_url":"https://avatars.githubusercontent.com/u/125509?v=3","gravatar_id":"","url":"https://api.github.com/users/winder","html_url":"https://github.com/winder","followers_url":"https://api.github.com/users/winder/followers","following_url":"https://api.github.com/users/winder/following{/other_user}","gists_url":"https://api.github.com/users/winder/gists{/gist_id}","starred_url":"https://api.github.com/users/winder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winder/subscriptions","organizations_url":"https://api.github.com/users/winder/orgs","repos_url":"https://api.github.com/users/winder/repos","events_url":"https://api.github.com/users/winder/events{/privacy}","received_events_url":"https://api.github.com/users/winder/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T17:10:10Z","updated_at":"2015-03-18T17:10:10Z","body":"The json file should get updated while UGS is shutting down,but its possible that I forgot to save this value when adding the feature."}}