SkIndigo 3.8.6.1

Announcements, requests and support regarding SkIndigo - the Sketchup / Indigo exporter.
Post Reply
148 posts
User avatar
OnoSendai
Developer
Posts: 6179
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

SkIndigo 3.8.6.1

Post by OnoSendai » Fri Jul 25, 2014 1:05 am

Hi All,

I'm pleased to announce a major new version of SkIndigo, with some major architectural changes, and large performance increases!

We have spent the last week or so revising the core scene traversal and export code, making the export more modern.
This has allowed some major speed improvements, especially for subsequent exports of a scene.

Some long-standing issues have also been fixed.


Some measurements of export time for a mid-sized scene:
Old SkIndigo version (3.6.28.3):
Initial export time: about 20s
Subsequent export time: about 19s

New SkIndigo version (3.8.6.1):
Initial export time: 22s
Subsequent export time: 1.32 s

Note that the export time for subsequent exports has been reduced from 19 s to 1.32 s, that's a ~14x speedup!


Because so much code has changed, there will inevitably be some new bugs introduced.
Just let us know about them in this thread and we'll fix them ASAP.


Full changelog:

Code: Select all

Version 3.6.28.4

Not exporting textures to texture dir if already present.  Greatly speeds up export on subsequent runs.
If mesh for component or group is already on disk, don't build and export it.  Greatly speeds up export on subsequent runs.
Only exporting materials actually used in the scene.
Disabled quick export for now.
Improved names for objects/instances (as shown in GUI).
Rewrote traversal over scene for instance gathering.
Fixed issue where group mesh would sometimes be incorrect.
Don't store last IGS path if it hasn't change, to avoid showing a 'save changes?' prompt.
Windows installer is now signed. (for standalone installation)
Rewrote mesh processing and export, a lot faster now.  Only one UV set supported currently.
Minimum required Indigo version is 3.8.5.

RBZ: (Works on all platforms)
http://downloads.indigorenderer.com/dis ... .8.6.1.rbz

Windows Installer:
http://downloads.indigorenderer.com/dis ... taller.exe


EDIT: updated in place with hopeful syntax fix, and:
Rewrote mesh processing and export, a lot faster now. Only one UV set supported currently.

User avatar
OnoSendai
Developer
Posts: 6179
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: SkIndigo 3.6.8.1

Post by OnoSendai » Fri Jul 25, 2014 7:12 am

So... anyone tried it?

Voytech
Posts: 236
Joined: Thu Oct 06, 2011 8:57 am

Re: SkIndigo 3.6.8.1

Post by Voytech » Fri Jul 25, 2014 7:52 am

OnoSendai wrote:So... anyone tried it?
I get this on Sketchup startup after installing new Skindigo:

Error Loading File /Users/Voytech/Library/Application Support/SketchUp 2013/SketchUp/Plugins/skindigo/skindigo_core.rb
/Users/Voytech/Library/Application Support/SketchUp 2013/SketchUp/Plugins/skindigo/IndigoExporter.rb:203: parse error, unexpected ')', expecting '='
def write_mat(mat, out, generate_uvs=false, mat_uid)
^
/Users/Voytech/Library/Application Support/SketchUp 2013/SketchUp/Plugins/skindigo/IndigoExporter.rb:2586: parse error, unexpected kEND, expecting $
end #End IndigoExporter class
^
Error Loading File skindigo.rb
/Users/Voytech/Library/Application Support/SketchUp 2013/SketchUp/Plugins/skindigo/IndigoExporter.rb:203: parse error, unexpected ')', expecting '='
def write_mat(mat, out, generate_uvs=false, mat_uid)
^
/Users/Voytech/Library/Application Support/SketchUp 2013/SketchUp/Plugins/skindigo/IndigoExporter.rb:2586: parse error, unexpected kEND, expecting $
end #End IndigoExporter class
^

User avatar
bubs
2nd Place Winner
Posts: 614
Joined: Fri Jul 22, 2011 8:46 pm
Location: UK

Re: SkIndigo 3.6.8.1

Post by bubs » Fri Jul 25, 2014 9:10 am

+1

I'm on SU 8 if that makes any difference...

User avatar
OnoSendai
Developer
Posts: 6179
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: SkIndigo 3.6.8.1

Post by OnoSendai » Fri Jul 25, 2014 9:14 am

bubs wrote:+1

I'm on SU 8 if that makes any difference...
Why such an old version?

User avatar
OnoSendai
Developer
Posts: 6179
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: SkIndigo 3.6.8.1

Post by OnoSendai » Fri Jul 25, 2014 9:32 am

