[Plugin] VisMap - Layer/Scene Visibility Map
-
@edson said:
all i got is what you can see below.
Odd. That error comes when the code says "if foo < bar" but "foo" is nil (doesn't exist). Then it's a traceback showing that the error is in "ldd_remake_labels" which was called by "addObservers" which was called by ... Those numbers are line numbers where the functions are found in the source file.
All of which is to say that you somehow ran some Ruby entirely other than the wee bit in my post.
Did I say SketchUp would crash? Didn't mean it. The little report-writing Ruby would crash as per your example, but with a line number in the 0 to 20 area.
Could you try it again, using some other directory and/or name? Thanks again.
Edit: Another possibility. My line "require 'sketchup'" loads the "sketchup.rb" library. That crash could be coming from deep in that library. Make sure you have a model loaded that VisMaps successfully before you try again.
-
Martin,
the 'true' means your script loaded successfully, twice, but... where did the output go?
ldd_ is LEDAS Driving Dimensions plugin. I'll pm Dmitry and see if he can take a look here and see what is happening.
-
Edson,
Thank you for reporting this problem. Could you please say what else plugins do you use in SketchUp and how often this problem happens?
-
@dmitry ushakov said:
Edson,
Thank you for reporting this problem. Could you please say what else plugins do you use in SketchUp and how often this problem happens?
dmitry,
i use a huge number of plugins. if you want i can make screen shots of my folder. this problem never ocurred before. it only came up when i ran the file martin asked me to. -
@dmitry ushakov said:
Thank you for reporting this problem.
Dmitry,
Edson is unable to run my VisMap Ruby on some large models. I wrote a 20-line reporter that, I hoped, would help find the problem. Edson copied my little bit of code into "t.rb" on his machine and loaded it in the Ruby Console.
At least that was the plan. That's what Edson's screenshot shows. Somehow, your LEDAS Driving Dimensions plugin was triggered, instead of the little reporter. Any idea how LDD could have been triggered?
Martin
-
Edson, Martin,
Thank you for these explanation. The reason of the bug seems to be clear - our plugin tries to update a model, but fails since the model contains some corrupted piece of data (not surprising, since Edson uses "a huge number of plugins"). We are going to fix this behavior in the forthcoming version of our LDD plugin by checking the correctness of our data before updating a model.
However, I have to ask another question: when exactly the problem happens? When you open a model or when you load 't.rb' in the Ruby console?
-
@dmitry ushakov said:
However, I have to ask another question: when exactly the problem happens? When you open a model or when you load 't.rb' in the Ruby console?
only when I load 't.rb' in the Ruby console.
-
Edson, please try the newest version (1.2) of our Driving Dimensions plugin.
Your problem should be fixed, since we have resolved several compatibility issues.
You can download it here. -
-
just tried to run vismap after having updated the driving dimensions plugin. there was an error but it does not seem to be related to DD.
-
@edson said:
just tried to run vismap after having updated the driving dimensions plugin. there was an error but it does not seem to be related to DD.
That is VisMap doing exactly what it is supposed to do: reporting that your model has an error. It is trying to loop through something (the "each" method) that doesn't exist.
Can you send me the model? (Too big? Break into pieces. Send pieces. I'll rebuild.)
Thanks!
-
martin,
i have sent you a model via yousendit. however, it is hard to believe all my models have problems. i tried vismap on more than 10 with the same result. i am inclined to think vismap has difficulties to handle large models.regards,
-
@edson said:
martin,
i have sent you a model via yousendit.Don't know that service. Do I have to contact someone?
@edson said:
it is hard to believe all my models have problems.
Your workflow: do you start every model fresh, or do you grab pieces of existing models to create new?
Either way, with a problem model in hand, it shouldn't take long to fix the model or VisMap. Look forward to it.
-
@martinrinehart said:
@edson said:
martin,
i have sent you a model via yousendit.Don't know that service. Do I have to contact someone?
Your workflow: do you start every model fresh, or do you grab pieces of existing models to create new?
martin,
you do not have to do anything. you will receive an email with a link to download the file.
i start my models from zero but along the way i may import pieces from others.
-
@edson said:
you do not have to do anything. you will receive an email with a link to download the file.
Nothing yet, Edson. Gmail allows messages (including attachments) up to 25MB. Zip with maximum compression reduced a model I tested by 60%. Can you Zip a model and email it to me? MartinRinehart at gmail dot com.
-
@martinrinehart said:
Nothing yet, Edson. Gmail allows messages (including attachments) up to 25MB. Zip with maximum compression reduced a model I tested by 60%. Can you Zip a model and email it to me? MartinRinehart at gmail dot com.
very strange, martin. i sent you the skippie on november 26th. could you check the image below to make sure i addressed it correctly? anyway, i am uploading the file to 4shared and will send you the link shortly.
-
In gmail, that email probably went to your spam folder.
-
@edson said:
very strange, martin. i sent you the skippie on november 26th. could you check the image below to make sure i addressed it correctly? anyway, i am uploading the file to 4shared and will send you the link shortly.
Rinehart
Advertisement