[Plugin] ToolbarEditor (1.1.2) – updated 08.06.2014

Re: [Plugin] ToolbarEditor (1.0.6) – updated 15.05.2013

Postby Box » Sat Apr 05, 2014 5:39 pm

It throws a load error in SU2014
0
User avatar
Box 
 

Re: [Plugin] ToolbarEditor (1.0.6) – updated 15.05.2013

Postby Aerilius » Sat Apr 05, 2014 7:04 pm

Thanks, I fixed the load error.
0

Aerilius 
PluginStore Author
PluginStore Author
 

Re: [Plugin] ToolbarEditor (1.0.6) – updated 15.05.2013

Postby TIG » Sat Apr 05, 2014 11:41 pm

Aerilius wrote:Thanks, I fixed the load error.
BUT you haven't published it :roll:
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] ToolbarEditor (1.0.6) – updated 15.05.2013

Postby Box » Sun Apr 06, 2014 1:02 am

It's on the previous page Tig, not the first post. It's a teaser/beta and the fix worked for me.
0
User avatar
Box 
 

Re: [Plugin] ToolbarEditor (1.0.6) – updated 15.05.2013

Postby TIG » Sun Apr 06, 2014 11:04 am

So the version in that mid-thread post has been updated - it was not clear... :?
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] ToolbarEditor (1.0.6) – updated 15.05.2013

Postby function » Sun Apr 06, 2014 8:34 pm

I've noticed that this plugin takes a fairly long time to load all the icons at startup. Is there any other negative affects to performance?
0

function 
 

Re: [Plugin] ToolbarEditor (1.0.6) – updated 15.05.2013

Postby Aerilius » Mon Apr 07, 2014 11:44 pm

It has an arbitrary timeout of five seconds. It's not doing much processing, it just needs to be sure that SketchUp has finished loading all other plugins. I wish SketchUp had (or will have) a proper API method for that. When I come back I'll see if it still works reliably wirh a shorter timeout.
0

Aerilius 
PluginStore Author
PluginStore Author
 

Re: [Plugin] ToolbarEditor (1.0.6) – updated 15.05.2013

Postby function » Tue Apr 08, 2014 4:48 pm

its kind of strange for me. i have something like 4 tool bars, they load one icon at a time, and then on the 5th toolbar i made it loads all 6 instantly .. ::shrug::
0

function 
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby Aerilius » Thu May 08, 2014 1:48 pm

I updated the plugin. It now includes custom buttons.
0

Aerilius 
PluginStore Author
PluginStore Author
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby Rich O Brien » Thu May 08, 2014 1:50 pm

Incredible.
0
There's a frontroom and a backroom....reverse faces
User avatar
Rich O Brien 
Administrator
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby Krisidious » Thu May 08, 2014 5:11 pm

I can haz all thomthoms in a toolbar?
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby Ben Ritter » Thu May 08, 2014 8:15 pm

Thank you for sharing this with us.
0

Ben Ritter 
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby Krisidious » Thu May 08, 2014 11:07 pm

does this mean it's time for the Icon Making Challenge?
0
By: Kristoff Rand
Home Designer
Unique House Plans
User avatar
Krisidious 
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby LewisEE » Sat May 10, 2014 8:32 am

I can't enter code for custom (new) buttons using SketchUp Make 2014. Other wise this is a great extension. Thanks
0

LewisEE 
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby driven » Sat May 10, 2014 8:53 pm

how did miss this one, very nice...

just pondering some additional behaviour...

I regularly 'bury' plugins that I use infrequently, but add the tools main icon to a toolbar and use that to 'load' the plugin only when I need it, I tend to do it for plugins that add observers, skp's or materials to my model.

I try to do it on my own plugins as well so the 'command' is the loader...
example
Code: Select all
      command2 = UI::Command.new("Add mac batch Icons"){ load( File.join(File.dirname(__FILE__), "Add_icon_logic_batch_skps.rb") ) }


could the 'burying' be an option for this plugin?

so if I add a complex plugin to a toolbar it is moved into a 'Toolbar 1' folder and only a single icon is added to the 'Toolbar 1' toolbar, but if I click on that 'Icon' 'Toolbar 1' is replace by a second 'Toolbar1' that includes any additional toolset buttons at exactly the same position...

I'll see if I can find my simple 2 tool test file, that may clarify what I mean...

john
0
learn from the mistakes of others, you may not live long enough to make them all yourself...

driven 
PluginStore Author
PluginStore Author
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby alsomar » Fri May 16, 2014 9:02 am

Thank you so much Aerilius!

It could be nice to export custom toolbars to a *.dat file to get the same toolbars in other computers. Is there any way to do anything like that?

Greetings!
0
User avatar
alsomar 
Premium Member
Premium Member
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby Aerilius » Fri May 16, 2014 11:05 am

The toolbars are stored in the registry
HKEY_CURRENT_USER\Software\SketchUp\SketchUp 2014\Plugins_ae\ToolbarEditor.
You can copy and paste it in the same key on another SketchUp installation or version. You can also use the File → Export functionality of the registry. I'm not sure whether I should add an export button to each of my plugins, I hope SketchUp will provide an efficient and central place to migrate settings.

