Grasshopper, array along a non-planar curve

hi, when i try to use grasshopper to do a pattern along that curve it comes out weird, the objects are not following the curve, the rhino command works fine, what am i doing wrong?

You didn’t post your GH code with internalized geometry. That’s wrong! :man_facepalming:

maybe this can help you…

Sphere on Crv.gh (5.8 KB) <— This is what Joseph means by “GH code”.

1 Like

yeah thanks, that code works! thanks :slight_smile: but i also would like to know why that command behave weirdly

Yes, thank you. Here is another way using the same Curve Array component:


Sphere on Crv_2021_Jul7a.gh (6.0 KB)

It’s because of where you created your sphere. I used the curve start point. Had you posted your own GH file, I could be more explicit, but you didn’t.

thanks to both of you!! i would like to check the solution box to all the replies but i can’t, i learned a lot…thanks!! :slight_smile: :slight_smile:

Thanks to @samuelef1992 for posting geometry to work with, otherwise I wouldn’t have bothered.

I’ve never used Curve Array before and would have done it the way @samuelef1992 did.

1 Like