User avatar
By gtalarico
#359712
Bug #1

I have never seen this error before.

It happens only on one specific model I have.
I cannot alter the file output name or location because they are missing from the scene manager.

I am 99% sure if I copy and paste geometry into a new file it will go away, but then I will have to re adjust all scene/camera/environment/output settings.

I am using 2.7.0

http://i.imgur.com/yu3hw.png
By JDHill
#359713
First, let's try to see what values are screwing up JavaScript. Close the Scene Manager, open the Ruby Console, and enter the following commands (hitting Enter after entering a line executes that line):
Code: Select all
MX::Util.get_output_property('output.scene_name')
MX::Util.get_output_property('output.scene_dir')
MX::Util.get_output_property('output.mode')
After each one, something might be printed in the console -- just copy/paste the contents of the console here so I can see. Then, enter these three commands:
Code: Select all
MX::Util.set_output_property('output.scene_dir', nil)
MX::Util.set_output_property('output.scene_name', nil)
MX::Util.set_output_property('output.mode', nil)
Then open the Scene Manager again -- the values should be zeroed-out now.
User avatar
By gtalarico
#359731
Outputs:
Code: Select all
#<Sketchup::Model:0x9b108b0>
MX::Util.get_output_property('output.scene_name')
GlassTest2
Code: Select all
MX::Util.get_output_property('output.scene_dir')
P:/**private***/2012-07_Guis Studies/Rendering Tests
Code: Select all
MX::Util.get_output_property('output.mode')
prompt




I then cleared the parameters, but still got a similar error when opening the scene manager, but this time "Char = 4620", instead of the 4795.

Output fields are still missing from the scene manager

Edit:
Crap - I also just realized that pasting it into a new file would be difficult because of all the scenes/cameras I have saved and cannot change. Is there a way to import/export cameras? Or, is there a master Maxwell parameters reset for the manager (Reset to factory)?

Edit2: I tried pasting all the geometry into new file, and as soon as the geometry was inserted, the same error poped up. So the bug is being carried with the geometry somehow.... : /
By JDHill
#359732
I can't guess what's happening -- I will need you to send me (jeremy at nextlimit dotcom) the scene. It will probably be easy to fix.
User avatar
By gtalarico
#359733
I was in the process of uploading a scene for you..

This may help:
I deleted 90% of the model.
The bug is there when I open the scene manager ("Output Section is missing")

But then if purge unused components and materials, the bug disappears!

Here is .zip with 2 copies of the file, purge and not purged.

https://www.dropbox.com/s/neztgyxasjtpb ... gerBug.zip
By JDHill
#359734
Thanks, I'll take a look and figure out what's the problem. It must be in the materials, because the Scene Manager does not care about components.
By JDHill
#359737
Somehow, the name of your first material, which looks like _ActualGlass, is led by a unit separator character. This is an unprintable character that you can type by holding ALT+031. You just need to remove that character (change the name in SketchUp's Materials window), and everything should be okay. I'll see about being defensive against this sort of thing in the future.
Sketchup 2025 Released

Thank you Fernando!!!!!!!!!!!!!!!!!!!!!!!!!!! hwol[…]

I've noticed that "export all" creates l[…]

hmmm can you elaborate a bit about the the use of […]

render engines and Maxwell

Funny, I think, that when I check CG sites they ar[…]