Measurement Center of Object ?
3787 3 1- _Christopher_
- Member
- 767 posts
- Joined: 4月 2014
- Offline
- ttvdsfx
- Member
- 173 posts
- Joined: 4月 2014
- Offline
- bunker_
- Member
- 6 posts
- Joined: 9月 2012
- Offline
- _Christopher_
- Member
- 767 posts
- Joined: 4月 2014
- Offline
jdvfx
in HSCRIPT:
$CEX,$CEY,$CEZ
also the centroid() function, eg: centroid(opinputpath(“.”,0),D_X)
in VEX (attribute wrangle SOP)
// centroid of first input
vector bmin,bmax;
getbbox(0,bmin,bmax);
vector centroid = (bmin+bmax) * 0.5;
Correct me if I'm wrong but you run the following code in detail mode, I'm expecting to see a value ?
Also bmin and bmax are temp attributes correct, just to clarify ?
Edited by _Christopher_ - 2016年10月28日 12:31:09
【T】【C】【S】
-
- Quick Links