Grasshopper

algorithmic modeling for Rhino

Hi everybody.
I'm stuck in front of the orient component.
I would like to control orientation of an array of breps that would be hooked to grid points.
I've already created the grid, the atractor point, and the vectors defining normal planes:
here is a picture of the definition and the scene

first issue , is that planes x and y directions are sometimes upside down (see above) depending on the attractor position..

second problem is that I need to find the base plane of my brep for the orient component? but how to get it?

thanks for your help.

Views: 2853

Replies to This Discussion

Hi tib,

creating a plane from origin + normal is indeed a problematic approach if you care at all about plane orientation. There's simple an infinite number of possible planes that satisfy any given origin point + normal direction and Grasshopper has to pick one. It's not possible to do this in a continuous fashion (see: hairy ball theorem) so you'll always get a flip somewhere.

You can either choose to construct your planes differently or to post-process them to achieve the orientation you want.

See attached for a possible solution.

--
David Rutten
david@mcneel.com
Seattle, WA
Attachments:

Hi David,

Facing same problem here.

I wish I could prevent planes from beeing reoriented around their XY axis.

How could I contraint remapping to XZ and YZ axis only?

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