Problem with Sandbox tools (From Contours)
-
I am using Sketchup 8 and I have been trying to use From Contours- tool that is included in Sandbox tool. Anyway, nothing happens when I choose contours and hit the From Contours button. I don't even see progress-bar. I have been testing this with really simple geometry but there is still the same problem. Other Sand box tool run just fine.
Has anybody else had this same problem or do you know if there any plugins that would cause problems to run Sandbox tools?
-
Post an example file that fails
-
I just included an example file in the first post, which doesn't work. It can't be because of the file because the example file is just simple circles.
I noticed that I have Sketchup 6 in my computer and tested the same file and it works just fine.
-
Skins instantly for me.
Looks like you need to isolate your plugins and do some testing in batches
-
Yup, works fine for me as well. If you do find a plugin that is causing a problem, please post the name of it here. We keep a list of plugins that cause problems, and we love adding to it!
-
Some plugins indeed break even native SU tools (especially considering that Sandbox tools are actually a set of plugins themselves, too).
I have "something" (not identified it yet) which breaks my Dynamic Components. When I want to scale something that is supposed to adjust itself dynamically (like a picture frame of the picket fence from the DC samples), they just scale like regular components. So I also owe myself a complete clean-up and discovering what the culprit is.
Considering that my PC is dying and fro SU to launch, needs like 5-10 minutes, this won't happen any time soon I am afraid.
-
Based on my testing, the plugin that causes the problem with Sandbox tools is OSM.rb (Open Street Map).
http://wiki.openstreetmap.org/wiki/Google_Sketchup_Plugin
Could somebody test/verify this?
-
I've never heard of it till today !
I don't think it's ever been mentioned at SCF before...You can catch diseases from wandering around the back streets at night...
Having briefly look through it many and convoluted scripts...
It does not inconsiderable messing around with existing base classes/methods like Kernel and Object.
Which is pretty much guaranteed to break something somewhere...
Also I think Sandbox probably uses 'Set' and this rogue tool changes how
thait works, for its own selfish ends, with no thought for how it then messes up others legit tools
It also seems to ship some files/subfolders otherwise available in a full Ruby install, again a no no...
It also makes several modules/classes with short common names, that could be clashing with other things too.If you really really must use this rogue plugin, then you must expect it to break other things on a regular basis
-
If you open the Ruby Console before trying to create the contours - do you get any error messages?
-
Well, I see in the source several problems:
-
Most likely suspect: Set.rb - it includes the Set class from the Ruby Standard Library which is incompatible with SketchUp's own Set class.
-
There are modifications made to the core Kernel class, Object and Module. (And Fixnum and String) That's not including what REXML might do - it's quite a large library, and terrible slow! I think the Set.rb file is added for the sake of ReXML.
I'd suggest you contact the author and point out the incompatibilities the plugin causes. Post back link to this thread so the author can see the full story.
To the author or this plugin, should you read this - please have a look at this article I wrote about developing plugins for SketchUp: http://www.thomthom.net/thoughts/2012/01/golden-rules-of-sketchup-plugin-development/
-
Advertisement