Hi There,
Im trying to find the curves as a result of the intersection of a list of 4 circles. (as shown) Im very new to Dynamo could someone help me on this?
I tried to use the geometry.intersection but it gives me only the points.
Thanks
Hi There,
Im trying to find the curves as a result of the intersection of a list of 4 circles. (as shown) Im very new to Dynamo could someone help me on this?
I tried to use the geometry.intersection but it gives me only the points.
def GetIntersection(curves:var[])
{
surfs = Surface.ByPatch(curves);
n = surfs[0];
return = [Imperative]
{
out = {};
for (i in 1..Count(surfs)-1)
{
newSurf = n.Intersect(surfs[i]);
n = newSurf[0];
curves = newSurf[0].PerimeterCurves();
out[0] = curves;
}
return = out;
}
};
GetIntersection(x);