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

    [Plugin] Random Select

    Scheduled Pinned Locked Moved Plugins
    19 Posts 13 Posters 42.4k Views 13 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      I uploaded a duff file for RandomSelect BUT because the regime is to make posts in the depository locked (?) I can't edit it or correct it. I've asked for it to be removed... and it's gone !

      Here's the correct file.

      It is a variant of RandomDelete.rb. It takes the selection and randomly samples the selection to the % entered in the dialog - e.g. 10%.

      You can then do what you want with the now selected items - such as colour, copy, cut, move etc...

      (If you downloaded yesterday's duff one please accept my apologies and get this new one...)PayPalButton

      Please get the latest version of 'Random Select' from the PluginStore http://sketchucation.com/pluginstore?pln=RandomSelect


      RandomSelect.rb

      TIG

      1 Reply Last reply Reply Quote 0
      • plot-parisP Offline
        plot-paris
        last edited by

        as simple as it works - this is a deadly useful script, TIG.

        thank you very much for sharing 👍

        1 Reply Last reply Reply Quote 0
        • P Offline
          pav_3j
          last edited by

          tasty

          thank you

          pav

          Just won the 'Who is Least Competitive Championships' where trying to win will make you lose. Trying to lose makes you win which makes you lose. Not trying at all makes you lose which makes you win which makes you lose.

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

            I just downloaded this and used it and it is great!! Thanks very much for this script!!!

            IOviz.com
            SU Pro 2024 PC

            1 Reply Last reply Reply Quote 0
            • plot-parisP Offline
              plot-paris
              last edited by

              really a great script.
              just in case you get bored, TIG 😄 some suggestions for a RandomSelect 2.0:

              • some sort of soft selection (selection of nearly 100% at the centre and 0% at the outer areas of a circle... or selection density gradually fading from one side to the other).

              soft_selection.jpg

              • or bitmap selection: load a bitmap file and use the grey values for selection density...

              • several selection sets out of one selection: you select all the entities and then, using the script, select only lets say 25% of them. now you transform/move/paint them. then you click the selection button again and get the next 25% of the initial selection... and then the next 25%... and finally the remaining 25%...
                (at the moment I am using a hidden layer, moving the transformed entities to that layer after each step)

              what do you think? usefull ideas?

              1 Reply Last reply Reply Quote 0
              • K Offline
                kwistenbiebel
                last edited by

                @plot-paris said:

                what do you think? usefull ideas?

                Very!

                1 Reply Last reply Reply Quote 0
                • A Offline
                  AcesHigh
                  last edited by

                  hey Tig, you could implement Plot Paris ideas... as well as including an option for the automatic Component Swap thing I talked on the other thead 😄

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    rami.derbel
                    last edited by

                    thank you very much, your plug-in is very useful ^^

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      skeletor
                      last edited by

                      Thank you thank you thank you! I've been trying to find a work around for applying random colors to like components in a group. I have about 28,500 of these individual components all needing to be more or less randomly colored from a 6 color palette, this has saved me days of clicking, wonderful plugin!

                      1 Reply Last reply Reply Quote 0
                      • KrisidiousK Offline
                        Krisidious
                        last edited by

                        And it's companion random delete... thanks Tig. There's treasure in this forum. Is this not in the store? Searched in the store plugin and couldn't find it.

                        By: Kristoff Rand
                        Home DesignerUnique House Plans

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

                          How about search for random.
                          I'm not sure if searches copy and paste but you can try the link.
                          http://sketchucation.com/pluginstore?listtype=1%26amp;author=0%26amp;category=0%26amp;search=random%26amp;submit=%3F

                          1 Reply Last reply Reply Quote 0
                          • KrisidiousK Offline
                            Krisidious
                            last edited by

                            I'm talking about in the plugin for the plugin store. the installer.

                            When I search for RandomSelect.rb or RandomSelect I get this.

                            pluginstore search.JPG

                            When I search for just the word random I find it.

                            By: Kristoff Rand
                            Home DesignerUnique House Plans

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

                              They are one and the same thing.
                              Just type Random in the search box and it will find anything with the word Random used in it.
                              If you were scrolling through Tigs looking for it perhaps you didn't have his filter set to full list.

                              I see you added more while I was posting, but I'll leave this as is.


                              Random.JPG

                              1 Reply Last reply Reply Quote 0
                              • KrisidiousK Offline
                                Krisidious
                                last edited by

                                The point isn't really this plugin alone. some plugins are named something different for the .rb file than the actual name, like an acronym, an author name with abbreviation etc.. Searching for the actual ruby name should find a plugin, no? While scanning my change over installation I look at the folder to see the names and compare with the new installation. I find these and have to try and play Sherlock Holmes to figure out which plugin it was and if I want to bring it over. Some are easier to figure out than others. I would think that file name could or should be part of the searchable database.

                                I might add I had the same issue in Sketchup's Extension installer. just having the twowords stuck together without a space was enough to bring up a negative result.

                                By: Kristoff Rand
                                Home DesignerUnique House Plans

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

                                  All search engines have their idiosyncrasies. I find less is more in this instance.
                                  I'd search for full names with .rb etc in the forum search first so I have a better idea what I'm looking for.

                                  1 Reply Last reply Reply Quote 0
                                  • TIGT Offline
                                    TIG Moderator
                                    last edited by

                                    There's now a link to the PluginStore entry in the first post ! 😒

                                    TIG

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

                                      This plugin just saved me so much time! Thank you!

                                      1 Reply Last reply Reply Quote 0
                                      • E Offline
                                        Einstein
                                        last edited by

                                        Thank you, TIG, for such good understanding needs of every 3D modelling guy! In my opinion 3D modelling software should focus on improving selection because it is one of the most important steps in computer graphics - when you already have selected exactly what you needed, you can already make almost everything easily. Selecting is such a basic action but sometimes it takes sooo much time that it's vital to speed it up.

                                        1 Reply Last reply Reply Quote 0
                                        • jenujacobJ Offline
                                          jenujacob
                                          last edited by

                                          @plot-paris said:

                                          really a great script.
                                          just in case you get bored, TIG 😄 some suggestions for a RandomSelect 2.0:

                                          • some sort of soft selection (selection of nearly 100% at the centre and 0% at the outer areas of a circle... or selection density gradually fading from one side to the other).

                                          [attachment=0:1y6pbzy4]<!-- ia0 -->soft_selection.jpg<!-- ia0 -->[/attachment:1y6pbzy4]

                                          • or bitmap selection: load a bitmap file and use the grey values for selection density...

                                          • several selection sets out of one selection: you select all the entities and then, using the script, select only lets say 25% of them. now you transform/move/paint them. then you click the selection button again and get the next 25% of the initial selection... and then the next 25%... and finally the remaining 25%...
                                            (at the moment I am using a hidden layer, moving the transformed entities to that layer after each step)

                                          what do you think? usefull ideas?

                                          apologies for bringing this 10+ year old thread back up! but i am in need of such a tool which plot paris has suggested. anyone got some ideas??? 😄

                                          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