Grasshopper

algorithmic modeling for Rhino

My definition consists of vertical lines that are divided with points. I am trying to move those points within a range randomly changing from line to line so that the result is a different jagged vertical line across the two long curves.

My problem is figuring out how to break the data within each line so they differ vs the way it is now where they are random but they are all the same. (flatten list maybe?)

Also it would be nice to have a way to align the plane with the curve so that I can extrude the lines perpendicular to the curve. It would be nice to have the movement of points and lines always be relative to the "normal" of the curve. (As of mow they all face in one direction)

Thanks for the help

Views: 4214

Attachments:

Replies to This Discussion

In your definition you have 51 paths containing 4 points each. What you need is a set of transformation vectors with the same data structure.

See image and .ghx attached.
Attachments:
That is exactly what I needed. Thanks for the post Jacek!
Hey Jacek I have a quick question

I took the definitions and broke it down so the curves only bend in one direction which is great but the problem I am having is getting the bent curves to align with the normals of the curve.

I tried applying perpendicular frames to the curve which gave me the correct plane but I am not quite sure as to how I should tell the bent curves to move based on the different planes.

Basically what i need is to make the bends in the curves relative to there own plane, so they follow the curve (where currently they all face the same direction, see normals.jpg)
Thanks for the help!
Attachments:
I figured it out

I used point compose and xy plane to rotate the plane in the right direction then I used another point compose to isolate the x axis again, plus the problem I had was the frames need a graft to separate individual values. Then I used the vector multiply and it works, thanks for the help!
Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service