Hi sorry not able to post to the other board as I can't get the company email account to work
I am trying to generate a CSV file for instancing using dynamo in revit, however I'm not sure what the 12 number matrix corresponds to. I understand that index 3, 7 and 11 are XZY coordinates, and index 0 , 5 and 10 are XZY scales. as for the other entries i think some of them control normals? How would i generate a sequence to control the rotation of instances?
Thanks
Gerard
CSV file generation
- Attachments
-
- Scatter.csv
- (1.44 KiB) Downloaded 624 times
Pls see https://docs.otoy.com/Standalone_2_0/?page_id=495 for a description of the format of the 12 numbers for each scatter transform.
Paul
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
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
Thanks Paul there wasn't a lot of documentation in the plugin manual where i was looking. Anyway the information included in the manual is pretty brief as well as i guess it's expected to be common knowledge. If anyone else needs additional resources on transformation matrices;
http://inside.mines.edu/fs_home/gmurray ... sRotation/
http://graphics.cs.cmu.edu/nsp/course/1 ... nsform.pdf
Cheers
http://inside.mines.edu/fs_home/gmurray ... sRotation/
http://graphics.cs.cmu.edu/nsp/course/1 ... nsform.pdf
Cheers
- ebanta11053
- Posts: 28
- Joined: Tue Aug 21, 2012 12:58 pm
g_meister - I'm also interested in using Dynamo or the Revit API for generating a CSV from from Revit. Is there anything you can share with me? I've been working on it for a few days and am stuck at the point of your last post when it comes to rotation. I've looked through the links you attached but was hoping for something more tangible maybe Dynamo for Revit python code.
Thanks,
Ed
Thanks,
Ed
It will be something like....g_meister - I'm also interested in using Dynamo or the Revit API for generating a CSV from from Revit. Is there anything you can share with me? I've been working on it for a few days and am stuck at the point of your last post when it comes to rotation. I've looked through the links you attached but was hoping for something more tangible maybe Dynamo for Revit python code.
[X Scale, 0, 0, X Transform, 0, Y Scale, 0, Y Transform, 0, 0, Z Scale, Z Transform] if there is no rotation.
However if the object is rotated around the Y axis, it will be something like...
[X Scale * cos(y Rot), 0, sin(y Rot), X Transform, 0, Y Scale, 0, Y Transform, -sin(y Rot), 0, Z Scale * cos(y Rot), Z Transform]
In general, X, Y and Z Scale will probably be 1 (for 100%). y Rot is in radians.
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
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
Spreadsheet is here.... viewtopic.php?f=33&t=22508&p=100188&hilit=csv#p100188
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
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
Hi its a little late but if anyone needs it here's the dynamo definition that generates a CSV file based on the location of populated family instances in Revit. Once generated the file can be put into Octane plugin and the famile instances are no longer required in the Revit model.
(can't figure out how to attach the .dyn file so here's a link to download it)
https://www.sendspace.com/file/zow37j
hope this helps
Cheers
(can't figure out how to attach the .dyn file so here's a link to download it)
https://www.sendspace.com/file/zow37j
hope this helps
Cheers
Thanks for sharing this.
Paul
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
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question