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

about wire from face

Anonymous's picture

how to judge the wire by inner-circled or outer-circled face ?

Rob Bachrach's picture

If I understand your question, you want to know if a wire is the outline of a face or a hole. You can try getting the outermost wire of the face using BRepTools::OuterWire. You can then, if necessary, get the distance between this wire and a vertex on the wire of interest (BRepExtrema_DistShapeShape). If the distance is essentially 0, you have your outer wire. Of course it's possible that once you have the outer wire, the rest is easy.

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.