Mac Plugins in home folder
-
Just saw this code at the end of the
examplescripts.rb
file in the Examples folder in Plugins. It means SketchUp looks for ruby files in the user's home folder, but only if the Example Scripts extension has been enabled. Of all the places to include this... "hidden" at the end of a seemingly unrelated extension. Wasn't there a discussion related to this, possibly with Podium or one of Whaat's tools?if( ENV["HOME"] ) homedir = File.expand_path("~") $;.push homedir end
-
There was definitely a problem with rb scripts and home folders with Podium on OSX. I think where the developers were going 'wrong', and if they were missing this extension, was that the whole point of placing a plugin in the home folder was that other users on the same Mac (if there were to be any), couldn't use the licence that was purchased by that user. I can see the point of that, because the makers of Podium need to make a profit in order to innovate- fair play.
But if this is the case, well spotted! All us Mac users will be a lot happier if it turns out that you've found the holy grail!
-
The holy grail would be if people just followed the instructions of the API docs...
Advertisement