Collide open curves in Kangaroo

Hello together,

I have a problem with my project with Grasshopper and Kangaroo respectively. The project is a kind of pavilion (picture 1). The top lines are built from wood and then of course do not intersect (picture 2). I tried to solve this problem with “Collider” and “CurveCollide”. However, both do not work, because I am dealing with open curves. Not even if I convert the curve to a polyline. Does anyone have an idea if there is a solution to the problem?

I think the better option here would be to get closest points between the curves in sequence and move by the partial results of their sum like this: (9.7 KB)

For collisions between pipes in Kangaroo you can convert them to polylines and use Collider on their segments, also keeping their shape with RigidPtSet. I don’t think that’s really what you’re after here though.

1 Like

Hi Daniel, thanks for the quick answer. The problem is that the bottom line is fixed and only the arcs can move. These could stretch along the Z-axis. Is this possible or did I start wrong for this by stretching a semicircle.