Get surface iso curves from openings

Hello everyone,

I’m currently working on generating iso curves from a surface while considering the surface openings to divide it into smaller pieces. The initial surface is shown below:

In the process of generating iso curves, I am accounting for all the corners of the openings, as illustrated here:

However, for the analysis I intend to conduct, I need to stop the iso curves when encountering an opening. Unfortunately, I haven’t found an easy way to achieve this. Specifically, I would like to remove the lines indicated in the image below:

I would appreciate any insights on a smart approach to address this issue.

Thanks in advance!
@Quan_Li @DanielPiker

Iso (5.8 KB)

Iso Curves Edited (13.0 KB)
IsoCurve.ghuser (4.9 KB)



That doesn’t appear to be used?

P.S. On second thought, I think colors are counter-productive in this case.

Iso (31.7 KB)

1 Like

Hi @Quan_Li

I was not looking for random iso curves, maybe I did not explain myself. I just wanted to get the iso curves created by the openings but removing these curves cut by the holes

Hi @Joseph_Oster

This plugin is not used in the script.

Thank you very much for your answer, simple but efficient script. That’s is exactly what I wanted :slight_smile:

Just being curious, do you think that script can be applied in case of having different surfaces (floors with different Z coordinates) with openings inside of them?

Now that I removed ‘Flatten’ from the SrfSplit ‘C’ input, it should work?

Iso (18.0 KB)

P.S. Unfortunately, it’s not that simple is it… :thinking:

1 Like

Well, I tried. Turns out it’s a baffling data tree problem and I didn’t have the time. So after finishing something else I had planned today, I took the easy way - an Anemone loop (white group) to do each holed surface one at a time. SO EASY :exclamation:

Iso (34.4 KB)

1 Like

Thank you very much for spending your time on this @Joseph_Oster That’s exactly what I was looking for :slight_smile: