• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Ruby download

Scheduled Pinned Locked Moved Newbie Forum
sketchup
31 Posts 9 Posters 2.8k 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
    Jean Lemire
    last edited by 7 May 2009, 13:18

    Hi Rod, hi folks.

    Also, some Ruby scripts are treated as extensions, they need to be activated using the Extensions control pannel, like the Sandbox Tools, for example.

    Use Menu Window --> Preferences --> Extensions. Verify if there is an entry for Windowiser. If so, make sure that the checkbox next to it is checked.

    Close the window and, to be sure, quit SU and restart it.

    Just ideas.

    Jean (Johnny) Lemire from Repentigny, Quebec, Canada.

    1 Reply Last reply Reply Quote 0
    • A Offline
      August
      last edited by 5 Jun 2009, 00:25

      @jean lemire said:

      ... some Ruby scripts ... need to be activated using the Extensions control pannel, like the Sandbox Tools, for example.

      Use Menu Window --> Preferences --> Extensions. Verify if there is an entry for Windowiser. ...
      Hi Jean,

      I just checked, and Windowizer (v3, the one I have) does not use the Extensions mechanism. That is done using Sketchup.register_extension which uses an object created by SketchupExtension.new which takes a title string and a path.

      Does anyone happen to know of any plugins, other than those that Google ships with the installation, that use the Extensions mechanism? I've been searching and have only found references like this one, that are more theoretical than practical.

      Thanks,
      August

      “An idea, like a ghost, must be spoken to a little before it will explain itself.”
      [floatr:v1mcbde2]-- Charles Dickens[/floatr:v1mcbde2]

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by 5 Jun 2009, 00:36

        August,

        there are numerous plugins that use it, are you looking for an example? I know some of Chris Fullmer's tools use it.

        Hi

        1 Reply Last reply Reply Quote 0
        • G Offline
          Gaieus
          last edited by 5 Jun 2009, 00:53

          The following are listed under my Extensions tab in Preferences (apart from the original SU extensions):

          • shape bender (Chris Fullmer)
          • subdivide and smooth (Dale Martens)
          • free scale (Fredo) (oops, BTW it's now called "Fredo Scale")
          • soap skin and bubble (Josef Leibinger)

          Gai...

          1 Reply Last reply Reply Quote 0
          • R Offline
            remus
            last edited by 5 Jun 2009, 06:12

            A couple more to add to the list:
            -profile builder (whaat)
            -lightup (AdamB)

            http://remusrendering.wordpress.com/

            1 Reply Last reply Reply Quote 0
            • A Offline
              August
              last edited by 6 Jun 2009, 07:14

              @jim said:

              ... are you looking for an example? I know some of Chris Fullmer's tools use it.
              Yes, I am looking for examples. Thanks.

              I just received a list from Chris in another thread: http://forums.sketchucation.com/viewtopic.php?f=180&t=19345.

              @gaieus said:

              • shape bender (Chris Fullmer)
              • subdivide and smooth (Dale Martens)
              • free scale (Fredo) (oops, BTW it's now called "Fredo Scale")
              • soap skin and bubble (Josef Leibinger)

              @remus said:

              • profile builder (whaat)
              • lightup (AdamB)
                Thank you both.

              I also just found:

              • Custom Toolbars (Jim Foltz)

              I think I have enough examples now. I was initially having a very hard time finding any scripts that used it; randomly downloading my way through 678 scripts in the Extensions Index was not working and the only references I found in forum discussions were oblique references like the one earlier in this thread.

              I'm writing an article on how to use the Registered Extensions system as a tutorial for Ruby beginners and I want to specifically mention developers and/or scripts who/which already use it.

              And my apologies for hijacking the thread.

              Thanks again,
              August

              “An idea, like a ghost, must be spoken to a little before it will explain itself.”
              [floatr:v1mcbde2]-- Charles Dickens[/floatr:v1mcbde2]

              1 Reply Last reply Reply Quote 0
              • J Offline
                Jim
                last edited by 6 Jun 2009, 13:11

                And don't forget about Google's own Sandbox tools and Dynamic Components.

                Hi

                1 Reply Last reply Reply Quote 0
                • G Offline
                  Gaieus
                  last edited by 6 Jun 2009, 14:16

                  @jim said:

                  And don't forget about Google's own Sandbox tools and Dynamic Components.

                  Then the ocean modelling tool (new to M1 of SU 7), utilities and one other I'm too lazy now to look up should also be counted.

                  Gai...

                  1 Reply Last reply Reply Quote 0
                  • Chris FullmerC Offline
                    Chris Fullmer
                    last edited by 6 Jun 2009, 16:24

                    I think he is interested in who outside of Google is taking advantage of this feature - especially since it is relatively easy to write into a ruby script.

                    I'm curious if people ever disable extensions using the extensions enable/disable window?

                    Chris

                    Lately you've been tan, suspicious for the winter.
                    All my Plugins I've written

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      Jim
                      last edited by 6 Jun 2009, 17:31

                      I'm curious if the Extensions dialog will still be usable and easy-to-use if there were, let's say 25 or more extensions in there.

                      Hi

                      1 Reply Last reply Reply Quote 0
                      • Chris FullmerC Offline
                        Chris Fullmer
                        last edited by 6 Jun 2009, 18:10

                        Exactly, thats another great question! It probably becomes just as unwieldly as the plugins menu does. If every plugin installs itself there, that could be rather tedious to work with.

                        But then again, if you're just turning some things on and off occasionally to keep the plugins menu clean and tidy, maybe its a good trade-off?

                        Lately you've been tan, suspicious for the winter.
                        All my Plugins I've written

                        1 Reply Last reply Reply Quote 0
                        • Al HartA Offline
                          Al Hart
                          last edited by 26 Jun 2009, 17:03

                          What is the effect of the second parameter (true/false) in Sketchup.register_extension

                          [edit]It looks like the .rb file gets loaded whether true or false is set.

                          Al Hart

                          http://wiki.renderplus.com/images/e/ef/Render_plus_colored30x30%29.PNG
                          IRender nXt from Render Plus

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            August
                            last edited by 19 Jul 2009, 20:44

                            @al hart said:

                            What is the effect of the second parameter (true/false) in Sketchup.register_extension

                            [edit]It looks like the .rb file gets loaded whether true or false is set.

                            I found this page of doc:
                            http://code.google.com/apis/sketchup/docs/ourdoc/sketchup.html#register_extension
                            which includes this section:
                            Sketchup.register_extension doc

                            Here's the text from that image (so that it is searchable), formatted as best as my experience with SCF will allow:

                            Sketchup.register_extensionSketchUp [6.0+]

                            The register_extension method is used to register an extension with SketchUp's extension manager (in SketchUp preferences).

                            Arguments:

                            • extension -- A SketchupExtension object.
                            • registered -- true if extension should be automatically
                              loaded the first time it is registered.

                            Returns:

                            • status -- true if extension registered properly
                            utilitiesExtension = SketchupExtension.new "Utilities Tools",
                              "Utilities/utilitiesTools.rb"
                            
                            utilitiesExtension.description = "Adds Tools->Utilities to the " +
                              "SketchUp inteface. The Utilities submenu contains two tools; " +
                              "Create Face and Query Tool."   
                            
                            Sketchup.register_extension utilitiesExtension, false
                            

                            That formatting is way too much trouble. Code boxes should be wider so it will display readably and there really should be some way of indenting, creating lists bullets, etc.

                            ANYBODY know of any doc for formatting SCF posts that goes beyond the buttons at the top of the text entry window?

                            I hope this helps,
                            August

                            “An idea, like a ghost, must be spoken to a little before it will explain itself.”
                            [floatr:v1mcbde2]-- Charles Dickens[/floatr:v1mcbde2]

                            1 Reply Last reply Reply Quote 0
                            • Chris FullmerC Offline
                              Chris Fullmer
                              last edited by 19 Jul 2009, 23:42

                              The SCF uses BBCode. When you are replying, over on the right, under all the smileys, there is a small section with this:

                              BBCode is ON
                              [img] is ON
                              [flash] is ON
                              [url] is ON
                              Smilies are ON

                              and the BBCode is a link to this:
                              http://forums.sketchucation.com/faq.php?mode=bbcode

                              So when you are posting, you can use that as a aguide to help with formatting.

                              Chris

                              Lately you've been tan, suspicious for the winter.
                              All my Plugins I've written

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                mirami
                                last edited by 16 Aug 2009, 12:43

                                Hi!
                                I have loaded the soap bubble skin from tensil structure.de but cannot open it.. I am using Vista and SU6.
                                I unzip the files as mentionned , I create C>program>google>su6>tools but get a message telling me the file cannot be created, immposible to open... I tried to unzip on the desktop, copied the files in su6, this worked fine. But np new toolbar in SU6 at all.. I tried to take away the anti virus and firewall, ,no results..
                                Has anyone got this problem before ?
                                Thanks a lot

                                1 Reply Last reply Reply Quote 0
                                • G Offline
                                  Gaieus
                                  last edited by 16 Aug 2009, 12:47

                                  Hi Mirami,

                                  Even if successfully installed (you may have administration right issues with this on Vista), SSB needs to be activated from the Window > Preferences > Extensions tab. Also, you may need to activate the toolbar itself from View > Toolbars.

                                  Gai...

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    mirami
                                    last edited by 16 Aug 2009, 13:07

                                    Hello!
                                    Well, could you be so kind to refresh my memory and explain me how to go in window>preference and what you excatly do one you are there ?
                                    In SU toolbar all is apparently activated..
                                    Thanks a lot

                                    1 Reply Last reply Reply Quote 0
                                    • G Offline
                                      Gaieus
                                      last edited by 16 Aug 2009, 13:18

                                      See attached (I don't have it installed at the moment but it should be there)


                                      window.png


                                      preferences.png

                                      Gai...

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        mirami
                                        last edited by 16 Aug 2009, 15:23

                                        ok you was right , both utility tools and sand box were not activated. There are now activated, I have got the sand box icons on the screen but nothing regarding SSB still!! I have redone the whole installation but still get the same message, it cannot create the path...

                                        1 Reply Last reply Reply Quote 0
                                        • G Offline
                                          Gaieus
                                          last edited by 16 Aug 2009, 15:49

                                          Can you make a screenshot of the file structure in your Tools folder?

                                          Gai...

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

                                          Advertisement