Extrude curve not the same length as the vectors I am feeding it

Dotted ;).gh (34.9 KB)
Dotted ;).3dm (298.6 KB)



I am trying to extrude a tree of curves in the z axis using the given vectors. When I try and visualize my vectors, it shows the correct length. But when I feed the same vectos into the extrude component, it extrudes it to an arbitratry other length for some reason. My goal: is to extrude those curves with the visualized z vector lengths. I am unsure if this is a data matching issue or something else. I realize that it is a fairly large script with tons going on, but I think it was important to keep all this is the files I uploaded as opposed to internalizing data (becuase I am unsure where the problem begins). Thank you folks in advance for any help. Have a nice weekend!

Hi Anand,

The issue lies when you try to join the curves right at the end (the arcs and the associated lines). Grasshopper will join them in its own order, so it mixes up your list/tree. Even merging or entwining didn’t work for me, so I instead flattened the tree, joined the curves and then unflattened with the arc tree structure as a guide. This seems to work, although there might be a cleaner way.

John.

Dotted ;).gh (38.9 KB)

1 Like

John,

Thank you so much for solving this.

I really appriciate your help!

best,
Anand

1 Like