(c) 2011 TIG
All Rights Reserved.
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING,WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Plugins folder > OctaneOCMbatchExporter.rb
Usage:
Menu File > Octane OCM Batch Export... > Cameras
or Ruby Console type: OctaneOCMbatch::Camera.export
Only Scenes 'included' in the Animation in the 'Scene Manager' are exported.
To allow logical use of the scenes later keep names sequential - Scene001,
Scene002 etc - never duplicate Scene names.
Available SKP Scenes are exported in turn into an OCM file, suitable to
import into an Octane OCS later.
Each OCM file is saved with the model inside a folder named after the model
thus - e.g. "../ModelName_BatchCameraOCMs/"
Each OCM file is named thus "../ModelName[Camera_SceneName].ocm".
Spaces and Non-ASCII characters are made into '_' in Model/Scene names.
It includes:-
eye [pos] [as xyz]
target [as xyz]
up [as xyz]
fov [degrees]
Menu File > Octane OCM Batch Export... > Suns
or Ruby Console type: OctaneOCMbatch::Sun.export
Only Scenes 'included' in the Animation in the 'Scene Manager' are exported.
To allow logical use of the scenes later keep names sequential - Scene001,
Scene002 etc - never duplicate Scene names.
Available SKP Scenes are exported in turn into an OCM file, suitable to
import into an Octane OCS later.
Each OCM file is saved with the model inside a folder named after the model
thus - e.g. "../ModelName_BatchSunOCMs/"
Each OCM file is named thus "../ModelName[Sun_SceneName].ocm".
Spaces and Non-ASCII characters are made into '_' in Model/Scene names.
It includes:-
sundir [vector]
longitude [degrees]
latitude [degrees]
day [1-31]
month [1-12]
hour [0-24.000]
gmtoffset [0-24]
northoffset [0-1.0, i.e. North-angle as proportion of 360]
Donations:
by PayPal to info @ revitrev.org
Version:
1.0 20111011 First issue.
Batch Cameras / Suns OCM Exporter v1.0
- Interfaces
- Posts: 213
- Joined: Mon Jun 27, 2011 9:41 am
- Location: FRANCE
THANKS, THANKS!!!!! IT 's very good.
Too bad in octane, we can not import multiple file "ocm" both!!!!
Too bad in octane, we can not import multiple file "ocm" both!!!!
- Interfaces
- Posts: 213
- Joined: Mon Jun 27, 2011 9:41 am
- Location: FRANCE
The ideal will be to integrate into the Octane exporter version 1024.06 for example with the possibility to import a view or sunlight or all of the views or suns in octane, it would avoid to import one file at a time OCM.
- Interfaces
- Posts: 213
- Joined: Mon Jun 27, 2011 9:41 am
- Location: FRANCE
OK-TIG AND THANKS VERY MUCH !!!!
Thank you for the grreat plugins! They make life easier.
And TIG , Can you improve the plugins to support asian language path on windows
'cause I have to rename the file to english and put them to non-asian language folder.
Best wishs!
And TIG , Can you improve the plugins to support asian language path on windows
'cause I have to rename the file to english and put them to non-asian language folder.
Best wishs!
Unfortunately the version of Ruby that Sketchup uses is prone to failure with non-ASCII characters in file-names and paths.
It's not just Asian characters but even accented letters as in French words etc.
I'm part of a group looking at ways to fix this, but by the time we cludge around the issue Sketchup will probably be updated to a less problematical with UFT8 stuff...
It's not just Asian characters but even accented letters as in French words etc.
I'm part of a group looking at ways to fix this, but by the time we cludge around the issue Sketchup will probably be updated to a less problematical with UFT8 stuff...
Last edited by TIG on Sat Mar 17, 2012 10:07 am, edited 1 time in total.
TIG
Thank you TIG for so quick reply! I got it!!TIG wrote:Unfortunately the version of Ruby that Sketchup uses is prone to failure with non-ASCII characters in file-names and paths.
It's not just Asian characters but even accented letters as in French words etc.
I part of a group looking at ways to fix this, but by the time we cludge around the issue Sketchup will probably be updated to a less problematical with UFT8 stuff...
