Aligning horizontal frame to the line

Hi everyone!

I’m trying to arrange the elements on the curve, but the horizontal frames are changing direction once they are on another segment.

If you could help me, please, show me how to solve the misalignment of the frames as per the screenshot

Best,

Yaroslava

The file attached:

250922_Frames.gh (19.9 KB)

Thank you!!

Your definition is missing the input curve. Please internalize it.

Hi Martin,

Thanks for the note!

The file attached:

250922_Frames.gh (18.7 KB)

You can align the planes with tangents at closest points on a curve with all segments joined.

250922_Frames (1).gh (26.0 KB)

Thank you, Martin!

I did test it with the extrusion of the curves. Can the edges of the curve be aligned with the curve every point? They are aligning every second point so far.

Thank you!

This is how it looks here:

If it doesn’t work on your end, please post a file with all inputs. The one above is also missing a direction input…

Sure, please find the file attached.

250922_Frames (2).gh (51.8 KB)

If you could also have a look at the extrusion with the different heights set up :folded_hands:

It doesn’t work so far…

Thank you!

  1. I’m not using these plugins

  2. The curve input in the purple group is missing again

Please see the file, hopefully, it is all set up correctly. ))

250922_Frames (3).gh (258.0 KB)

This selected curve component should not be flattened when you’re working with multiple levels. The data needs to be in a matching tree structure. If all this sound completely foreign, please learn more about data structures.

250922_Frames (3).gh (694.3 KB)

Thank you, Martin!!!

You’re definitely right. The thing is, I’m just a beginner, using the grasshopper just for the last couple of months, but I’m happy to practice!

Thanks for your fast support - much appreciated!!!

Hello Martin,

I’m having trouble rotating an extruded curve using Graphmapper while keeping the data trees intact. I’d like the rotation to vary across levels, driven by the Graphmapper output—but I can’t seem to get it working properly. They are looking the same at each of the second levels. Could you please sketch out how the setup should look?

Thanks a lot! :folded_hands:

250922_Frames (4).gh (263.3 KB)

This file does not contain the correct data structure like I suggested above.

There are a few ways to do this. Also for next time, I’d choose an example with less objects. It’ll be easier for you to understand the logic.

250922_Frames (4).gh (703.0 KB)

That’s what i was looking for.

Thank you, for your quick response, Martin! Great having you around!!