Forum archiveIssue archiveModeling Data and Algorithms

Archived discussion

Best way to check one little flat face lies inside another big flat face

Modeling Data and AlgorithmsFri, 09/22/2023 - 15:102 replies

Browse this forum
QuestionAuthor

Hi guys, is it possible to check that one small flat face with free-form boundaries lies on a large face with free-form boundaries? Well, i need to check:

1) whether the small FACE2 lies on the plane of the large FACE1.

2) whether the small FACE2 doesn't go beyond the boundaries of the large FACE1, that is, i need to check that the small FACE2 lies entirely within the boundaries of the large FACE1.

P.S.: FACE2 has no same domain with FACE1 or something else, it's just simple external face that is not connected to FACE1 in any way.

Maybe BRepClass3d_SolidClassifier? But i think, it's not so good idea, maybe there is a much more elegant and simple way?

Archived image: external image

Discussion

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

Just make BO Cut of Face1 by Face2. If the result is empty it is wholly inside.

02Author

Excellent idea! Thanks! But maybe this is not the fastest way?