Grasshopper

algorithmic modeling for Rhino

Hi Everybody,

I am very new to grasshopper. 

I have one slider controlling the Scale Y on multiple curves that are oriented to different locations.

Line 1 is 2mm long and originally located at 0,-1,0 to 0,1,0

This curve gets oriented to 0,0,-14

It does what I expect

Line 2 is 2mm long and originally located at 0,-1,0 to 0,1,0 (in the same location as Line1)

This curve gets oriented to 0,0,-16

However when it orients, it scales in Y. I am not sure why it gets longer, can anyone see what I have done wrong?

Jill

Views: 304

Attachments:

Replies to This Discussion

What is wrong is the orient of the first line. You have changed the length of the vectors, and that alters the size of the target line. The orient component uses a point and a vector as source, and a point and a vector as target. This means that if the source vector is (0,1,0) and the target vector is (0,2,0), the size of the geometry will be scaled by two in Yaxis.

Got it!  Thanks so much for your help.  Much appreciated!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service