Grzegorz Krzemien Posted April 10, 2019 Share Posted April 10, 2019 Hello! I have question. How can I connect n-th element from different lists? The situation looks like this: there are two circles and equal numbers of points on them. I want to connect points of the same index on both curves (the 1st on one curve, and the 1st on the 2nd one, then pair of 2nds points on each curve, then 3rd and so on). I know that there is a way to do this manually (List Explode node), but how can I do it in more parametric way e.g. if I do not want to specify the exact number of points on curves, or I simply do not know how many of them are needed. Connecting Nth element.vwx Quote Link to comment
Antonio Landsberger Posted April 10, 2019 Share Posted April 10, 2019 Hi GRZEGORZ, you're almost there already. To make the connections between the two circles, you need the Polygon3D node, which takes lists of points. List of points in your case would be point pairs. To get those first ZIP both outputs of the Divide Curve nodes and then CHUNK this big list into lists of two elements (pairs). Antonio 1 Quote Link to comment
Grzegorz Krzemien Posted April 10, 2019 Author Share Posted April 10, 2019 Thank you for your answer Antonio! I even managed to create 3rd input into Zip node, so it's working nicely. Do you have any idea, why I can not close that loft? Connecting Nth element 002.vwx Quote Link to comment
Antonio Landsberger Posted April 10, 2019 Share Posted April 10, 2019 To close the loft, you have to add the first curve (POP FRONT) to the end of the curve list (APPEND). 1 Quote Link to comment
Grzegorz Krzemien Posted April 10, 2019 Author Share Posted April 10, 2019 Great, it's working now perfectly! Thank you very much! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.