Grasshopper

algorithmic modeling for Rhino

Hi,

I would like to place a point at the centre of all the faces of a mesh and/or all the surfaces of a polysurface.

If anyone could help me I would greatly appreciate.

Many thanks

Views: 4308

Replies to This Discussion

Surface>Analysis>Brep Area gives centroids

Thanks a lot Daniel,

Would you know how to place a line representing the normal of each mesh face on each of these centroid points ?

I thought i would put place line SDL with centroids as start point and mesh normal as direction but it doesn t work, even when i unify the normals...
From Daniel's def take the centroid and find the surface closest point [Surface>Analysis>SurfaceCP]...this will give you the UV parameters of the point on the surface...you can feed this into a Surface>Analysis>Evaluate Surface to get the normal direction. Feed this into your line SDL, with the cetroid as the starting point...make the length what you wish...
Attachments:
Thanks a lot guys,
It works perfect !

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