{"action":"created","issue":{"url":"https://api.github.com/repos/openscad/openscad/issues/1261","labels_url":"https://api.github.com/repos/openscad/openscad/issues/1261/labels{/name}","comments_url":"https://api.github.com/repos/openscad/openscad/issues/1261/comments","events_url":"https://api.github.com/repos/openscad/openscad/issues/1261/events","html_url":"https://github.com/openscad/openscad/issues/1261","id":61625195,"number":1261,"title":"Compile fails on previously working scad file after upgrade to 2015.03","user":{"login":"mak3r","id":6570708,"avatar_url":"https://avatars.githubusercontent.com/u/6570708?v=3","gravatar_id":"","url":"https://api.github.com/users/mak3r","html_url":"https://github.com/mak3r","followers_url":"https://api.github.com/users/mak3r/followers","following_url":"https://api.github.com/users/mak3r/following{/other_user}","gists_url":"https://api.github.com/users/mak3r/gists{/gist_id}","starred_url":"https://api.github.com/users/mak3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mak3r/subscriptions","organizations_url":"https://api.github.com/users/mak3r/orgs","repos_url":"https://api.github.com/users/mak3r/repos","events_url":"https://api.github.com/users/mak3r/events{/privacy}","received_events_url":"https://api.github.com/users/mak3r/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-14T15:08:02Z","updated_at":"2015-03-14T15:38:31Z","closed_at":null,"body":"I've upgraded to 2015.03 on OS X today and one of my recent scad files is no longer compiling. Unfortunately, I don't recall what version I was using before. It was the most up to date prior version. \r\n\r\nERROR: CGAL error in CGALUtils::applyBinaryOperator union: CGAL ERROR: assertion violation! Expr: cet->get_index() == ce->twin()->get_index() File: /Users/kintel/code/OpenSCAD/openscad-2015.03/../libraries/install/include/CGAL/Nef_3/SNC_external_structure.h Line: 1169 \r\n\r\nThe complete code \r\n```\r\nhulled_resize();\r\n\r\n//goal size\r\n//#cube([73,14,143],center=true);\r\n\r\nmodule forced_scale() {\r\n\t//goal size\r\n\t//#cube([73,14,143],center=true);\r\n\tdifference() {\r\n\t\tscale([1.09,2.1,1.04])\r\n\t\timport(\"iphone-6_clean.stl\");\r\n\r\n\t\ttranslate([0,-9.7,0])\r\n\t\tcube([73,5,143],center=true);\r\n\t}\r\n}\r\n\r\nmodule hulled_resize() {\r\n\tresize([73,12,143])\r\n\thull() {\r\n\t\tdifference() {\r\n\t\t\tunion() {\r\n\t//\t\t\tcolor(\"blue\")\r\n\t\t\t\tmirror([1,0,0])\r\n\t\t\t\timport(\"iphone-6_clean.stl\");\r\n\t//\t\t\tcolor(\"green\")\r\n\t\t\t\tmirror([1,0,0])\r\n\t\t\t\trotate(180,[0,1,0])\r\n\t\t\t\timport(\"iphone-6_clean.stl\");\r\n\t//\t\t\tcolor(\"red\")\r\n\t\t\t\trotate(180,[0,1,0])\r\n\t\t\t\timport(\"iphone-6_clean.stl\");\r\n\t\t\t\timport(\"iphone-6_clean.stl\");\r\n\t\t\t}\r\n\t\t\r\n\t\t\ttranslate([0,-5.5,0])\r\n\t\t\tcube([73,5,143],center=true);\r\n\r\n\t\t\ttranslate([0,5.5,0])\r\n\t\t\tcube([73,5,143],center=true);\r\n\t\t}\r\n\t}\r\n}\r\n```\r\n\r\nI'm happy to share the stl if needed for debugging. The original was 'fixed' by netfabb but still had issues so I fixed it manually in meshlab. Perhaps it still has issues that I did not uncover.\r\n\r\np.s. I love the new interface. Nice work!\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9556969-compile-fails-on-previously-working-scad-file-after-upgrade-to-2015-03?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/80537283","html_url":"https://github.com/openscad/openscad/issues/1261#issuecomment-80537283","issue_url":"https://api.github.com/repos/openscad/openscad/issues/1261","id":80537283,"user":{"login":"kintel","id":186094,"avatar_url":"https://avatars.githubusercontent.com/u/186094?v=3","gravatar_id":"","url":"https://api.github.com/users/kintel","html_url":"https://github.com/kintel","followers_url":"https://api.github.com/users/kintel/followers","following_url":"https://api.github.com/users/kintel/following{/other_user}","gists_url":"https://api.github.com/users/kintel/gists{/gist_id}","starred_url":"https://api.github.com/users/kintel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kintel/subscriptions","organizations_url":"https://api.github.com/users/kintel/orgs","repos_url":"https://api.github.com/users/kintel/repos","events_url":"https://api.github.com/users/kintel/events{/privacy}","received_events_url":"https://api.github.com/users/kintel/received_events","type":"User","site_admin":false},"created_at":"2015-03-14T15:38:31Z","updated_at":"2015-03-14T15:38:31Z","body":"@mak3r Please share the STL file - this issue is directly related to STL import."}}