Why on Earth is there no way to find clashes between members of a single group of objects instead of having to input two groups? If you input your single group into both inputs you get duplicate object intersections that are self-intersections, defeating the exercise.
I’m currently using a Python script for this simple task:
for b in Breps:
OFFSET_BREPS_CONTAINER.append(Rhino.Geometry.Brep.CreateOffsetBrep(b, -0.01, False, True, 0.001)[0][0])
OffsetBreps = OFFSET_BREPS_CONTAINER
for ob1 in OffsetBreps:
for ob2 in OffsetBreps:
if ob1 != ob2:
intersection = Rhino.Geometry.Intersect.Intersection.BrepBrep(ob1, ob2, 0.005)
try:
for ic in intersection[1]:
INTERSECTION_CURVES_CONTAINER.append(ic)
if ob1 not in COLLIDING_BREPS_CONTAINER:
COLLIDING_BREPS_CONTAINER.append(ob1)
except:
print “None”
if len(Breps) != 0:
frequency = 2500 # Set Frequency To 2500 Hertz
duration = 1000 # Set Duration To 1000 ms == 1 second
winsound.Beep(frequency, duration)
For me, It’s strange that Clash can’t recognize if one object is completely inside another. It should be possible at least as an option. I need an ultra fast method for that (and regular collision too) I was hoping that Grasshopper Clash component would be an answer.