{"action":"created","issue":{"url":"https://api.github.com/repos/Spiritdude/OpenJSCAD.org/issues/77","labels_url":"https://api.github.com/repos/Spiritdude/OpenJSCAD.org/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/Spiritdude/OpenJSCAD.org/issues/77/comments","events_url":"https://api.github.com/repos/Spiritdude/OpenJSCAD.org/issues/77/events","html_url":"https://github.com/Spiritdude/OpenJSCAD.org/issues/77","id":59986891,"number":77,"title":"Generated stl object is non manifold","user":{"login":"chertykov","id":329586,"avatar_url":"https://avatars.githubusercontent.com/u/329586?v=3","gravatar_id":"","url":"https://api.github.com/users/chertykov","html_url":"https://github.com/chertykov","followers_url":"https://api.github.com/users/chertykov/followers","following_url":"https://api.github.com/users/chertykov/following{/other_user}","gists_url":"https://api.github.com/users/chertykov/gists{/gist_id}","starred_url":"https://api.github.com/users/chertykov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chertykov/subscriptions","organizations_url":"https://api.github.com/users/chertykov/orgs","repos_url":"https://api.github.com/users/chertykov/repos","events_url":"https://api.github.com/users/chertykov/events{/privacy}","received_events_url":"https://api.github.com/users/chertykov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-05T17:38:25Z","updated_at":"2015-10-01T16:41:54Z","closed_at":null,"body":"I have generated stl on [web site](http://openjscad.org/ ) from the following simplest code:\r\n```\r\nfunction main() {\r\n   return difference(\r\n         cube({size: 3, center: true}),\r\n         cylinder({r:1, h:3, center: true}).rotateX(90)\r\n      );\r\n}\r\n```\r\n\r\nThen downloaded it and imported to Blender and checked for manifold.\r\n\r\n![2015-03-05 20 26 45](https://cloud.githubusercontent.com/assets/329586/6510426/ffd38536-c376-11e4-8857-530901c10c3e.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Spiritdude/OpenJSCAD.org/issues/comments/144782623","html_url":"https://github.com/Spiritdude/OpenJSCAD.org/issues/77#issuecomment-144782623","issue_url":"https://api.github.com/repos/Spiritdude/OpenJSCAD.org/issues/77","id":144782623,"user":{"login":"franzherzog","id":7050473,"avatar_url":"https://avatars.githubusercontent.com/u/7050473?v=3","gravatar_id":"","url":"https://api.github.com/users/franzherzog","html_url":"https://github.com/franzherzog","followers_url":"https://api.github.com/users/franzherzog/followers","following_url":"https://api.github.com/users/franzherzog/following{/other_user}","gists_url":"https://api.github.com/users/franzherzog/gists{/gist_id}","starred_url":"https://api.github.com/users/franzherzog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franzherzog/subscriptions","organizations_url":"https://api.github.com/users/franzherzog/orgs","repos_url":"https://api.github.com/users/franzherzog/repos","events_url":"https://api.github.com/users/franzherzog/events{/privacy}","received_events_url":"https://api.github.com/users/franzherzog/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T16:41:54Z","updated_at":"2015-10-01T16:41:54Z","body":"Code with changes is working on http://joostn.github.io/OpenJsCad/processfile.html\r\n\r\n```\r\nfunction main() {\r\n\r\n  var cube = CSG.cube({\r\n    center:0,\r\n    radius : 3\r\n  });\r\n\r\n  var cylinder = CSG.cylinder({\r\n    radius:1,\r\n    start: [0, -3, 0],\r\n    end: [0, 3, 0],\r\n  });\r\n\r\n  var csg = cube.subtract(cylinder);\r\n  return csg;\r\n\r\n\r\n  /*\r\n     code below created many manifold errors on stl export\r\n  */\r\n\r\n  /* return difference(\r\n         cube({size: 3, center: true}),\r\n         cylinder({r:1, h:3, center: true}).rotateX(90)\r\n      );\r\n  */\r\n}\r\n```\r\n\r\n\r\n"}}