This is Python Generator that connects spheres with lines without line intersecting with spheres. There is many experimental commands in this tool. Python Generator virtually generates Sweep Objects and trims start and end parameters depending sphere’s radius so line does not go through spheres. Line is generated by using MoGraph Tracer object.
You can connect spheres by typing sphere IDs to data input. Syntax is “[first id, second id]”. You can also use experimental commands and generate automatically connections. Be careful, creating huge amount of connections will slow down your project. When you use “Add Connection” or “Remove Connection”, you must have only two spheres selected before you click those buttons.
This tool is made especially for parametric sphere objects. It does not work with anything else. This is updated post, before it was a bit clumsy Xpresso rig but now I have converted it completely to Python Generator.