updated in place with hopeful syntax fix, and:
Rewrote mesh processing and export, a lot faster now. Only one UV set supported currently.

User avatar
OnoSendai
Developer
Posts: 6179
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: SkIndigo 3.6.8.1

Post by OnoSendai » Fri Jul 25, 2014 9:50 am

Voytech, bubs: please download and try again. Cheers.

User avatar
bubs
2nd Place Winner
Posts: 614
Joined: Fri Jul 22, 2011 8:46 pm
Location: UK

Re: SkIndigo 3.6.8.1

Post by bubs » Fri Jul 25, 2014 9:31 pm

OnoSendai wrote:
bubs wrote:+1

I'm on SU 8 if that makes any difference...
Why such an old version?
I'm just lazy...

Thanks for the update I'll give it a try now.

User avatar
bubs
2nd Place Winner
Posts: 614
Joined: Fri Jul 22, 2011 8:46 pm
Location: UK

Re: SkIndigo 3.6.8.1

Post by bubs » Fri Jul 25, 2014 10:03 pm

Tried it on just the plain empty scene with susan, and it exported OK but all the diffuse mats seemed to inverted in colour...

I then tried opening an existing scene and got this;

An error occurred while SkIndigo was exporting the scene.
Please copy and paste the following details into an email to support@indigorenderer.com:

SkIndigo version: 3.8.6.1
SketchUp version: 8.0.11752
Ruby platform: i386-mswin32
Error during processing: undefined method `guid' for #<Sketchup::Group:0x2377ac40>
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/IndigoMeshBuilder.rb:160:in `build_mesh_full_or_mats_only'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/IndigoMeshBuilder.rb:201:in `build_meshes'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/IndigoMeshBuilder.rb:198:in `each'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/IndigoMeshBuilder.rb:198:in `build_meshes'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/skindigo_core.rb:217:in `export'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/skindigo_core.rb:2597

User avatar
OnoSendai
Developer
Posts: 6179
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: SkIndigo 3.6.8.1

Post by OnoSendai » Fri Jul 25, 2014 10:28 pm

bubs wrote:Tried it on just the plain empty scene with susan, and it exported OK but all the diffuse mats seemed to inverted in colour...
Hi bubs, this might be a caching issue. Can you please try this:
Open up a command prompt (Start -> type "cmd")
cd into your temp directory, e.g.

cd C:\Users\nick\AppData\Local\Temp

then type

del *.igmesh

And then try re-exporting the scene.

User avatar
bubs
2nd Place Winner
Posts: 614
Joined: Fri Jul 22, 2011 8:46 pm
Location: UK

Re: SkIndigo 3.6.8.1

Post by bubs » Fri Jul 25, 2014 10:38 pm

Yeah that worked for the colours on the default model but I still can't export from existing models...

User avatar
OnoSendai
Developer
Posts: 6179
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: SkIndigo 3.6.8.1

Post by OnoSendai » Fri Jul 25, 2014 10:51 pm

I have updated the builds in-place.
Bubs: please re-download and try again.

User avatar
bubs
2nd Place Winner
Posts: 614
Joined: Fri Jul 22, 2011 8:46 pm
Location: UK

Re: SkIndigo 3.6.8.1

Post by bubs » Fri Jul 25, 2014 11:23 pm

Still no joy I'm afraid:

An error occurred while SkIndigo was exporting the scene.
Please copy and paste the following details into an email to support@indigorenderer.com:

SkIndigo version: 3.8.6.1
SketchUp version: 8.0.11752
Ruby platform: i386-mswin32
Error during processing: comparison of String with 0 failed
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/IndigoExporter.rb:2347:in `>'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/IndigoExporter.rb:2347:in `export_meshes'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/IndigoExporter.rb:2331:in `each'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/IndigoExporter.rb:2331:in `export_meshes'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/skindigo_core.rb:252:in `export'
C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/skindigo/skindigo_core.rb:2492

User avatar
OnoSendai
Developer
Posts: 6179
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: SkIndigo 3.6.8.1

Post by OnoSendai » Fri Jul 25, 2014 11:40 pm

Hi bubs, can you send me the scene you're testing with?

User avatar
OnoSendai
Developer
Posts: 6179
Joined: Sat May 20, 2006 6:16 pm
Location: Newcastle upon Tyne, UK
Contact:

Re: SkIndigo 3.6.8.1

Post by OnoSendai » Fri Jul 25, 2014 11:44 pm

Have updated builds with some fixes.

Post Reply
148 posts

Who is online

Users browsing this forum: No registered users and 1 guest