May I ask how to find the centroid of a 3d geometry, such as a box?
Thanks!
how to find the centroid of a 3D object?
7019 2 2-
- oat
- Member
- 479 posts
- Joined: 12月 2009
- オフライン
-
- eetu
- 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.
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.
-
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: 12月 2010
- オフライン
-
- Quick Links


