I have a question concerning the orientation of faces, wires, edges.
Someone can explain me the relation between the orientation of the wire of a face and the face itself.
Any kind of information would be very helpful for me.
I explain more my problem:
In fact I have to rebuild a face slightly modified (some vertices modified).
I use the tools BRepBuilderAPI_MakeFace,BRepBuilderAPI_MakeWire and BRepBuilderAPI_MakeEdge.
I have problems on the inner holes of some faces which are sometimes filled.
I try then to rebuild the shape with the same orientation (for the faces,wires,edges).
On an concrete example:
My initial shape:
Face :reversed - external wire : forward - inner wire : forward
I want that the rebuilt shape has the same orientation.
When we rebuild a shape, with the BRepBuilderAPI_Make tools, we can't specify directly the orientation.
If I don't modify the orientation, I obtain:
Face : forward - external wire : forward - inner wire : forward
To obtain the good orientation for the face, I reverse its orientation :
Built shape with reverse orientation for the face:
Face : reversed - external wire : reversed - inner wire : reversed
This isn't the solution, because reversing the orienntation of a face has a direct impact on the wires. I then reverse first the orientation of the built wires (external wire : reversed - inner wire : reversed) before reversing the orientation of the face:
Face : reversed - external wire : reversed - inner wire : forward
I don't understand why the the external wire is still reversed. I would like to know the relation between the face and the external wire for the orientation.
If you have any idea on the question, please answer.