SkIndigo 0.7.1 Pre-release beta
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
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
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 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
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
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
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
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
@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....
Let me know if this is an improvement.
Whaaat
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....

Whaaat
- kwistenbiebel
- Posts: 496
- Joined: Sat Jan 27, 2007 12:31 am
Who is online
Users browsing this forum: No registered users and 2 guests