[Plugin] Custom Toolbars Plugin
-
And where is the key "Make component"?
-
Not all SketchUp commands are available from the Ruby API. If the API does not support a command, as it does not with Make Component, then the command will need to be recreated from the beginning. It is possible to recreate the Make Component command in Ruby. I will work on it this coming week, unless someone has already written such and and would be kind enough to share it.
-
I'm a bit confused Jim, Make component is available in your toolset.
Perhaps the question is what Key stroke is Make Component, the default for that is g. -
@box said:
I'm a bit confused Jim, Make component is available in your toolset.
Perhaps the question is what Key stroke is Make Component, the default for that is g.Heh, so it is. it's called "makeComponent" of all things.
Unfortunately, it uses a send_action which does not appear to work in SketchUp 2014.
-
Works perfectly in my version of 2014.
-
Ah, it opens the dialog when loose geometry is selected. I had selected a Group. Thanks.
-
Tried both 'standard' plugin location and additional location.
-
Hello Bob,
- You need to install TIG's Purge All plugin.
- I thought I trapped that error.
Will look into it. Thanks for taking time to report.
-
Bob, I posted a new version this morning in the Plugin Store, but didn't have time to mention it. Did you find and try the update?
You still need to install TIG's purge_all plugin for the custum button to work.
-
The "viewRedo" message for Sketchup.send_action, seems unimplemented in API and not present in standard Camera toolbar, but is available in Camera drop-down menu. May be just an omision from Trimble, or it was intended to not be available? Any reasons for that?
I remember a time when it was, and I had it on my Custom Toolbar. -
Yes it was removed in SU2013 or SU2014 (can't remember which.)
SketchUp used to remember a whole bunch of camera views, and the "viewUndo:" button would go backwards in the stack. The "viewRedo:" button would go forward in the stack.
Now only the current and previous views are saved. The "viewUndo:" ("View Previous") button just switches between them.
I don't remember why they said the memory stack was removed. We didn't like the change at the time. Could be that in practice not many used the feature, ie only went one view back, etc. Or they were just simplifying the codebase.
Hmmm.. thinking more,... I think the change had to do with avoiding
ViewObserver
crashes or complexities. -
I see, thanks for clearing it out. For me was a very good asset. It didn't remembered too many views. I think it was about 5. But it was helpful when experimenting with views, for rendering. Sometimes I just wanted to see if another view was better, but then, I decided to go back... Now I'll just have to stick to the current limitations.
-
There might be some plugins... someone made a Camera Memory plugin I think.
-
I am almost converted to SU-15 from SU-8.
I just realized that many of my SU-8 toolbars (especially "toggle/hidden") are not native SU but within Toolbars.rb.How can I import the toolbars.rb set to SU-15?
I can't find the current file here.
-
@jgb said:
I am almost converted to SU-15 from SU-8.
I just realized that many of my SU-8 toolbars (especially "toggle/hidden") are not native SU but within Toolbars.rb.How can I import the toolbars.rb set to SU-15?
I can't find the current file here.
http://sketchuptips.blogspot.com.es/2008/06/custom-toolbars-release-08-06-01.html[/anchor]
i don't remember well, but i use it in SU15, and it seems to me no changes were needed from SU8
-
A few posts above and over a year ago...
@jim said:
Bob, I posted a new version this morning in the Plugin Store, but didn't have time to mention it. Did you find and try the update?
You should get that version, and add updated additional plugins to it...
john
-
Thanks for the replies.
Yesterday I just copied the toolbars .rb and Dir from SU-8 to SU-15. Worked no problem.
I just reinstalled via Extension Mgr the (perhaps) updated version and noticed my toolbars were exactly the same. Yes, I changed the file type from ZIP to RBZ.
In the web page (noted above) one of the standard toolbars (Scenes) has an extra icon that my installed version does not. Did I do something wrong?
Oh, and what are these other plugins to be added to it are you referring too?
-
@jgb said:
In the web page (noted above) one of the standard toolbars (Scenes) has an extra icon that my installed version does not. Did I do something wrong? :?
your probably missing the 'Bottom' view?
Possibly the code has change for it and you haven't actually updated or Jim left it out of the update...@unknownuser said:
Oh, and what are these other plugins to be added to it are you referring too?
The whole point of custom toolbars is it lets you add other plugins to the toolbar, if you have no extra's then doing nothing is fine...
john
-
When I get a chance I will compare the scripts of my SU-8 Toolbars to SU-15 and get back here with the findings.
-
I just compared the Toolbar files for SU-8 and SU-15.
They are identical.
The Toolbar.rb is...
*require "sketchup"
require "extensions"path = File.join(File.dirname(FILE), "toolbars", "files", "loader.rb")
ext = SketchupExtension.new("Custom Toolbars", path)
ext.description = "Loads your custom Toolbars."
ext.creator = "Jim Foltz jim.foltz@gmail.com"
ext.copyright = "2008 Jim Foltz"
ext.version = "2008-04-04"
Sketchup.register_extension ext*Is there anything more recent?
Advertisement