Extrude beams perpendicular to curve

Hello everyone,

I’m trying to extrude beams along a given length on a curve. However, I’m having issues with the orientation being perpendicular to the curve. Any help would be appreciated. Thank you


Divide curve by length.3dm (38.6 KB)
Divide Curve by Length_230915.gh (12.8 KB)

Hi @user294,

Instead of using perp frames on the vertical lines only, you could use the same points on said lines to get the normals from the surface:

You can also align planes as you were doing it already but using the surface normals this way:

Hi Rene,

I’ve tried the second option but can’t seem to figure out where I’m going
wrong. Thank you, I appreciate the help.

1 Like


Divide Curve by Length_2023Sep18a.gh (13.6 KB)

sorry I didn’t attach it because it was a small example - I wasn’t sure what you were trying to align, seems @Joseph_Oster has what you want :wink:

Divide Curve by Length_230915.gh (18.4 KB)

P.S. The Rectangle ‘X’ and ‘Y’ inputs are domains. Default for ‘X’ is -1 to 1, default for ‘Y’ is -2 to 2. You can modify those dimensions and radius the corners if you like.

This changes the ‘Y’ domain to 0 to 4:

@Rene Corella,

No worries, thank you.

@Joseph_Oster

Hey Joseph, your definition is simplified and should do the trick. Thank you for the helpful tip as well.