• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] inputbox.rb Simplified Script Options

Scheduled Pinned Locked Moved Plugins
9 Posts 6 Posters 12.6k 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 Jim 15 May 2009, 16:09

    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
    • C Offline
      Chris Fullmer
      last edited by 15 May 2009, 16:33

      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
      • D Offline
        Dan Rathbun
        last edited by 11 Aug 2011, 13:38

        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 7 Mar 2014, 00:06

          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
          • D Offline
            Dan Rathbun
            last edited by 7 Mar 2014, 03:28

            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 21 Mar 2014, 08:55

              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 8 Aug 2014, 02:40

                @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 19 Nov 2020, 10:30

                  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
                  • D Offline
                    Dave R
                    last edited by 20 Nov 2020, 23:09

                    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