Are there any method in rhinoscriptsyntax work same as intersect command in rhinoceros?
rs.Command("_Intersect")
you can run exact Rhino commands using rs.Command()
that said, there may a better approach to what you’re wanting to accomplish… not much info to go on though ; )
additionally, there are:
rs.CurveCurveIntersection()
rs.CurveMeshIntersection()
rs.CurveSurfaceIntersection()
rs.SurfaceSurfaceIntersection()
rs.MeshMeshIntersection()
rs.LineLineIntersection()
…
_
c.
Thank you jeff for your reply. I want to get the intersect specifying two surface which is already stored in variable in ghPython. In this case, how I can write after rs.Command("_Intersect")
?
I wouldn’t do it that way in the Grasshopper python editor, if I’m not mistaken, you will have a hard time getting the result output.
I would use rs.IntersectBreps(brepA,brepB,tolerance) instead, which will return a list of intersection curves/points.
–Mitch