Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8532

ExtractMeshFaces SelBrush exposed in C++?

$
0
0

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

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 8532

Trending Articles