Dividing curves and connect points by adaptive component

Hi,

Not so easy one.

  1. I want to divide 2 paralel curves by a lengths. These lengths should be multiples of 750.

  2. I want to connect these dividing points from one line to the other paralel line by adaptive components.

  3. But as I said the multiples of 750 should work like: 750, 1500, 3000, 4500 and 6000.

  4. And an adaptive component should be connected at least to one point, but there can be more. (It should be randomised)

  5. The image shows what I’m trying to achive in a very simple way.

Note that the component can be in x axis only 750 mm, 1500 mm, 3000 mm and 6000 mm. The z connection distance should be varying on request.

Anyone can guide me?

Hello, here’s a post on Curve Divide:


See also List-Reverse and List-ShiftIndice in the example files:
http://dynamoprimer.com/en/Appendix/A-4_example-files.html
Further explanation on nodes can be found in the Dynamo Dictionary:
http://dictionary.dynamobim.com/