Modify IGS File-Name / Start "SKIndigo" with ruby script?

Announcements, requests and support regarding SkIndigo - the Sketchup / Indigo exporter.
Post Reply
2 posts • Page 1 of 1
Automation
Posts: 9
Joined: Tue Feb 19, 2013 4:37 am

Modify IGS File-Name / Start "SKIndigo" with ruby script?

Post by Automation » Thu Feb 21, 2013 8:51 am

Hello *,

I hope you can help me. I have the following requirement:

I want to automate my SKindigo rendering activities:
- The output file name for each Image in the Indigo Queue File (IGQ) should contain the scene name
- In another topic in this forum (http://www.indigorenderer.com/forum/vie ... =5&t=12202) I learned, how the output filename has to be stored in the IGQ file.

Following an example what I want to do:.

My sketchup file has the name "test.skp"
The existing Sketchup scenes are "scene1", "scene2", "scene3"

If I start the Indigo "Scene Tab Animation" and use a "Frame Rate" 1, an "test.igq" xml file is created, which contains 3 entries, because 3 igs files are created:
...
<scene_path>C:\dir/test/test-0000.igs</scene_path>
...
<scene_path>C:\dir/test/test-0001.igs</scene_path>
...
<scene_path>C:\dir/test/test-0002.igs</scene_path>
...

But I would need the following file-names for the igs files:

...
<scene_path>C:\dir/test/test-scene1.igs</scene_path>
...
<scene_path>C:\dir/test/test-scene2.igs</scene_path>
...
<scene_path>C:\dir/test/test-scene3.igs</scene_path>
...

What do I have to do, to reach this goal with the skindigo exporter?

And a further question:
Is there a possibility to start the Indigo "Scene Tab Animation" with a ruby script?
If yes, can you provide sample code?

Best Regards

Automation

User avatar
Zom-B
1st Place 100
Posts: 4701
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: Modify IGS File-Name / Start "SKIndigo" with ruby script

Post by Zom-B » Thu Feb 21, 2013 9:13 am

polygonmanufaktur.de

Post Reply
2 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 12 guests