Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Custom export generic model transform issues

Anonymous

Custom export generic model transform issues

Anonymous
Not applicable

Hi,

I am currently working on a custom exporter to export multiple views to collada files. I used this tutorial, to handle node transformation : http://thebuildingcoder.typepad.com/blog/2013/07/adn-mesh-data-custom-exporter-to-json.html

But still, it seems that some given transform are not correct (I am probably missing something). I have this view :
 Revit_2017-09-12_16-57-04.png
and my export is currently giving me this :

open3mod_2017-09-12_16-58-54.png

 

 As you can see, one in two element has an inverse axis rotation. And my debugger certify this statement :


devenv_2017-09-12_17-01-41.png

 

the grey block "node.GetTransform()" is the previous instance node iteration, and the white one, is the current one. Do you have any idea why the basisX and basisY axis are different? Am I missing something?

Thank you.

 

0 Likes
Reply
415 Views
1 Reply
Reply (1)

Anonymous
Not applicable

I've explored this further, and I saw that one of two is the mirror of the first one, as you can see in the image bellow. Why isn't the transform giving me this mirroring transformation?

 

 

Revit_2017-09-12_17-58-35.png

0 Likes