Rhino 6, Windows10
Hello, I have a Brep which is sent to another Boolean Intersection operation. The Boolean operation is processed correctly.,
When I mirrored the Brep (I am using Python and Rhino.Geometry instead of native GH components), the boolean operation failed. The boolean intersection operation result indicates that the Brep has a wrong orientation.
So I tried several ways.
- connect the Brep to Deconstruct Brep component and Join Brep after that.
- call Brep.CreateSolid()
- call Brep.Flip()
All of these three worked. So, it seems like when I mirrored the Brep, it only flips the geometry but keeps the surface orientation as it is. (or maybe surface orientation is also flipped but it shouldn’t be flipped.)
But the problem is, I cannot find any documentation how face orientaions of Breps are managed. Is there a way to check if face orientations are setup correctly so that the Brep truly represents a solid geometry? Is there a way to get/set face orientations per faces? To build a solid Brep by my own, do I need to care about surface orientations ( I was just joining surfaces)? What’s the difference of Brep.Join and Brep.CreateSolid? The first one just join them while the second rebuild surface orientaions? Are surface orientations same as surface normals of each faces?
Please somebody shed a light.