Toggle edge for Brep entity

Hi, I want to develop a function for Rhino, I hope the edge of different brep entities could
connect together (no gap and no overlap), the steps detected the maximum edge distance between brep and the around brep, and show
different color on edge by different distance value.

2.Develop a function to auto toggle edge together

maybe look like the following:

could anyone tell me, Is there a way to achieve it on rhino?

Hi @jerry1,

I don’t know, maybe, probably? What application is seen in the screen shot?

– Dale