What is the requirement for geometry in order createHBSrfs to work without error

@KatsuyaObara,
The issue is with one of your geometries. The one with index 20 is Invalid Brep. Try to fix it or if you join the brep as shown below, the invalid brep will be removed !

@mostapha,
I tested the file with Rhino 5 and I had the issue.

2 Likes