From a developer side, I want to emphasis again that most of us want plugin settings to be namespaced and bundled in one sub-key, and not mixed within SketchUp's internal keys.
1

Aerilius 
PluginStore Author
PluginStore Author
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby alsomar » Fri May 16, 2014 12:06 pm

Aerilius wrote:The toolbars are stored in the registry
HKEY_CURRENT_USER\Software\SketchUp\SketchUp 2014\Plugins_ae\ToolbarEditor.
You can copy and paste it in the same key on another SketchUp installation or version. You can also use the File → Export functionality of the registry. I'm not sure whether I should add an export button to each of my plugins, I hope SketchUp will provide an efficient and central place to migrate settings.


Thank you for your response! Greetings! :)
0
User avatar
alsomar 
Premium Member
Premium Member
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby Lushi » Sun May 18, 2014 8:56 pm

i would love this tool could create groups of nested buttons, like those in the bar "getting started"
0

Lushi 
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby Aerilius » Mon May 19, 2014 8:58 am

I would love this too!
But they are neither user-editable nor available for plugins.
0

Aerilius 
PluginStore Author
PluginStore Author
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby glro » Tue May 20, 2014 12:15 pm

LewisEE wrote:I can't enter code for custom (new) buttons using SketchUp Make 2014. Other wise this is a great extension. Thanks


i can't enter snippets either

su8, win7
0

glro 
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby Aerilius » Tue May 20, 2014 2:09 pm

What happens when you can't enter snippets? What do you do and what does not happen?
0

Aerilius 
PluginStore Author
PluginStore Author
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby glro » Tue May 20, 2014 7:40 pm

Aerilius wrote:What happens when you can't enter snippets? What do you do and what does not happen?


nothing happens...

after i fill in the form (name, category, ...), and i choose a file for the icon, it is then impossible for me to type anything in the area below the icon file address
0

glro 
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby Aerilius » Wed May 21, 2014 10:28 am

I cannot reproduce this. For me the webdialog accepts input in all input fields in SU 2014, SU 2013, SU8, WinXP, Win7.

• What version of Internet Explorer do you have installed?
• Does the text area for Ruby code never accept input or only after you selected an icon?
• Can you see that it is a text area (or is it possible that it just has a zero size)?
0

Aerilius 
PluginStore Author
PluginStore Author
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby glro » Wed May 21, 2014 12:09 pm

Aerilius wrote:I cannot reproduce this. For me the webdialog accepts input in all input fields in SU 2014, SU 2013, SU8, WinXP, Win7.

• What version of Internet Explorer do you have installed?
• Does the text area for Ruby code never accept input or only after you selected an icon?
• Can you see that it is a text area (or is it possible that it just has a zero size)?


internet explorer 11
never accepts input
cannot see that it is a text area (screen copy added)
2014-05-21 13_02_37-Éditeur des barres d'outils.png


hope it helps
0

glro 
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby Jim » Sat Jun 07, 2014 9:14 am

Same here - no input area for code.

Win 8.1, SU-2014 Pro, IE 11 (never used outside of SketchUp.)
0
Hi

Jim 
Global Moderator
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby titou » Sun Jun 08, 2014 9:45 am

me too, same problem, cannot whrite anything in the text zone
0

titou 
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby Jim » Sun Jun 08, 2014 2:31 pm

I know it has probably already been thought about, but it would be incredible to have a command repository where we can browse, install, and share commands...

Maybe a dvcs repo (github) could be used as the repo. What format would be good for command files - json or yaml maybe?
0
Hi

Jim 
Global Moderator
 

Re: [Plugin] ToolbarEditor (1.1.1) – updated 07.05.2014

Postby Aerilius » Sun Jun 08, 2014 5:19 pm

I uploaded a workaround for IE 11's bug (ToolbarEditor 1.1.2).

Currently the plugin writes each snippet to a ruby file (in %APPDATA%) and stores the metadata with the plugin's preferences in the registry.
A json or yaml format would also not be a bad idea. I chose rb because it contains runnable code and I don't need to extract the code from a part of the file (or deal with escaping etc.). The metadata is also written in the comment of the ruby file, but I haven't decided yet to parse it out of the comment again, because there would be many sources of error (or the comment would have to strictly follow a specific syntax.
0

Aerilius 
PluginStore Author
PluginStore Author
 

Re: [Plugin] ToolbarEditor (1.1.2) – updated 08.06.2014

Postby Jim » Sat Jun 14, 2014 9:31 am

>Currently the plugin writes each snippet to a ruby file (in %APPDATA%) and stores the metadata with the plugin's preferences in the registry.

Is the numeric part of the filename unique for each user? If so, that makes it difficult to have a way to share commands.
0
Hi

Jim 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

PreviousNext


 

Return to Plugins

Who is online

Users browsing this forum: Google Bot, NicoDemo and 23 guests

Visit our sponsors: