• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ 30% Off | Artisan 2 on sale until April 30th Buy Now

[Plugin] Custom Toolbars Plugin

Scheduled Pinned Locked Moved Plugins
121 Posts 43 Posters 61.9k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    Jim
    last edited by 30 Jul 2008, 20:22

    @matt666 said:

    Hi Jim !
    Is it possible to create a button that changes its icon depending on the result of the function? All icons are created before, and result of the function gives the adress of the specific icon...

    I don't know, Matt. I'm not sure a Command can be modified after it is added to the Toolbar. Why not try and let us know? ๐Ÿ˜„

    Hi

    1 Reply Last reply Reply Quote 0
    • C Offline
      CadFather
      last edited by 30 Jul 2008, 20:56

      Hi Jim, i do use the ruby toolbar to load the scripts.. but there are so many! i'm thinking of a way to load a script without browsing for it (click to open/load the tools)

      say there is a way to link a specific script to a button, eg. i make it load subdivide and smooth whenever it's clicked.

      say to another button i assign fredo's TOS. (ideally you can re-assign your favourite/s for different purposes)

      not loading all the plugins at startup would make opening SU a faster and simpler situation - knowing that by clicking an icon i open only the specific set of tools i actually need..

      the ruby masters could include their loader button with their plugin... ๐Ÿ‘ or ๐Ÿ‘Ž ?

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by 30 Jul 2008, 22:02

        I don't see why not. Would be a sort of "Favorites" toolbar?

        I agree about not loading all the plugins at startup - this is exactly how I work. I keep only a few "essential" plugins in the Plugins folder, and load other as needed using the Ruby Toolbar Load button.

        Hi

        1 Reply Last reply Reply Quote 0
        • C Offline
          CadFather
          last edited by 30 Jul 2008, 22:24

          yes a favourites toolbar - having a custom button/s would be an advantage to start with.. eventually who knows what will happen with v7 and webdialogs.

          time eating difficult task?

          1 Reply Last reply Reply Quote 0
          • J Offline
            Jim
            last edited by 30 Jul 2008, 23:42

            @cadfather said:

            yes a favourites toolbar - having a custom button/s would be an advantage to start with.. eventually who knows what will happen with v7 and webdialogs.

            I can only hope I am not wasting my time on V7 built-in features.

            @unknownuser said:

            time eating difficult task?

            Not really. It's easy to create a toolbar button to load Subsmooth, but I can't get the SubSmooth icons to show using this method. We'd need to ask Whaat to fix that.

            Hi

            1 Reply Last reply Reply Quote 0
            • C Offline
              CadFather
              last edited by 31 Jul 2008, 00:35

              ..so you can load subsmooth but the icons toolbar doesn't show up ๐Ÿ˜’

              it's probably worth waiting for the next release of SU - i heard it's very soon........ ๐Ÿ˜† (jokin')

              thanks Jim

              1 Reply Last reply Reply Quote 0
              • M Offline
                Matt666
                last edited by 31 Jul 2008, 11:56

                @unknownuser said:

                Why not try and let us know?

                I tried, but nothing came ๐Ÿ˜„

                Frenglish at its best !
                My scripts

                1 Reply Last reply Reply Quote 0
                • F Offline
                  fredo6
                  last edited by 31 Jul 2008, 20:25

                  @cadfather said:

                  Hi Jim, i do use the ruby toolbar to load the scripts.. but there are so many! i'm thinking of a way to load a script without browsing for it (click to open/load the tools)

                  say there is a way to link a specific script to a button, eg. i make it load subdivide and smooth whenever it's clicked.

                  say to another button i assign fredo's TOS. (ideally you can re-assign your favourite/s for different purposes)

                  not loading all the plugins at startup would make opening SU a faster and simpler situation - knowing that by clicking an icon i open only the specific set of tools i actually need..

                  the ruby masters could include their loader button with their plugin... ๐Ÿ‘ or ๐Ÿ‘Ž ?

                  Isn'it precisely what the Sketchup extension manager does?

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    CadFather
                    last edited by 31 Jul 2008, 20:34

                    well not precisely Fredo.. for example not all plugins have the entry in the extensions - what i'd like is a way for me to assign the loading af a script to a button. call it a customised quick loader - the idea can of course evolve further.

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      fredo6
                      last edited by 31 Jul 2008, 21:00

                      @cadfather said:

                      well not precisely Fredo.. for example not all plugins have the entry in the extensions - what i'd like is a way for me to assign the loading af a script to a button. call it a customised quick loader - the idea can of course evolve further.

                      It's easy to do (I could do it for ToolsOnSurface for instance), but then once loaded, you'll be faced again to the question of toolbar button proliferation (I mean, just TOS would come with 10 buttons!), and the only way to unload the scripts is to restart Sketchup.

                      Another possibility is that I include a button to hide or show all others. But then, you have the issue with the messy placement of toolbars in Sketchup 6.

                      Finally, you can also have only one button, which would then pop up a Web dialog which would contain all others (and the parameters of the one currently used), pretty much like the native entity info, Bucket paint windows. Probably better, but, you sacrifice a part of the workspace in most situations.

                      I agree with the requirement, but I don't see a 'universal' solution (yet).

                      Fredo

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        CadFather
                        last edited by 31 Jul 2008, 21:30

                        @unknownuser said:

                        It's easy to do (I could do it for ToolsOnSurface for instance), but then once loaded, you'll be faced again to the question of toolbar button proliferation (I mean, just TOS would come with 10 buttons!), and the only way to unload the scripts is to restart Sketchup.Fredo

                        ..yes what i had in mind - only working solution at present. personally would rather have SU start fast and call the ruby when needed that viceversa. however, if the button worked as a toggle mode perhaps it could at least hide the toolbar?

                        @unknownuser said:

                        Another possibility is that I include a button to hide or show all others. But then, you have the issue with the messy placement of toolbars in Sketchup 6.Fredo

                        that is true (though this is not a big issue for me as i use batch files to save, restore toolbar configurations)

                        @unknownuser said:

                        Finally, you can also have only one button, which would then pop up a Web dialog which would contain all others (and the parameters of the one currently used), pretty much like the native entity info, Bucket paint windows. Probably better, but, you sacrifice a part of the workspace in most situations.Fredo

                        ..the thing i least like is those palettes roaming about in my project! maybe it will be possible to have a webdialog that opens up under the icon, like web page submenus...

                        on further thought though, before v7 is out (spring 2013) - one solution could be having a thin vertical toolbar on the right which pops out the other icons on click. in fact now that i'm rolling we could have icons for all those greasy palettes like entity info, paint etc...

                        @unknownuser said:

                        I agree with the requirement, but I don't see a 'universal' solution (yet).Fredo

                        well you said it. the more i think about it the more i like the idea (together with 'floating shortcuts')

                        ...

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          caronte01
                          last edited by 3 Jan 2009, 01:49

                          Hi Jim, just trying your plugin, on a mac, on skp 7, and iยดm getting a crash when selecting the select tool, after using 3d text. Iยดm not sure if itยดs a sketchup related bug, or if itยดs related to your ruby.

                          Cheers

                          santiago

                          1 Reply Last reply Reply Quote 0
                          • GaieusG Offline
                            Gaieus
                            last edited by 5 Feb 2010, 15:17

                            Hi Jim and thanks again for this life saver!

                            However I would have a couple of questions - and/or if they can be implemented, rather "feature requests". Below you can see how I solved my always messing up workspace (well, sort of solved - I put the mess elsewhere)

                            • There is my custom toolbar now with the buttons/functions I do occasionally use but not often enough to have a shortcut key assigned. This is the coolest part of it.
                              ๐Ÿ‘

                            • Then there are a couple of tools that cannot be integrated with your plugin;

                            • the Sandbox tools

                            • the Google tooolbar

                            • the Sections > toggle cut / plane function

                            • the Layers
                              Is there any chance they could also be added? I understand that the Sandbox (and probably the Google one, too) are actually plugins in SU but still...

                            • Then there is my "Plugin area property" - where I keep the toolbars of the actively used plugins (this always varies depending on what I am doing). It would also be cool to be able to put them into a bigger toolbar - or any other solution would be welcome of course (for me, obviously the issue of cluttered toolbars when launched by a single button is not serious so the above solution by Max would also be good).
                              My desktop.png
                              Then it's just a cool, little app that I have; you can set any custom window size and if working similarly as me, you can have output resolution for images/videos pre-set.


                            BTW I have just realised this is in the Developers' Forum, not in the Plugins forum. Is there a reason (is it intentional)?
                            I leave it for you guys - it's your playground here...

                            Gai...

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              Jim
                              last edited by 6 Feb 2010, 15:43

                              Thanks for the support Gaieus,

                              @gaieus said:

                              Then there are a couple of tools that cannot be integrated with your plugin;

                              Some of these can be integrated, but others can not. This is a problem because the plug-in can never support 100% of even the built-in functions, which is always a little disappointing to someone. That's why I consider this an "in-between" plug-in. It was a quick and easy way to mitigate some of the frustration with messed-up toolbars, but is not the best long-term strategy. Even so, I do still maintain it, and I am in the middle of updating this plug-in to make it easier to integrate other tools.

                              I'm also experimenting with the idea of hiding Toolbars, similar to how you can toggle the windows using Window > Hide Dialogs. So you could use a shortcut to toggle the toolbars visible/hidden, and even have several "sets" of toolbars to switch between.

                              @gaieus said:

                              It would also be cool to be able to put them into a bigger toolbar

                              I agree, this is the answer. To be able to drag & drop buttons to build Toolbars, and then drag & drop Toolbars in a window. It can be done, someone just needs to do it.

                              There is a plugin named SU Tool that is very close to what I think is the best solution; but it is encrypted (or I'd have "borrowed" it already.) But SU Tool is likely close to what the ultimate solution will look like.

                              Hi

                              1 Reply Last reply Reply Quote 0
                              • GaieusG Offline
                                Gaieus
                                last edited by 6 Feb 2010, 16:25

                                Thanks Jim for the explanation. As you can see, I am already contented with this solution - my SU life never used to be so comfortable as since I simply undocked everything.

                                And yes, I guess I know what you mean with those "launch" buttons. The Layers toolbar has this button for instance. Pressing it will open the Layers dialog (or just like activating the Paint bucket tool triggers the Material browser). With less frequently used windows/toolbars this could be an ideal solution.

                                Gai...

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  DIEGO-RODRIGUEZ
                                  last edited by 7 Feb 2010, 16:16

                                  "I agree, this is the answer. To be able to drag & drop buttons to build Toolbars, and then drag & drop Toolbars in a window. It can be done, someone just needs to do it.

                                  There is a plugin named SU Tool that is very close to what I think is the best solution; but it is encrypted (or I'd have "borrowed" it already.) But SU Tool is likely close to what the ultimate solution will look like."


                                  this is the way the plugins PowerSutool organizer works.
                                  to arrange the toolbars.
                                  using a html interface, and a text editor

                                  http://img685.imageshack.us/img685/6881/sketchupbbssutoolini.gif

                                  Maybe this can help find a solution?

                                  http://www.dhtmlgoodies.com/scripts/drag-drop-nodes/drag-drop-nodes.html
                                  other solution
                                  http://www.dhtmlgoodies.com/index.html?page=dragDrop

                                  1 Reply Last reply Reply Quote 0
                                  • GaieusG Offline
                                    Gaieus
                                    last edited by 7 Feb 2010, 16:42

                                    What language (and writing) do you use in Argentina? I thought it was Spanish (and even that I understand some of it)
                                    ๐Ÿ˜ฎ

                                    Gai...

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      DIEGO-RODRIGUEZ
                                      last edited by 7 Feb 2010, 16:54

                                      si espaรฑol, se escribe aqui en argentina ๐Ÿ˜„

                                      1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        alz
                                        last edited by 3 Mar 2010, 21:40

                                        @gaieus said:

                                        Then there are a couple of tools that cannot be integrated with your plugin;

                                        • the Sandbox tools

                                        Ah yes -- I've been using Flip Division on the Sandbox bar frequently for my triangulated faces. It'd be nice to pop that one action off and put into my main toolbar ๐Ÿ˜„

                                        1 Reply Last reply Reply Quote 0
                                        • dereiD Offline
                                          derei
                                          last edited by 8 Mar 2011, 20:05

                                          Is this plugin being updated for SU8 ? Some new functions are missing.
                                          And, I'm thinking if it's possible to add icons from plugins to custom toolbars. I would like to have a larger toolbar with more plugins included, rather than lots of small toolbars, some of them with a one or two icons...

                                          Thanks!

                                          DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 6
                                          • 7
                                          • 4 / 7
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement