CSV File Format

Forums: CSV File Format
Autodesk Revit (Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

CSV File Format

Postby ebanta11053 » Fri Feb 05, 2016 2:38 pm

ebanta11053 Fri Feb 05, 2016 2:38 pm
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
ebanta11053
Licensed Customer
Licensed Customer
 
Posts: 28
Joined: Tue Aug 21, 2012 12:58 pm

Re: CSV File Format

Postby face_off » Fri Feb 05, 2016 9:36 pm

face_off Fri Feb 05, 2016 9:36 pm
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
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15473
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Return to Autodesk Revit


Who is online

Users browsing this forum: No registered users and 2 guests

Tue Apr 16, 2024 9:56 pm [ UTC ]