{"action":"created","issue":{"url":"https://api.github.com/repos/openscad/openscad/issues/1184","labels_url":"https://api.github.com/repos/openscad/openscad/issues/1184/labels{/name}","comments_url":"https://api.github.com/repos/openscad/openscad/issues/1184/comments","events_url":"https://api.github.com/repos/openscad/openscad/issues/1184/events","html_url":"https://github.com/openscad/openscad/issues/1184","id":55683390,"number":1184,"title":"Intersecting STLs won't union, ERROR: CGAL error in CGALUtils::applyBinaryOperator union","user":{"login":"hroncok","id":2401856,"avatar_url":"https://avatars.githubusercontent.com/u/2401856?v=3","gravatar_id":"","url":"https://api.github.com/users/hroncok","html_url":"https://github.com/hroncok","followers_url":"https://api.github.com/users/hroncok/followers","following_url":"https://api.github.com/users/hroncok/following{/other_user}","gists_url":"https://api.github.com/users/hroncok/gists{/gist_id}","starred_url":"https://api.github.com/users/hroncok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hroncok/subscriptions","organizations_url":"https://api.github.com/users/hroncok/orgs","repos_url":"https://api.github.com/users/hroncok/repos","events_url":"https://api.github.com/users/hroncok/events{/privacy}","received_events_url":"https://api.github.com/users/hroncok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-27T22:22:57Z","updated_at":"2015-01-27T22:24:45Z","closed_at":null,"body":"[Bunny_Trouble_piece.stl](http://www.thingiverse.com/thing:7578/#files)\r\n\r\n    import(\"Bunny_Trouble_piece.stl\");\r\n    import(\"Bunny_Trouble_piece.stl\");\r\n\r\nProduces:\r\n\r\n    ERROR: CGAL error in CGALUtils::applyBinaryOperator union: CGAL ERROR: assertion violation! Expr: itl != it->second.end() File: /usr/include/CGAL/Nef_3/SNC_external_structure.h Line: 1102\r\n\r\nThe same happens with:\r\n\r\n    import(\"Bunny_Trouble_piece.stl\");\r\n    cube(10);\r\n\r\nThe same happens when one STL is translated, but intersects with the other. Error is gone when the two STLs don't share a volume.\r\n\r\nRunning on 0e90e3b\r\n\r\n<bountysource-plugin>\r\n\r\n---\r\nWant to back this issue? **[Place a bounty on it!](https://www.bountysource.com/issues/8082106-intersecting-stls-won-t-union-error-cgal-error-in-cgalutils-applybinaryoperator-union?utm_campaign=plugin&utm_content=tracker%2F52063&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F52063&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/openscad/openscad/issues/comments/71741127","html_url":"https://github.com/openscad/openscad/issues/1184#issuecomment-71741127","issue_url":"https://api.github.com/repos/openscad/openscad/issues/1184","id":71741127,"user":{"login":"hroncok","id":2401856,"avatar_url":"https://avatars.githubusercontent.com/u/2401856?v=3","gravatar_id":"","url":"https://api.github.com/users/hroncok","html_url":"https://github.com/hroncok","followers_url":"https://api.github.com/users/hroncok/followers","following_url":"https://api.github.com/users/hroncok/following{/other_user}","gists_url":"https://api.github.com/users/hroncok/gists{/gist_id}","starred_url":"https://api.github.com/users/hroncok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hroncok/subscriptions","organizations_url":"https://api.github.com/users/hroncok/orgs","repos_url":"https://api.github.com/users/hroncok/repos","events_url":"https://api.github.com/users/hroncok/events{/privacy}","received_events_url":"https://api.github.com/users/hroncok/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T22:24:45Z","updated_at":"2015-01-27T22:24:45Z","body":"What I see now, is that netfabb reports the file as valid, but in fact, it has intersecting triangles.\r\n\r\n![bunny](https://cloud.githubusercontent.com/assets/2401856/5928434/8d7ae7c6-a67b-11e4-99d3-48ea19582764.png)\r\n\r\nThat might be the reason for this error. The problem here is: Is it possible to handle this file anyway? If no, shouldn't the ERROR message be more user friendly?\r\n"}}