Grasshopper

algorithmic modeling for Rhino

the planes that i am using for a rotate component switches direction unexpectedly.
how can i fix this?

thanks
matei

Views: 555

Attachments:

Replies to This Discussion

Hi,

the planes along the curves shifted axis all of a sudden. A perpendicular surface frame that is used as base for the circles seems to fix it. Not sure to be clear. I attached the definition.

Côme
Attachments:
thank you
works perfectly now
You are encountering a phenomenon sometimes referred to as a gimball lock. It occurs when the angle of 90 degrees is approached. You will appreciate that the tan(89.999) is +infinity but then tan(90.001) is -infinity. This is the reason why the plane seems to flip over. The solution would be to ensure that in defining your planes, you keep the orientation within the -89.999 to +89.999 domain.
i figured it was something about the approach to 90 degrees, but didn't know what to do about it
seems like the perpendicular surface frame avoids that issue somehow.
i usually like to know why things work or don't but this one is beyond me as to why one component does and the other does not.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service