Community
FBX Forum
Welcome to Autodesk’s FBX Forums. Share your knowledge, ask questions, and explore popular FBX topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

normal in python and mergeing

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
346 Views, 0 Replies

normal in python and mergeing

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

 

 

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report