Boolean script question
Hello. I need help with boolean script. I want to write a tool that makes a chamfer to those edges that appears when two boolean objects intersects. Something like "Modo Meshfusion" functionality, but simplier. So, there are two main question.
Question number one - how to catch those edges? The problem is that bollean operation automatically selects not all of those edges, but all of those vertices. How to convert the selection of vertices to the selection of edges that lies between vertices?
Question number two - how to avoid mesh overlapping when I do the chamfer? Maybe there is a way to weld a vertices if the distance between them is too short? And if I want to make a chamfer smaller, how to return a welded vertices? Is there a way to make a script more dynamic, so the chamfer will stay even if I move one of the source objects and the number of edges/vertices will change?