Showing where solid objects overlap

Hi all,

I’m wondering if there is a Command or View Mode that highlights where solid objects are overlapping / interfering with one another?

It would work a bit like a Boolean Intersection. I could script it, but with hundreds of objects in the model it would take quite while. I don’t need the intersection, just to know where they are so design issues can be sorted prior to manufacture.

Thanks,

Adrian

Hi Adrian, Intersect or IntersectTwoSets will drop curves in those areas - is that enough?

-Pascal

Hi @pascal , thanks for the quick reply!

Intersect also shows where the items are touching, so provides a lot more info, making it hard to discern where objects are interfering / fouling one another. (Image attached is 2 units)

IntersectTwoSets is a bit better as I am using Groups for each unit - so at least it would compare a whole group/set to others. But I would need to script a loop through the 30-40 groups in the model and provide the result as feedback to the designer.

Regards,

Adrian

Hi Adrian - if the current layer is say red when you IntersectTwoSets, you can see more clearly what is going on. It should be possible to loop through groups and spit out the curves to individual layers, something like that, I’ll have a look.

@agmckenna - here is something that might help - it intersects breps and extrusions in all groups that if can find and shoves each result on its own layer sorted by group pairs.
IntersectAllGroups.py (2.1 KB)

To use the Python script use RunPythonScript, or a macro:

_-RunPythonScript "Full path to py file inside double-quotes"

-Pascal

Thanks @pascal !
I’m happy to work on a script - looping through groups is going to be much better than looping through every object.
Cheers,
Adrian

I use the Clash command to find all the objects that do intersect, then use the Boolean Intersect command to find the actual amount of intersect.

Ah cool @scottd , that type of on screen feedback is close to what I’m after. I’ll compare the results of that to the intersect one. Thank you.
Cheers,
Adrian

That is great, and much better than any script I might have made! Much to learn here, and need to dig into RhinoCommon. Thank you again!
A