For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

box - faces direction

nil's picture

I want to export OCC geometries to Open Inventor.

Therefor i use the OCC_COIN3D-viewer interface.

By exporting OCC exports each face of the shape as a SoIndexedTriangleStripSet.

It's no problem to merge the faces to a shape (IndexedTriangleStripSet) but:

The directions of the faces are always "wrong" - faces are directed along the pos. x, y, and z- axis but should be directed "outside" the shape.

Could anybody tell me howto analyse face directions of a shape - is there any function I didn't see till now (in OCC)

thank you for your support


jerome dufaure's picture


have a look in the TopoDS_Shape.cdl file.
to check face orientation ::Orientation();
to get the oriented shape ::Oriented(TopAbs_Orientation).

I hope this will help you.


nil's picture

Thank you, but -

there's still a problem

I replaced my orientation-settings by


The value never changes , but the export produces the same results like a setting of TopAbs_FORWARD
(same OI verteices and indices)


Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.