Trying to write some tools in python for fbx.
Using python 2.7.6 64bit, so 2014.2 for the sdk (Python27_x64)
using it in a stand alone python app not in maya.
Running on win7 sp1
Everything works great up to this point but I am trying to work with normal information.
I want to..
- get all the hard edges /normal data.
- merge spit edges on a mesh
-set normal angle to the saved vales.
I was looking at the class fbxMesh.
Specifically FbxMesh.BuildMergeList and MergePointsForPolygonVerteNormals
Can not figure out how to use this with python ?
can not figure out how to do a FbxArray< int > ?
from the docs I assumed I did not have to?
Are these functions not supported?
looking in FbxGeometryConverter
I saw.. MergeMeshes(FbxArray<FbxNode*>
Same issue.
Can not figure out how to use this with python ?
can not figure out how to do a FbxArray<FbxNode*> ?
from the docs I assumed I did not have to?
Are these functions not supported?
I would have expected something like..
pMergeList = []
currentScene.GetRootNode().GetChild(0).GetChild(0).GetMesh().BuildMergeList(pMergeList, False)
TypeError .. unexpected type 'list'
or
pMergeList = fbxArray()
NameError .. NameError: global name 'FbxArray' is not defined
Am I going about this wrong? Is there a better way? Is it a syntax issue?
thanks,
ryan