SkIndigo 0.7.1 Pre-release beta

Announcements, requests and support regarding SkIndigo - the Sketchup / Indigo exporter.
peer
Posts: 45
Joined: Wed Jul 26, 2006 8:43 am
Location: Rotterdam, The Netherlands

Post by peer » Tue May 08, 2007 1:22 am

I'm getting the following error when starting Sketchup 6 Pro.

Error Loading File SkIndigo_07.rb
undefined method `active_view' for nil:NilClass

I'm on OS X, but ruby should be uniform or not?. Sketchup runs fine but when I want to export to Indigo nothing happens.

Thanks for the exporter, can't wait to try the fog!

Regards,

Peter
Mac Pro 3GHz quadcore, iMac dualcore 2 GHz, Vectorworks 2008, Sketchup 7 Pro, Indigo Renderer, Cheetah3d 4.6.3, OS X 10.5.6

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Post by Whaat » Tue May 08, 2007 2:33 am

peer wrote:I'm getting the following error when starting Sketchup 6 Pro.

Error Loading File SkIndigo_07.rb
undefined method `active_view' for nil:NilClass
That's strange. Can you post more of the error message? There should be a line number after the message. I want to know what line is causing the bug.

peer
Posts: 45
Joined: Wed Jul 26, 2006 8:43 am
Location: Rotterdam, The Netherlands

Post by peer » Tue May 08, 2007 7:47 am

Ok, I've downloaded your exporter (the new one). I'm getting this errormessage:

Error Loading File SkIndigo_07.rb
/Users/peter/Library/Application Support/Google SketchUp 6/SketchUp/Plugins/SkIndigo_07.rb:2501: parse error, unexpected ',', expecting kEND
Sketchup::set_status_text ("Enter 0 for Autofocus"), SB_VCB_LABEL
^
When I delete the SB_VCB_LABEL parts, I'm getting the error from my previous post, it doesn't give a line number.
I hope there's a fix for this, thanks in advance for helping!

PS. when I want to export the ruby console gives me this:

Error: #<NoMethodError: undefined method `get_indigo_path' for SU2IN:Class>
/Users/peter/Library/Application Support/Google SketchUp 6/SketchUp/Plugins/SkIndigo_07.rb:227:in `export'
/Users/peter/Library/Application Support/Google SketchUp 6/SketchUp/Plugins/SkIndigo_07.rb:2683

Regards,

Peter
Mac Pro 3GHz quadcore, iMac dualcore 2 GHz, Vectorworks 2008, Sketchup 7 Pro, Indigo Renderer, Cheetah3d 4.6.3, OS X 10.5.6

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Post by Whaat » Tue May 08, 2007 6:03 pm

Just updated the script for my good buddy peer.. :) and any other Mac users out there (Are there any others????) Hopefully the new update fixes all your loading errors. Apparently there are some differences in the way Macs load Ruby scripts.
Whaat

peer
Posts: 45
Joined: Wed Jul 26, 2006 8:43 am
Location: Rotterdam, The Netherlands

Post by peer » Tue May 08, 2007 7:06 pm

Thanks Whaat, it is working now!!! I only have to change some stuff to export textures correct. On windows you are using "\\" to use that folder (I hope I explained it good). I change these to a single "/" so that it works on the Mac.

I'm trying out the fog right now!

Regards,

Peter
Mac Pro 3GHz quadcore, iMac dualcore 2 GHz, Vectorworks 2008, Sketchup 7 Pro, Indigo Renderer, Cheetah3d 4.6.3, OS X 10.5.6

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Post by Whaat » Fri May 11, 2007 8:45 am

@Kwistenbeibel:

I have updated the script to hopefully solve your problem of SkIndigo messing up your other rendering programs. I haven't really tested it though. I think the problem was that SkIndigo would set the camera image width (film width) to 35mm permanently. This changes the way Sketchup calculates the focal length of the camera. Therefore, the focal length is exported incorrectly to the other programs like Kerkythea, Podium, etc.

If you type '0' for your SkIndigo image width, you now have the option to reset your camera settings to Sketchup defaults (film width=0, aspect ratio=0.0) or set the rendered image to the viewport dimensions (sets the aspect ratio to viewport dimensions, has no effect on film width). The film width is now set to 35mm temporarily at the time of export and then set back to whatever it was previously.

Important: If you have been using SkIndigo and have created 'scenes' or 'pages', chances are the film width is set to 35mm. This will probably mess up other rendering software so you have to first reset back to Sketchup defaults by typing an image width of '0' and then UPDATE your 'scene' or 'page'. Otherwise the film width will revert back to 35mm when you click on the scene tab (thus, screwing up the focal length)

Sorry for the long and complex explanation but I am pretty sure biebel knows what I am talking about.... :wink: Let me know if this is an improvement.

Whaaat

User avatar
kwistenbiebel
Posts: 496
Joined: Sat Jan 27, 2007 12:31 am

Post by kwistenbiebel » Fri May 11, 2007 11:45 am

Hi Whaat,

Thanks a lot for changing this. :idea: I'll be sure to try it out this weekend.
I will let you know how that works out.

You are getting really good on those scripting skills.
Very admirable and also great support.


Thanks again ,

kwistenbiebel

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Post by Whaat » Fri May 11, 2007 5:51 pm

Thankyou for the nice words :D I hope you hadn't downloaded the updated script yet because there was a typo that causes a crash during export. It should be fixed now though.

Whaat

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Post by Whaat » Mon May 14, 2007 5:44 pm

Official version is out....

Post Reply
24 posts

Who is online

Users browsing this forum: No registered users and 8 guests