Cull List with existing List

I try to create a landscape model using a laser cutter. Therefore i slice the model using “contour” in Grasshopper. Now i want to rebuild the lines that are defining the terrain. Therefore i have to separate the curvy “terrain Lines” from the straight “outer Lines”.

I already managed to extract the “outer Lines” with a Brep / Curve intersection. But i haven’t found a way to extract the “terrain Lines”. Is it possible to cull the list (containing terrain and straight lines) with the list that only contains the straight Lines? So the terrain lines would be all that is left.


silly question: wouldn’t you need also the straight lines to actually lasercut each shape and overlap the sheets?

Hello,

How did you manage to obtain the lines only ?
It seems to me your terrain and the “walls” are not the same Brep, so you can use Contour twice to have separated outputs.

You can also filter lines, arc… by pluging the curves in a Text parameter, and then use Match Text with “* Line*” pattern.

Alternatively, merge your two trees, compute the midpoint of each segment, and use Cull Duplicates wih option Cull All.

Post some geometry if you need more help !