Create equally spaced line segments within a surface

Hello,

I have a planar surface with some holes inside it. How can I create a set of line segments that are equally spaced? (please see the red lines below).

Thanks,

image

Use contour component.

Hi S Wac, thanks for your answer. Could you be more specific?

Like this:


contour.gh (8.5 KB)

Thank you very much, it works perfectly!

Hi S Wac, is there another way to do this? Because it’s very hard to do this with Csharp…


div_srf3_2019Oct31a.gh (22.2 KB)