Grasshopper

algorithmic modeling for Rhino

Hi guys,

My brain is in a fog here...  I have a collection of vectors, who have a point of origin and a length.  How do I extract the end points of these vectors?  I know I've done this before (or maybe it was with scripting... where I would use a PointAdd function, but I don't see one in GH...  What have I forgotten?

 

Thanks,  --Mitch

Views: 2713

Replies to This Discussion

Can't you just use the "move" component to translate the point to the end of the vector???

I'm a bit cloudy myself and away from MY computer.....

Thanks, that works, sorry for the dumb Q...

--Mitch

One comes to my mind now. Add a Vector Normal CPlane at the point of origin, and the Normal Vector that you already have, connect it to Z, ok? Then get an Offset Normal CPlane with the Length that you already have, right? Then, Decompose the last CPlane, and get the Origen, that would be your point! 

 

http://web.me.com/rhino3dtv/GH/GH_07_04_Vector_Planes_Normal.html

Hope it  work!

Hi Mitch,

 

just use the regular Addition component,

it also works for vectors and points.

Cheers

Emilio

Thanks Emilio!   --M
great info Emilio! Thanks :)

Never thought of that!  Thanks for the share!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service