Does anyone know if there is a node in Dynamo that does the same thing as boolean difference - but for lines or curves. I have one curve (a rectangle, the red one) and another set of curves (the balck ones). They are overlapping each other three times (see the blue arrows) and I would like to delete these overlapping parts from the red curve. Does anyone know how to do this?
Join the black lines (I assume some of them are multiple segments) into a polycurve and do a Geometry.Intersect with the red lines. That should get you what you want.
Okay thanks, but the problem is this curve (the rectangle inside a bigger rectangle). Since I have that in my set of black curves I cant join them… Do you have any ideas of how I can solve it?
Try Geometry.DoesIntersect. It gives a boolean for whether geometry intersects or not. Then you could use List.FilterByBoolMask to separate your geometry curves into intersecting and non-intersecting curves.