|
Hi, I need to calculate the bounding box of a mesh in a python script.
The documentation suggest to populate BBoxMin and BBoxMax with ComputeBBox() defined in KFbxGeometryBase.
I try to invoke the ComputeBBox method to ad instance of a KFbxMesh (that extends KFbxGeometryBase) but the code halt with the error “‘KFbxMesh’ object has no attribute ‘ComputeBBox’”
With dir(fbx.KFbxGeometryBase) I don’t find the definition of the method ComputeBBox.
I can access to the properties BBoxMin and BBoxMax but these are equal to [0.0, 0.0, 0.0].
I have the same problem with the method MemoryUsage!
There is a solution?
thanks
Simon
|
|
|
|
Unfortunately, this function is currently not exposed via Python. I will make sure to add it on the todo list. Thanks for reporting this!
Robert Goulet, FBX Dev Lead
|
|
|