Rhino.ObjectClash support for python


#1

Hi all,

I’ve tried using rs.ObjectClash in python but this command does not appear to be supported.

Is this correct and if so is there an alternative?

I’m trying to select objects in close proximity (or overlapping) to each other.

Does anyone have any ideas?

Cheers,
Dave


#2

As far as I know, the ObjectClash method has not been added yet to Python/rhinoscriptsyntax. I do not see anything resembling this in RhinoCommon either…

–Mitch


#3

Thanks Mitch


(Steve Baer) #4

I’ve added this to our bugtracker so I remember to implement the function
http://mcneel.myjetbrains.com/youtrack/issue/RH-21626

In RhinoCommon, the class that I’ll probably need to use for this is
Rhino.Geometry.Intersect.MeshClash
http://4.rhino3d.com/5/rhinocommon/html/AllMembers_T_Rhino_Geometry_Intersect_MeshClash.htm


(Steve Baer) #5

I was wrong, you could get there using the MeshClash class in RhinoCommon, but that is not exactly how RhinoScript is doing things. It is using a function that is not in RhinoCommon yet.


#6

Thanks Steve