{"action":"created","issue":{"url":"https://api.github.com/repos/tbfleming/jscut/issues/34","labels_url":"https://api.github.com/repos/tbfleming/jscut/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/tbfleming/jscut/issues/34/comments","events_url":"https://api.github.com/repos/tbfleming/jscut/issues/34/events","html_url":"https://github.com/tbfleming/jscut/issues/34","id":53660964,"number":34,"title":"Establishing an XY origin","user":{"login":"wcpenney","id":10437592,"avatar_url":"https://avatars.githubusercontent.com/u/10437592?v=3","gravatar_id":"","url":"https://api.github.com/users/wcpenney","html_url":"https://github.com/wcpenney","followers_url":"https://api.github.com/users/wcpenney/followers","following_url":"https://api.github.com/users/wcpenney/following{/other_user}","gists_url":"https://api.github.com/users/wcpenney/gists{/gist_id}","starred_url":"https://api.github.com/users/wcpenney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wcpenney/subscriptions","organizations_url":"https://api.github.com/users/wcpenney/orgs","repos_url":"https://api.github.com/users/wcpenney/repos","events_url":"https://api.github.com/users/wcpenney/events{/privacy}","received_events_url":"https://api.github.com/users/wcpenney/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tbfleming/jscut/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-07T17:55:39Z","updated_at":"2016-01-05T04:27:18Z","closed_at":null,"body":"First of all, thanks for all of the hard work on this. jscut really is an awesome app.\r\n\r\nThe first few times I created an SVG file (with Inkscape) and generated gcode with jscut, it didn't make much sense to me. Y coordinates originate in the upper left, and use negative coordinates while Inkscape appears to use the lower left and positive coordinates. After applying some google-fu, I found out about Inkscape's wonky coordinates/ruler system.\r\n\r\nThe \"set origin to lower left\" button doesn't appear to work until after I generate a toolpath. Often the 3D view re-sizes on(during?) regeneration giving the appearance that nothing happened until I export and read the gcode or resize the browser.\r\n\r\n In addition, setting the origin to the lower left chooses the leftmost point of a selected object. In the case of a circle, I may not be able to accurately find that point to square my stock in relation to it before milling.\r\n\r\nI have a \"template\" file setup in Inkscape with the page set to the dimensions of my Shapeoko. Since the page size is obvious in Inkscape and tied to X and Y, would it be possible to allow selecting a page corner as the origin? I think asking a user would point out the difference between what Inkscape presents and what it saves in the SVG file, eliminate a lot of initial head scratching, and eliminate a lot of questions on the forums/G+/here, etc.\r\n\r\nWorking with one positive axis and one negative axis sounds like it will get really confusing while configuring Grbl come homing/limit switch time. Would it be possible to have a selection to convert negative coordinates to positive ones (or an option to just set all coordinates positive or all coordinates negative)?\r\n\r\nAs a final suggestion, maybe roll all of the XYZ coordinate stuff into a single box and make it an early step?\r\n\r\nThanks for reading this. I hope it makes some sense and I'm not missing something obvious."},"comment":{"url":"https://api.github.com/repos/tbfleming/jscut/issues/comments/168892980","html_url":"https://github.com/tbfleming/jscut/issues/34#issuecomment-168892980","issue_url":"https://api.github.com/repos/tbfleming/jscut/issues/34","id":168892980,"user":{"login":"tiger12506","id":1036922,"avatar_url":"https://avatars.githubusercontent.com/u/1036922?v=3","gravatar_id":"","url":"https://api.github.com/users/tiger12506","html_url":"https://github.com/tiger12506","followers_url":"https://api.github.com/users/tiger12506/followers","following_url":"https://api.github.com/users/tiger12506/following{/other_user}","gists_url":"https://api.github.com/users/tiger12506/gists{/gist_id}","starred_url":"https://api.github.com/users/tiger12506/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiger12506/subscriptions","organizations_url":"https://api.github.com/users/tiger12506/orgs","repos_url":"https://api.github.com/users/tiger12506/repos","events_url":"https://api.github.com/users/tiger12506/events{/privacy}","received_events_url":"https://api.github.com/users/tiger12506/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T04:27:18Z","updated_at":"2016-01-05T04:27:18Z","body":"Just recently ran in to the exact same problem. I would like to second that this is a good idea, to allow setting a page corner as the origin.\r\n\r\nI've been trying to workaround by creating dummy paths that coincide with the edges of my stock, but then this has to be offset by the width of the cutter in order to be truly accurate, and it's all just too confusing."}}