Geometry Difference

Hello everybody, i’m here once again to ask another question.

This time i want to obtain the geometry difference from two lines.
I’ve seen a node in the geometry library that does exactly what i want, but unfortunately, it only works with solids, does not works with curves or lines.

The picture below better describes what i intend to do.

Thank you all for your help!

If the lines exist in the same location this should do the trick.

Otherwise, some translation of the geometry will be necessary to do a comparisson.

1 Like

Another option:

Get all your start and endpoints in a single node via the Curve.PointAtParameter node, transpose it so you have a list of start points and a list of end points, then do a line by best fit though points (start to end).


Here’s one more approach using trimming functions.