ExtractMeshFaces SelBrush exposed in C++?

Hi,

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,
Pablo

Hi @Pablo_Garcia-Amorena,

I’ve added your request to the pile.

https://mcneel.myjetbrains.com/youtrack/issue/RH-61545

– Dale

1 Like