Intersect Curve and Mesh

Might be a simple question but how do you find the intersection between a mesh and a curve in Rhino. I’m aware of the Mesh Curve Intersection component in Grasshopper (MCX) but I am looking for the equivalent in Rhino. The intersection should be where the arrow is in the screenshot.


Mesh Curve Intersection.3dm (1.8 MB)

Hi Mike -

That’s an old wish, yes - RH-4221.
FWIW, I tend to visually identify the region where the line intersects, duplicate the mesh faces in that area, and convert those to NURBS planes.
-wim

1 Like

Yeah, oddly enough that does not seem to be directly exposed in Rhino currently. I was surprised, I thought MeshIntersect would cover that case.

Here is a quickie Python script that will allow you do that. Note that the Curve/Mesh intersector does not create lines if there are curves that actually overlap mesh faces - simply points at the end of each overlap. Also, internally (as with the GH component, which uses the same underlying code) NURBS curves are converted to polylines for the intersection - as there is no NURBS curve/Mesh intersect method.

CrvMeshIntersection.py (1.1 KB)

1 Like