Where did my plugin end up?
-
I installed a plugin called offest.rb. Or I think I did. I placed the file in the tool folder in sketchup with the rest of my plugins that are either .rb or .rbz.
But I can´t seem to find the offset plugin when opening Sketchup.
-
You shouldn't be putting .rb files in the Tools folder. You should be putting them in the User Plugin folder. It'll be under something like Users/LARV/AppData/Roaming... It would be better to use something like 7-zip to create a zip file containing Offset.rb and change zip to rbz and then use Install Extension to install it. Then you won't need to go to the Plugins folder at all.
Remove it from Tools, though.
Edit: I went to Smustard to have a look at the description. Offset.rb is not set up to be a stand alone plugin. It is a snippet to be included in other plugins. Even if you install the file correctly, it needs some additional code to be used.
-
OK! I´ll do that! Thanks
But I have several .rb files in the tools folder that work as far as I can see
-
See my edit, above.
As I said, you shouldn't be putting .rb files into the Tools folder. the folder may contain some natively but you should be using the Plugins folder under your user name.
-
Only the following three 'system' RB files should be in 'Tools':
sketchup.rb extensions.rb langhandler.rb
Leave those three alone!
Copies of those three files should NOT be in the Plugins folder [OR anywhere else] !In SketchUp >=v2014 there is also a subfolder inside 'Tools' named '
RubyStdLib
' containing SketchUp's Ruby stuff - leave that alone too!All other RB/RBS files and related subfolders inside 'Tools' [which were erroneously installed by you] should be moved into your ../Users/../Plugins folder.
To find that exact folder path use this in the Ruby Console +<enter>:
Sketchup.find_support_file('Plugins')
All RB/RBS files within Plugins [and Tools] are auto-loaded as SketchUp starts.
You also say you have put RBZ files into Tools.
Move those too, to avoid a cluttered mess put them somewhere else - like your Downloads or Desktop folder - once their contents have been installed the RBZs are no longer needed.
The Preferences > Extensions > Install... button, or the equivalent SketchUcation > Archive Installer... submenu item, or the SketchUcation PluginStore's dialog AutoInstall red-button, all extract the contents of the selected RBZ and put its file[s] and subfolder[s] as appropriate, into the Users Plugins folder without further User intervention or decision-making... -
Thanks! Starting to understand how this works now.
Advertisement