{"action":"created","issue":{"url":"https://api.github.com/repos/vlachoudis/bCNC/issues/158","labels_url":"https://api.github.com/repos/vlachoudis/bCNC/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/vlachoudis/bCNC/issues/158/comments","events_url":"https://api.github.com/repos/vlachoudis/bCNC/issues/158/events","html_url":"https://github.com/vlachoudis/bCNC/pull/158","id":117876420,"number":158,"title":"Heightmap plugin","user":{"login":"Effer","id":1007007,"avatar_url":"https://avatars.githubusercontent.com/u/1007007?v=3","gravatar_id":"","url":"https://api.github.com/users/Effer","html_url":"https://github.com/Effer","followers_url":"https://api.github.com/users/Effer/followers","following_url":"https://api.github.com/users/Effer/following{/other_user}","gists_url":"https://api.github.com/users/Effer/gists{/gist_id}","starred_url":"https://api.github.com/users/Effer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Effer/subscriptions","organizations_url":"https://api.github.com/users/Effer/orgs","repos_url":"https://api.github.com/users/Effer/repos","events_url":"https://api.github.com/users/Effer/events{/privacy}","received_events_url":"https://api.github.com/users/Effer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-19T18:24:50Z","updated_at":"2015-11-19T18:41:08Z","closed_at":"2015-11-19T18:34:33Z","pull_request":{"url":"https://api.github.com/repos/vlachoudis/bCNC/pulls/158","html_url":"https://github.com/vlachoudis/bCNC/pull/158","diff_url":"https://github.com/vlachoudis/bCNC/pull/158.diff","patch_url":"https://github.com/vlachoudis/bCNC/pull/158.patch"},"body":"A new plugin ready for weekend.\r\nIt's a porting of [image2gcode](http://www.linuxcnc.org/docs/2.4/html/gui_image-to-gcode.html) from LinuxCNC and another python implementation from scorch: [dmap2gcode] (http://www.scorchworks.com/Dmap2gcode/dmap2gcode.html) \r\nIt take an image and create a height pocketing using darkest area as deeper and lighter area as higher. Here some fast test (bad quality):\r\n\r\nFrom:\r\n![dame](https://cloud.githubusercontent.com/assets/1007007/11279457/1a5752f2-8ef1-11e5-8f64-a48d1d78f612.jpg)\r\nTo:\r\n![wp_20151119_15_02_05_pro](https://cloud.githubusercontent.com/assets/1007007/11279517/6d65b952-8ef1-11e5-97ba-d855abe34dfb.PNG)\r\n\r\n\r\nor from this:\r\n![bcnc](https://cloud.githubusercontent.com/assets/1007007/11279543/8a44949e-8ef1-11e5-8a17-1e4cb0b55915.PNG)\r\n\r\nto this:\r\n\r\n![screenshot 2015-11-19 19 17 10](https://cloud.githubusercontent.com/assets/1007007/11279726/7c46570a-8ef2-11e5-9a56-0d4f3873d6f1.png)\r\n\r\nand this:\r\n\r\n![wp_20151119_19_18_18_pro](https://cloud.githubusercontent.com/assets/1007007/11279773/c34f7924-8ef2-11e5-9eee-479b257281e0.PNG)\r\n\r\nIt needs PIL and try to use numpy if installed.\r\n\r\nDocumentation is on the way (next days).\r\nEnjoy!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vlachoudis/bCNC/issues/comments/158150961","html_url":"https://github.com/vlachoudis/bCNC/pull/158#issuecomment-158150961","issue_url":"https://api.github.com/repos/vlachoudis/bCNC/issues/158","id":158150961,"user":{"login":"Effer","id":1007007,"avatar_url":"https://avatars.githubusercontent.com/u/1007007?v=3","gravatar_id":"","url":"https://api.github.com/users/Effer","html_url":"https://github.com/Effer","followers_url":"https://api.github.com/users/Effer/followers","following_url":"https://api.github.com/users/Effer/following{/other_user}","gists_url":"https://api.github.com/users/Effer/gists{/gist_id}","starred_url":"https://api.github.com/users/Effer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Effer/subscriptions","organizations_url":"https://api.github.com/users/Effer/orgs","repos_url":"https://api.github.com/users/Effer/repos","events_url":"https://api.github.com/users/Effer/events{/privacy}","received_events_url":"https://api.github.com/users/Effer/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T18:41:08Z","updated_at":"2015-11-19T18:41:08Z","body":"Still not sure.. just a couple of ideas :)"}}