another comma separated txt file. I know how to import points (function Import coordinates), but I dont know how to connect them by lines if the only information I have about lines is the list of point numbers which should be connected. The txt file with point coordinates looks like:
-18,-36,-1000-18,-34,-19.728-18,-32,-17.603-18,-30,-15.372-18,-28,-13.121
...
And the txt file with line connections looks like:
1,22,33,44,55,6
...
Which means that I want to connect point 1 with point 2, point 2 with point 3 etc...
Both txt files are attached, thank you for the answer...…
onsecutive points at the same height then your 'Break at discontinuities' component eliminates the middle point completely and then the 'Interpolate Curve' component gives a much bigger bump in the wrong direction. This was enough to get curves to meet from opposite sides.
I fixed this by changing the heights to 1.1 or 2.9, rather than 1.0 and 3.0, but it took a little while to work it out! Sigh.
I attach a new version. But I actually preferred it as it was before. See what you think!
Bob
p.s. in the first list, elements 11, 12, 23 and 24 go from 1 to 3; elements 17 and 18 go from 3 to 1. In the second list, elements 6, 17, 18 and 29 go from 1 to 3; elements 12 and 23 go from 3 to 1. Given the above fix, these can be easily seen.…
Added by Bob Mackay at 10:40pm on November 24, 2015