Grasshopper

algorithmic modeling for Rhino

Hi,

 

I m trying to rotate an object back and forth from 0 degree to 360 degree. Say, the input value is 400, the object should rotate by 360 degree clockwise, then 40 degree anticlockwise. 

 

Any clever way to do so?

Views: 733

Replies to This Discussion

Chris

Attachments:

Thanks! I will try it out.

Now I understand the formula. Very smart! 

 

R = 360 - 360(+ve)(x/360 - 1)

where x is the input value.

 

Intelligent!

Hey everybody.

I have some problems rotating lines with a specific angle defined by a "law curve".

I tried to get something like this:

Start with no ratation, then rotate slowly up to 80 degree, then rotate back to zero degree (start position) then don't rotate, then rotate to -80 degree, then back to zero degree (start position) and stay there.

I hope the you can help me.

Thank you.

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service