I require your assistance in helping me find a solution to my issue. I created a Segmented Universal ring with a taper on both sides using a 2-Point Adaptive Family. Using Dynamo to place the points where the rings would sit, the only problem I have left to solve is the rotation of each individual ring.
I created Family Parameters that would rotate the ring according to the no of bolt holes, allowing for the ring to rotate at the correct position according to the holes.
My issue is the fact that I do not have the rotation angle for each ring and thus I am left to find out for myself. Is there any way you can help that would rotate the rings to the correct position according to the Coordinates with Nodes and Python scripts as I wish to have both?
Here are the Family Parameters for the Ring:
The picture below shows the tunnel in the beginning:
Below is the Dynamo script for the tunnel:
Below is the Python Script I am using for this: