Grasshopper

algorithmic modeling for Rhino

Box Scaling in one direction according to a point

Hello guys,

I'm trying to make a box scaling according a direction of a point. I have a point moving on 2D (x,y) and I want the point to select the closest surface and then scaling accord that direction.

I have manage to do the selecting surface part, however i'm not sure how to do the scaling part since the direction is changing to X and Y.

Please help how to move with it.

I have attached the file of what I have done so far.

Thank you

Views: 976

Attachments:

Replies to This Discussion

I have manage to move the surface to the correct direction according to the point position but I'm sure there is a better way. Can anyone help with that?

I have attached the new file as well.

Thank you

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