Preview:
I am trying to modell and design a Zollinger Rooftop for my Master Thesis. One thing i got wrong is the orientation of the Lamella (Lines). They are Sorted from a Projekt someone before me did.
My problem is, that i want them to be linked to the Surface, they are lying on. To connect them later in the Plugin from Dlubal.
Problem Explanation:
I have a 2 sets of 400 curves (1). I want to link them to the coresponding 20 Surfaces (2) they are lying on. There are 20 curves lying in each surface in each set. They are somehow in a pattern, but not the same for the whole set.
The End result should be a list of Surface Numbers coresponding to the List of 400 curves.
GH_Question.gh (40.3 KB)
Here is the geometry i am Talking about withput further content, because i cannot publish it.
I hope this helps with understanding my question.
Mybe i have not done a good job explaining it. the curves are on the surface. I just need to sort them in the right order. I have archieved this now by sorting the middle of the lines about their x value. I reversed the surfaces, because they begin at the highest value of x)
Now i have a followup question (Answered):
For my purpuse this is enough, but it could look a little bit better in my oppinion if the lines are sorted in x and then in y direction. In the end the lines should be sorted in both directions but the sorting in x should be more important and not be lost while sorting for y (20 lines per x Value). Can you explain to me how this is done?
Maybe with some tree components? or multiline/Lists?