sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] Custom Toolbars Plugin

    Scheduled Pinned Locked Moved Plugins
    121 Posts 43 Posters 61.9k Views 43 Watching
    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.
    • X Offline
      xkalvisx
      last edited by

      And where is the key "Make component"?

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by

        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. 😉

        Hi

        1 Reply Last reply Reply Quote 0
        • BoxB Offline
          Box
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • J Offline
            Jim
            last edited by

            @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.

            Hi

            1 Reply Last reply Reply Quote 0
            • BoxB Offline
              Box
              last edited by

              Works perfectly in my version of 2014.

              1 Reply Last reply Reply Quote 0
              • J Offline
                Jim
                last edited by

                Ah, it opens the dialog when loose geometry is selected. I had selected a Group. Thanks.

                Hi

                1 Reply Last reply Reply Quote 0
                • Bob JamesB Offline
                  Bob James
                  last edited by

                  Tried both 'standard' plugin location and additional location.
                  jf2.PNGjf.PNG

                  i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    Jim
                    last edited by

                    Hello Bob,

                    1. You need to install TIG's Purge All plugin.
                    2. I thought I trapped that error.

                    Will look into it. Thanks for taking time to report.

                    Hi

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      Jim
                      last edited by

                      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.

                      Hi

                      1 Reply Last reply Reply Quote 0
                      • dereiD Offline
                        derei
                        last edited by

                        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.

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

                        1 Reply Last reply Reply Quote 0
                        • Dan RathbunD Offline
                          Dan Rathbun
                          last edited by

                          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'm not here much anymore.

                          1 Reply Last reply Reply Quote 0
                          • dereiD Offline
                            derei
                            last edited by

                            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.

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

                            1 Reply Last reply Reply Quote 0
                            • Dan RathbunD Offline
                              Dan Rathbun
                              last edited by

                              There might be some plugins... someone made a Camera Memory plugin I think.

                              I'm not here much anymore.

                              1 Reply Last reply Reply Quote 0
                              • jgbJ Offline
                                jgb
                                last edited by

                                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

                                1 Reply Last reply Reply Quote 0
                                • G Offline
                                  glro
                                  last edited by

                                  @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

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    driven
                                    last edited by

                                    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

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

                                    1 Reply Last reply Reply Quote 0
                                    • jgbJ Offline
                                      jgb
                                      last edited by

                                      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

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        driven
                                        last edited by

                                        @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

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

                                        1 Reply Last reply Reply Quote 0
                                        • jgbJ Offline
                                          jgb
                                          last edited by

                                          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.


                                          jgb

                                          1 Reply Last reply Reply Quote 0
                                          • jgbJ Offline
                                            jgb
                                            last edited by

                                            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?


                                            jgb

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

                                            Advertisement