[BUG] BRepClass3d_SolidClassifier::PerformInfinitePoint fails

The appended solid has a negative volume.
When I try to correct its orientation via BRepLib::OrientClosedSolid it is not changed because BRepClass3d_SolidClassifier::PerformInfinitePoint gives a wrong result.

In order to reproduce the problem you can use the following Draw-commands:
restore solid.brep s
vprops s
solidorientation s
vprops s

By the way, isn't the help string for solidorientation in Draw wrong?
It is:
"solidorientation : orientsolid myClosedSolid"
Shouldn't it be:
"solidorientation : solidorientation myClosedSolid"

Forum supervisor's picture

Dear Timo,
I would like to inform you that the posted problem has been checked and reproduced.
The corresponding issue with ID = 22872 has been registered.
Concerning the help string - it is pure misprint. It should be "solidorientation : solidorientation myClosedSolid".
Later you may check if the issue is resolved by checking references to the specified ID in OCCT Release Notes. The analysis of the issue will take some time depending on our technical capability and availability of resources.
If it is critical for you, you may contact us via the Contact Form http://www.opencascade.org/about/contacts/.
You are also welcome to develop a corresponding patch and make a contribution via the Collaborative portal - http://dev.opencascade.org/index.php?q=home/get_involved.