I want to create a script that finds the location of a cut generic model in a view and determines the radius and position of what you are seeing in this view.
To make it more clear see the picture below:
This is a section view of a wall, which has a generic model running through it(the red circles). I would like to find the center of both circles and place a void family on these positions. The circles are snapable so i think there are ways to get the shape that you are seeing in the view right?
I dont need an entire script but a nudge in the right direction would be great I have not worked with curves/shapes like this before so i don’t know where to start.
The endgoal will be:
Dynamo script that does the following:
Create a section view for every single wall in the model;
Get the centerpoint of the circles and radii.
Place family on center point with correct diameter.
I can manage all the steps except for finding the centerpoint and radius. I think this gets more complex since both circles are inside 1 generic model so i am not sure how Dynamo handles that.
Edit: added this picture to show i can snap the generic model in view