Open birgerbr opened 5 years ago
The case was when using ifcplusplus to extract the geometry from an IFC file from a customer. Unfortunately, I could not find any notes saying which IFC file it was.
I am interested in this issue. I have observed infinite loops in carve sometimes, not sure if it is related to this. I tried the proposed fix and tested it with https://github.com/arnholm/angelcad-samples, but this proposed carve fix caused 2 samples to fail, so I think it is not 100% correct. PS. thank you for the carve library.
When an element in
containing_faces
has a size greater than 1 thewhile (unassigned)
loop will never stop.I don't know this algorithm and I'm not sure if this is the correct way of handling this case, but it solves the infinite loop case.