how to find the centroid of a 3D object?

   7019   2   2
User Avatar
Member
479 posts
Joined: 12月 2009
オフライン
May I ask how to find the centroid of a 3d geometry, such as a box?

Thanks!
User Avatar
Member
607 posts
Joined: 5月 2007
オフライン
There's a centroid() expression function: http://www.sidefx.com/docs/houdini14.0/expressions/centroid [sidefx.com]
It returns the center of the bounding box of the geometry.

If you want a proper center of gravity, I'd go [forums.odforce.net] via a voxelized version of the geometry and calculate the average of populated voxels' coordinates.
User Avatar
Member
1391 posts
Joined: 12月 2010
オフライン
oat
May I ask how to find the centroid of a 3d geometry, such as a box?

Thanks!



I think this is just a Joke ! Right ? 8)
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
  • Quick Links