Grasshopper

algorithmic modeling for Rhino

1.2.3.4 Different Area..

1.2.3.4. Different slopes..

how can i Calculate an average slope mesh?

ex) i think 1+2+3+4 / 4 is Not exactly..

any idea? 

Views: 740

Replies to This Discussion

Hi,

if you want area weigted vectors you should normalize each normal first, then multiply with area value. Finally add the four vectors and you will have the average vector.

For the unweighted vector just add the four normals (normalized).

To get the inserting point for your vector you can use (c1+c2+c3+c4)/4 (c = "center" of your panel)

Cheers,

Raul

There is a Weighted Average component which might make this a little bit easier.

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