Orientation error after ShapeBuild_ReShape operation

Hi All,

I've suffered from this problem for a long time.
I want to replace a wire on a face with a new wire(all edges have Pcurve presentaions of the face, no 3d curve presentation missing) using ShapeBuild_ReShape. Though I get a new face, but an error "BRepCheck_BadOrientationOfSubshape" is reported to the new face using BRepCheck_Analyzer. In fact, before replacing, I checked the old face and new wire, no errors happened.
I print orientations of all wires, edges of the new face, they are all "FORWARD". And I check all wires and new edges in new face using BRepCheck_Analyzer, they are all NO_ERRORS.
I really wander know what will cause an "BRepCheck_BadOrientationOfSubshape" error.

Any suggestion is welcome. Thanks in advance.

-Cauchy Ding

Fernando Ghedin's picture

Hello Cauchy,

Have you solved this error already?

I'm facing a similar problem when converting Geometry from a different software to OpenCASCADE BRep format.

Does anybody knows the meaning of the errors "BRepCheck_BadOrientationOfSubshape" and "BRepCheck_UnorientableShape" and perhaps knows how to fix them? I haven't found anything at ShapeFix classes neither at the PDF documentation.

Thank you very much in advance.

Best regards,
Fernando

Pawel's picture

Hi Fernando,

I'm not sure about the error but maybe browsing the topology with Total Engineer (http://www.tes-cax.de/index-en/download.html) will give you an answer.

Pawel