List, horizontal lines

For my support design, is there any way to connect the pieces horizontally like shown in this roller coaster example? So one horizontal connection every other support, so not every support needs a connection to one another. I have tried using list and domain methods but I cant seem to get it to work.



rollercoasterfirstgo (1).gh (36.4 KB)

I think you have bigger problems:

Can you describe more globally what are you trying to do?


rollercoasterfirstgo_re.gh (23.3 KB)

4 Likes

Ah yeah so I intentionally disconnected those, I planned on using them later to assign them to lists (which may or may not have been needed anyway). So I am creating roller coaster support structures, in which I want each of the points along the supports to be horizontal with each other (except for the top square that you can see follows the track) much like in the roller coaster example. So I wanted a horizontal connection at every other point in order to create a square, from that I would create trusses using the lunchbox plugin so that each of the lower supports would be identical, but this of course would vary depending on the height of the roller coaster. My goal is then to use the pipe function to set dimensions for each of the truss components (using basic strut and tie ideas to determine dimensions).

Thanks for a fantastic solution to the problem! I wanted to ask (at the point shown below in the image) why the list goes from i to i+2, surely it should be i to i+1 on the next rectangle up? Basically I want to know how the truss bracing list was created. Many thanks once again!


rollercoasterfirstgo (1).gh (51.2 KB)

It seems you totally misunderstand the source of discontinuity points data comes from…

The data comes from the faces output of Deconstruct Brep. If you turn the preview of that component on, you’ll know what I mean.

Hi again, so I have had a look at the Deconstruct Brep component but I am not entirely sure what I am looking for within this. I see all the rectangles are connected together with vertical lines. How does this determine the discontinuity points?

AHHHH I kept thinking it was to do with the horizontal rectangles, thank you so much!