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

    [Plugin] inputbox.rb Simplified Script Options

    Scheduled Pinned Locked Moved Plugins
    9 Posts 6 Posters 12.6k Views 6 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.
    • J Offline
      Jim
      last edited by Jim

      I added a few methods to access the values, and added persistent storage using Sketchup.write_default and .read_default.

      Here's an example usage:

      118.jpg

      Get it here.

      Hi

      1 Reply Last reply Reply Quote 0
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        Thats great Jim! Thanks for working on this one.

        Chris

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

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

          Because the file is not within a ZIP, when we d/l from the web, all the file dates are the download date.

          Since you didn't put a Revision or Release within the file, it will be hard to tell what rev a user has.

          I put " # Release: 2009-05-15" below the (c) line, since that's what you had on your d/l blog page.

          I assume this is Rev: 2 ??

          I'm not here much anymore.

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

            Are there still plugins that require this one? Should it be vanquished from existence? Should it be updated and made available in the SketchUcation Store?

            Hi

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

              I love the basic concept of this!

              However it likely should be folded into some mixin module that coders would include() within their modules or classes.

              They could also subclass it. For example I myself am not keen on the registry key prefix of "Inputbox_".
              A subclass could change that, or better tell the subclass what key to save under, and what prefix for each value. etc.

              Ie, usually only Ruby base classes should be defined at the toplevel. So it should be in a module namespace.

              And the "download" link no longer works.

              I'm not here much anymore.

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

                I like it too, and Inputbox does make adding basic options to a plugin easier. However, if I were to write it today I would base it on TT's SKUI webdialogs and offer a wider choice of input widgets.

                With the Plugins Store giving us the ability to quickly and easily offer updates, these kinds of library extensions have a better chance of being used.

                Hi

                1 Reply Last reply Reply Quote 0
                • T Offline
                  tzuchi
                  last edited by

                  @jim said:

                  Are there still plugins that require this one? Should it be vanquished from existence? Should it be updated and made available in the SketchUcation Store?

                  Push Pull Group used this one and I can't find any copies of your inputbox.rb. Looks like it vanished from existence? Anyway to bring it back in to reality?

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    HughD
                    last edited by

                    Jim

                    Where can I find a copy of inputbox.rb to download to use with 'multiple dimensions tool' plugin?
                    Many thanks
                    Hugh

                    1 Reply Last reply Reply Quote 0
                    • Dave RD Offline
                      Dave R
                      last edited by

                      Jim withdrew the majority of his plugins. It may not be available any longer.

                      Etaoin Shrdlu

                      %

                      (THERE'S NO PLACE LIKE)

                      G28 X0.0 Y0.0 Z0.0

                      M30

                      %

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

                      Advertisement