cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

File Preparation from Alias to VRED

File Preparation from Alias to VRED

Would be possible to associate these functionalities into a single PY script?

 

> tesselategeometry()

>decore (or equivalent normal orientation)

>computeAmbientOcclusion ()

>Sort materials and reassign Asset Materials with the same name

>Discard Nurbs Surfaces (convert Model to Meshes)

 

I have no much experience coding and just had wrote some lines with tesselation and AO calculation, however I could not find decore, or a function that could flip all normals outside (green).

This kind of script will definetly improve the import and scene preparation workflows, 

 

Looking forward to further develop this iddea with you guys!

Leandro.

1 Comment
Anonymous
Not applicable

Will be nice to know from Autodesk´s experts if is there some way to get via Python script the information about face normal orientation!
I would like to build a list where I can sort among Geometry nodes or components both status green and blue ('cause they don´t change with camera POV) and apply some logic (if Blue SwapNormals _ if Green 0).

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

Submit Idea