With this macro you can create cylinders or cones that connect spheres just by selecting them in the order you want.
Installation
Download and unzip the zip file and copy the content to the folder of your choice, you can check the path where FreeCad saves the macros by default from the top menu
Macros>
Macros…, in the dialog box that shows us we can see the path or change it to the folder where we save the file.
Download
connectSpheres