Page 1 of 1

CSV File Format

Posted: Fri Feb 05, 2016 2:38 pm
by ebanta11053
Hi Paul:

I’m familiar with the format required by OctaneRender discussed here https://docs.otoy.com/Standalone_2_0/?page_id=495, but I was wondering what exactly each of the 12 entries corresponds to in regards to the element itself. Additionally, is an element’s transform (as accessed through the Revit Python Shell) identical to the matrix needed by OctaneRender? If not then how would you suggest accessing the data needed to create the 12 entries for an element and writing them to a CSV file?

Thanks,
Ed

Re: CSV File Format

Posted: Fri Feb 05, 2016 9:36 pm
by face_off
I’m familiar with the format required by OctaneRender discussed here https://docs.otoy.com/Standalone_2_0/?page_id=495 , but I was wondering what exactly each of the 12 entries corresponds to in regards to the element itself.
Value 1, 6 and 11 are the x, y and z scale. Value 4, 8 and 12 are the x, y and z translation (location). And the rest are the rotation.
Additionally, is an element’s transform (as accessed through the Revit Python Shell) identical to the matrix needed by OctaneRender?
Assuming Revit and Octane use the same scale/rotation/translation order, then YES.

Paul