I am trying to run a 2 point cylindrical adaptive component along a three dimensional path, think a complex rollercoaster-like path.
I have an Excel file which contains XYZ coordinates and the path between each of the points is straight i.e result is a faceted or segmented 'sweep’
I am ok as far as using Dynamo to extract the coordinates and create points.
Since my adaptive family only requires 2 points, the question is how can I loop through the coordinates in the list, and repeat the adaptive component as follows:
Segment 1: from Point 0 to Point 1
Segment 2: from Point 1 to Point 2
Segment 3: from Point 2 to Point 3
etc…around 1000 points total
It currently fails as the input list of points does not have the same number of values required by the adaptive component.
In other words, I need to split it up into pairs of points, insert the family, then move onto the next points in the list
If it makes it easier, I can tweak the Excel data so that each record has XYZ start & XYZ finish values for each segment.
thank you in advance, any help greatly appreciated,