Grasshopper

algorithmic modeling for Rhino

I am currently trying to move the current point highlighted upwards, so that my cylinders don't clash. I thought I would use the move component  then a vector, but my understanding of vectors isn't particularly - well, existent. Can anyone help me?! Many thanks!

Views: 2723

Attachments:

Replies to This Discussion

Hello,

you could connect a "UnitZ" component to the vector input of the "Move" component. Make sure you use your desired factor for the unit multiplication in the "UnitZ" component. Also I see you haven't connected any Geometry to the "Move" component yet.

Gesthimani

A vector defines a direction and length, and is comprised of x, y and z values.  As a data element, it looks like a point, but describes movement rather than fixity.  So if you want to move something in the z direction, you make a vector {0,0,x}, where x is the length of movement you want.  Under the "vector" tab, you can grab a world z axis vector.  This returns a base value of {0,0,1} but allows for you to feed into it a factor, which gives it your desired length.  If you feed the geometry you want to move into the "G" input and your vector in to the "T" input on your move component you'll be good to go.

that's great! thanks so much for your help!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service