A way to avoid creating many list items?

Hi,

This is a simple question about the way to reduce many list items.

My goal:
I try to make horizontal mullion on the curved surface.
The distance of each mullion need to be various.
Also each mullion better to have different size.

Issue:
There is a problem with my geometry. Because of that I used divided curve to create many points. And then I make curve from the points.

Problem one is there are so many list items on the script.
The second issue is that all mullion size is identical.

Question:

  1. Is there any way to avoid having many list items?
  2. Is there any way to apply different size of mullions on this script?

My data:
Test8_RandomDivisionCurve.gh (38.0 KB)
Test8_RandomDivisionCurve.3dm (6.6 MB)

Thanks for your advise.

Test8_RandomDivisionCurve_re.gh (29.6 KB)

hope it helps…

1 Like

Thanks a lot. It works very well.