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

    [Request] Create groups from multiple selections

    Scheduled Pinned Locked Moved Plugins
    7 Posts 6 Posters 1.0k 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.
    • EdsonE Offline
      Edson
      last edited by

      i have looked around the usual sites but could not find a ruby script that does what i need: given a selection of volumes like the one in the image below (in this case representing buildings that populate a large terrain) create a group for each individual set of faces and edges, that is, each box becomes a group.

      is this feasible? it seems that it has been tried with a script called make_components but it is buggy as hell and crashes sketchup at each attempt.

      i hope someone is challenged enough to do it.

      EDIT: our friend miguel (ecuadorian) called to my attention the fact that in the US "challenged" usually means "handicapped". to make my intentions clear, i mean "challenged" in the sense of inviting (someone) to do something one thinks to be difficult. i apologize to anyone who may habe been offended by my clumsy use of the english language.


      Picture 14.png

      edson mahfuz, architect| porto alegre • brasil
      http://www.mahfuz.arq.br

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

        So basically you want the plugin to make all connected geometry a group?

        http://remusrendering.wordpress.com/

        1 Reply Last reply Reply Quote 0
        • bagateloB Offline
          bagatelo
          last edited by

          favicon

          (www.smustard.com)

          Very Useful, I use this script all the time.

          While the cat's away, the mice will play

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

            I wrote this a while ago.
            It explodes a group and makes new separate groups of all connected geometry that was in the group...
            To use it for your situation you should select everything you want, group them, then run this (context-menu) 'Explode to Groups' on this new temporary group - I've tried it and it should do what you want, Only one extra step and quick if you have a 'Make Group' shortcut key ☀Explode2Groups.rb

            TIG

            1 Reply Last reply Reply Quote 0
            • thomthomT Offline
              thomthom
              last edited by

              Chris got some here at SCF: http://forums.sketchucation.com/viewtopic.php?f=180&t=16154

              Thomas Thomassen — SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

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

                I wrote that loose2Groups script specifically for this reason. I often trace bldg outlines, and pull them up to some generic height. Then after about 500 of these, its a pain to go through and group them, as you know. So either TIG's or my loose2groups should do the trick. They are quite useful for this,

                Chris

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

                1 Reply Last reply Reply Quote 0
                • EdsonE Offline
                  Edson
                  last edited by

                  @remus said:

                  So basically you want the plugin to make all connected geometry a group?

                  @remus,
                  absolutely. this is what i want.

                  @chris and TIG,
                  my thanks and apologies to both of you. i kind of suspected some of you would have created a similar script. i did not find any of them because i ran a search here at SCF for "group" and "groups". it returned nothing because in chris' case the script is elsewhere and in TIG's the word is not isolated in the name of the script.

                  apart from that, there are so many scripts around (and in my HD) that finding one without remembering its name is not always easy...

                  @TIG,
                  i do not see the extra step as a problem as most of the time i do not want to group all connected geometry but specific groups.

                  once more, thanks to both.

                  edson mahfuz, architect| porto alegre • brasil
                  http://www.mahfuz.arq.br

                  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