Location of SketchUp 2015 Plugins Folder on Mac
-
I am trying to install the Flattery papercrafting plugin on SketchUp 2015 and have looked all over to no avail for a SketchUp plugins folder on my Yosemite-running Mac. I do not even see a SketchUp folder in Appication Support. Flattery is not available in the Extension Warehouse and it apparently cannot be installed through Preferences either. This extension is extremely useful for the work I do and I would greatly appreciate any help installing it.
Thank you,
Kip -
an updated version is available from the Plugin Store, for auto instal...
http://sketchucation.com/click.php?url=http://sketchucation.com/pluginstore?pln=Flattery
Plugins folder is in your User/Library... path not HD path...
john
-
As @driven has said...
Firstly, you don't want to install the version of "Flattery" from its web-site - it is incompatible with >=v2014 [it seems to be no longer supported on its home-page].
If you did manage to install it, then it will break SketchUp !Seondly, there is a newer version in the SCF PluginStore that is compatible with ALL versions of SketchUp...
http://sketchucation.com/pluginstore?pln=FlatteryDownload that RBZ.
Then use that file with theSketchUp > Preferences > Extensions > Install Extension...
button.
The Plugins folder will be automatically found for you and the RBZ's files etc extracted, installed and loaded, without further action from you...The SketchUcation PluginStore Toolset dialog let you Auto-install Plugins from within SketchUp itself - without recourse to actually downloading the RBZ yourself.
http://sketchucation.com/resources/plugin-store-downloadAlmost all Plugins now come in this RBZ format for auto-installation [available since v8M2 !] - and the SCF toolset let's you update/bundle sets, and also enable/load/disable/uninstall Plugins in 'Manager' dialogs too - so you rarely need to access your Plugins folder directly.
BUT if you really must find/open your Plugins folder, use this snippet in the Ruby Console + <enter>
UI.openURL("file:///#{Sketchup.find_support_file('Plugins')}")
-
Thank you so much, I really appreciate your prompt, thorough answer which has allowed me to use this extension again.
-- Kip
-
HOWEVER much this has helped the original poster with their specific problem, it does not yet answer the question stated in the topic title.
I'm here because I'm trying to find where the Ruby Console will load a file from. I thought it would have the same answer, but maybe not in SU2015.
-
August, John gave the important first part. It is User/Library/Application Support/SketchUp 2015/SketchUp/Plugins
-
To find all of the possible paths look at
$:
in the Ruby Console.
The SketchUp reserved../Tools
and general/default../User/../Plugins
folder .rb/.rbs files are 'auto-loaded' at startup.
Those two folders AND the two../Tools/RubyStdLib
folders listed are also available in any 'require' calls made within other scripts etc.
You can also is install Scripts which then give you additional folder-paths specified in the$:
, and also auto-loaded contents etc - e.g. Fredo's AdditionalPluginsFolder tool, which runs at startup and adds previously entered/recorded paths into the$:
, and in this case it also loads the .rb/.rbs contents of those folders... -
Sorry for the confusion.
The two 'RubyStdLib
' folders are in../Tools
on PC only - this is where SketchUp installs its own Ruby stuff, on PCs.
On MACs these folders have different paths/names, and a different head-counts for the various 'Ruby
' folders that are needed... -
Thanks TIG. I'll edit my post to emphasize that that my $: list is from a Mac.
-
Thanks Dave. I went through this thread multiple times and each time I obviously overlooked "Plugins folder is in your User/Library... path not HD path...". I guess I was expecting to see something with more than two parts.
TIG, thanks for the tip about the $: variable. I had not seen that before. However, I'm confused by your reference to "the two ../Tools/RubyStdLib folders" because I don't seem to have them.
I have a pretty much "out of the box" SU 2015 MAC installation and my $: contains:
["/Applications/SketchUp 2015/SketchUp.app/Contents/Frameworks/Ruby.framework/Versions/2.0/lib/ruby/site_ruby/2.0.0",
"/Applications/SketchUp 2015/SketchUp.app/Contents/Frameworks/Ruby.framework/Versions/2.0/lib/ruby/site_ruby/2.0.0/x86_64-darwin12.5.0",
"/Applications/SketchUp 2015/SketchUp.app/Contents/Frameworks/Ruby.framework/Versions/2.0/lib/ruby/site_ruby",
"/Applications/SketchUp 2015/SketchUp.app/Contents/Frameworks/Ruby.framework/Versions/2.0/lib/ruby/vendor_ruby/2.0.0",
"/Applications/SketchUp 2015/SketchUp.app/Contents/Frameworks/Ruby.framework/Versions/2.0/lib/ruby/vendor_ruby/2.0.0/x86_64-darwin12.5.0",
"/Applications/SketchUp 2015/SketchUp.app/Contents/Frameworks/Ruby.framework/Versions/2.0/lib/ruby/vendor_ruby",
"/Applications/SketchUp 2015/SketchUp.app/Contents/Frameworks/Ruby.framework/Versions/2.0/lib/ruby/2.0.0",
"/Applications/SketchUp 2015/SketchUp.app/Contents/Frameworks/Ruby.framework/Versions/2.0/lib/ruby/2.0.0/x86_64-darwin12.5.0",
"/Applications/SketchUp 2015/SketchUp.app/Contents/Resources/Content/Tools",
"/Users/amohr/Library/Application Support/SketchUp 2015/SketchUp/Plugins"]Is that Tools/RubyStdLib folder where you install Ruby extension modules rather than SU extensions?
Thanks again,
August -
The various site_ruby and vendor_ruby folders in your $: are where ruby add-on ruby code would be placed in a standard system Ruby on MacOS. The variations and subfolders reflect whether the code is version or hardware specific. On SketchUp, these are inside the Ruby Framework embedded inside SketchUp's app bundle. Although possible, adding things inside the bundle is usually discouraged simply because the content there "belongs" to the SketchUp app. For example, it may be overwritten if you install a maintenance update.
A safer route is to create a subfolder within your personal Plugins folder, put ad-hoc Ruby add-ons there, and either load them using an explicit path or modify $: to find them.
Most of the time these days, you should install a Gem not just Ruby code. You can do this from within SketchUp by Gem::install "name of gem" at the Ruby Console. Pure Ruby gems are supported in SketchUp 2014 and 2015, but SketchUp is not set up to support compiling Gems from C code. People have had varying experiences with compiling Gems outside SketchUp and then copying files into SU. Some successes, a lot of failures...
-
@unknownuser said:
... or modify $: to find them.
This is starting to get a bit off topic from the title, but...
HOW do you modify $:? Where is it defined? Is it a shell variable or a Ruby variable?
Thanks.
-
It is a Ruby global variable that is initialized by the Ruby kernel. You can read it or assign to it from any Ruby code.
-
The 'load-path' is set up as SketchUp's Ruby starts - it's a basic building-block of Ruby.
It has the various default folder-paths defined in it.
Note that SketchUp ALWAYS uses the default 'user' Plugins folder for its auto-installs from RBZ files...
SketchUcation's Archive Installer allows you to choose another folder from the $: IF it's been set up - it also installs RBZ and ZIP archives...The $: is an array.
It is a system global so can be accessed in any script's code or the Ruby Console...
You can add new folder-paths into the array$: << my_new_folder_path
...
You can also remove paths ($:.delete(my_old_folder_path)
) - but removing any of the built-in default folder-paths will break things - so don't do it !
A added folder-path will be searched for an 'require' commands that are not found in the default set...
However, that folder's rb/rbs files will not be auto-loaded as SketchUp starts, unless you have a script loading from the default Plugins folder that perhaps adds another folder to the $: and then loads all rb/rbs files it finds in there - like Freod's AdditionalPluginsFolder tool... -
I've got a problem that I cannot uninstall:
Advanced Camera Tools
Dynamic Components
Photo Textures
Sandbox Tools
Trimble ConnectEach time I restart SUP2017 I get a message that 4 extensions need updating. When I try to update the extensions that it lists as needing attention, I get the message [failed to update advanced camera tools. Unable to read extension archive]
I may have caused the problem as I removed the files from the Plugin folder on Mac. However, even placing them back, restarting the Mac etc. still get the same thing happening.
-
For an immediate fix, go to the Extension Warehouse in your Internet browser and download them to your computer. Then, in SketchUp go to the Window menu and select Extension Manager. click on Install Extension and find the first of those downloaded file. Click Open and OK or Yes. Repeat for each of the others. That'll get rid of the message about needing updates.
Don't remove those files from the Plugins folder. These are files that come with SketchUp. It looks for them in the Plugins folder. If it doesn't find them, it reinstalls them. Since the ones that came with SU2017 are outdated, removing the updated ones from the Plugins folder will result in the outdated ones being installed. If you don't use the features they access, it's no big deal. They don't hurt anything so just leave them there.
If you really don't want them to load, find them in the Extension Manager and disable them.
As for the error message you were getting, try opening Extension Warehouse from the Window menu. Sign out. Quit SketchUp and reopen it. Sign in again. That has helped many users get beyond that problem.
-
Those are all standard extensions that come with the software, cannot be uninstalled as it is automatically reinstalled at the next startup. Just go to View > Toolbars (on a PC) and disable the toolbars associated with those, at least you won't have to stare at their toolbars if you don't use them.
-
Thanks, I don't know why I was getting an error with them then. However, I found my 2018 license details in my junk mail, so in switching to 2018, it's all fine again.
Advertisement