ExtractMeshFaces SelBrush exposed in C++?


I need to access the functionality displayed when running command ExtractMeshFaces SelBrush, that is a brush that selects mesh faces (with SelectThroughObjects=No).

I don’t mean the brush itself, but a function in the C++ SDK that gives me, for a ray R and a radius r, the list of mesh faces included within the cylinder of axis R and radius r that are visible to the camera.

For the case with a single ray intersection (radius r = 0) there is ON_MeshTreeNode::IntersectLine(), used in SampleIntersectMeshRay. What about the general cylinder case?

Thank you,

1 Like

Hi @pagarcia,

I’ve added your request to the pile.


– Dale

1 Like