Apologies if this is an already resolved issue but i cant seem to find an answer to my issue here.
Im new to grasshopper so please bear with me if im missing the obvious
I cant seem to get my sweep1 to work for me in this instance.
I have a feeling it is down to too many sections possibly as the code will run if i do it will fewer referenced sections. But ideally id like to create a parametric wall with a smooth transition start to finish.
Iv attached (hopefully) images of my code and the result.
Id be really grateful if anyone could give me a hand here.
pictures are helpful, but just until a certain point
please open your gh file and right click on all your parameters that carry geometries referenced in Rhino, and chose “internalise data”
at that point save the GH file, and send it here in the forum by dragging just the GH file on the message window
may I ask what were you planning to do with these sections? are you going to change them one by one and want to see those changes reflected in the sweep?
that was indeed my dodgy ass way of getting the angles i needed for the sweep Im sure there is a more elegant way to get the correct result but this was my beginner way of doing so haha
So im still new to grasshopper but i dont quite understand what is different in your script. what exactly has adding the -1 value to the list item component changed within this script?
Sorry if this is annoying to explain, im just trying to grasp where i have gone wrong in this
the main point is: if you don’t want to get a variable-section sweep but are just looking for the very same section everywhere, then you can just use a single section at very start or at the very end of your rail curve
so, among the list of section curves and planes i picked just the last ones (that’s what the -1 does: it picks the last element from a list, but because you have 9 items it would have been the same if I picked the 8th item… -1 just picks the last one regardless of the length of the list, it’s like saying “count 1 from the bottom”, you can put any index with a minus in front to indicate that)
why we pick that last curve and not another one? because that curve lies on the perfect XY plane, so it’s easier to identify (but also the second-to-last section curve was good, which is index 7 or -2, would have produced the very same final result)
So my intention was to have variable sections across the sweep, I just hadn’t actually got around to messing with the sections quite yet.
Sorry i hadn’t actually ran your script yet as im now away from my desk.
Essentially the end result im after is being able to create a parametric wall with smooth transitions around the corners, using sections i can play around with until i have the desired effect. Then i plan on running the Brep plane component to take sections running along the rail.
Im hoping ill be able to use these sections to create acoustic baffles within the space
I understand if you don’t have further time to help me on this, I appreciate your help so far it has defiantly helped my understanding on this