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

    How to make groups automatically from connected faces?

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    11 Posts 5 Posters 1.7k Views 5 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.
    • C Offline
      cuttingedge
      last edited by

      I wonder if we have a plugin that can make group of connected faces automatically.

      I scanned a pattern quite intricate and irregular, turned them to vector and run make faces to create the pattern.

      Now I want to create separate groups from the connected faces.

      What im trying to do is this:

      Imagine a map of thousand islands. I managed to import the vector and make faces out of it.Now I want to make each island a group rather than One group having disconnected faces.

      Do we have such plugin?

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

        Have a go with Chris Fullmer's Loose to Groups.
        https://extensions.sketchup.com/en/content/clf-loose-groups

        1 Reply Last reply Reply Quote 0
        • U Offline
          unearthed
          last edited by

          Loose to groups only seems to work with unconnected faces,
          try bentleykfrog's Face(s) to group(s), http://sketchucation.com/forums/viewtopic.php?t=31892 - I've just tried it and it works perfectly


          faces to groups.JPG

          Growplan - People ∩ Plants ∩ Place

          windows 7 64b, 4GB RAM, SU 8.0.16846
          Gimp, QGIS, Vectorworks 12, Bricscad 11

          1 Reply Last reply Reply Quote 0
          • C Offline
            cuttingedge
            last edited by

            @box said:

            Have a go with Chris Fullmer's Loose to Groups.
            https://extensions.sketchup.com/en/content/clf-loose-groups

            πŸ˜„ ..might just be what I need. Couldnt find it here in Sketchucation though. 😞

            1 Reply Last reply Reply Quote 0
            • sdmitchS Offline
              sdmitch
              last edited by

              @cuttingedge said:

              I wonder if we have a plugin that can make group of connected faces automatically.

              I scanned a pattern quite intricate and irregular, turned them to vector and run make faces to create the pattern.

              Now I want to create separate groups from the connected faces.

              What im trying to do is this:

              Imagine a map of thousand islands. I managed to import the vector and make faces out of it.Now I want to make each island a group rather than One group having disconnected faces.

              Do we have such plugin?

              It can be as simple as this

              
              mod = Sketchup.active_model
              ent = mod.active_entities
              mod.start_operation "connected to group"
              begin
               faces = ent.grep(Sketchup;;Face)
               grp = ent.add_group faces[0].all_connected
              end while ent.grep(Sketchup;;Face)[0]
              mod.commit_operation
              
              

              Nothing is worthless, it can always be used as a bad example.

              http://sdmitch.blogspot.com/

              1 Reply Last reply Reply Quote 0
              • C Offline
                cuttingedge
                last edited by

                [/quote]

                It can be as simple as this

                [/code][/quote]

                Wow, Now you got me interested in codes...

                πŸ˜„

                1 Reply Last reply Reply Quote 0
                • pilouP Offline
                  pilou
                  last edited by

                  @unknownuser said:

                  might just be what I need. Couldnt find it here in Sketchucation though.

                  Seems it is, or the same a link to Smustard! πŸ˜‰

                  And maybe you can find some utility to this
                  Groups to Components by Thomthom
                  and Comparaison Components By Thomthom

                  Frenchy Pilou
                  Is beautiful that please without concept!
                  My Little site :)

                  1 Reply Last reply Reply Quote 0
                  • U Offline
                    unearthed
                    last edited by

                    While this topic is active....

                    Starting with the original loose connected faces, would it be possible to keep the loose faces as a live base, to enable topological editing http://www.esri.com/news/arcuser/0401/topo.html, that is when you move a vertex the surrounding faces update.

                    And then to (somehow) bring this linework through to the groups or components.

                    This would be really useful for parcel layouts for land subdivision where moving a vertex would change lot sizes for at least two lots and often three or four.

                    Maybe give each face a tag (if tag was editable that's be great) to carry through to the group/component for BIM/analysis.

                    I don't know, maybe impossible but one can dream.

                    Growplan - People ∩ Plants ∩ Place

                    windows 7 64b, 4GB RAM, SU 8.0.16846
                    Gimp, QGIS, Vectorworks 12, Bricscad 11

                    1 Reply Last reply Reply Quote 0
                    • sdmitchS Offline
                      sdmitch
                      last edited by

                      @unearthed said:

                      While this topic is active....

                      Starting with the original loose connected faces, would it be possible to keep the loose faces as a live base, to enable topological editing http://www.esri.com/news/arcuser/0401/topo.html, that is when you move a vertex the surrounding faces update.

                      And then to (somehow) bring this linework through to the groups or components.

                      This would be really useful for parcel layouts for land subdivision where moving a vertex would change lot sizes for at least two lots and often three or four.

                      Maybe give each face a tag (if tag was editable that's be great) to carry through to the group/component for BIM/analysis.

                      I don't know, maybe impossible but one can dream.

                      Whether the faces are grouped or not does not limit your ability to move an individual vertex which will automatically change all the faces that use that vertex.

                      Unlike dimensions, text isn't associated with a specific entity so it will not automatically update on its' own but can be placed and edited from a plugin.

                      Something like this


                      area label.gif

                      Nothing is worthless, it can always be used as a bad example.

                      http://sdmitch.blogspot.com/

                      1 Reply Last reply Reply Quote 0
                      • U Offline
                        unearthed
                        last edited by

                        Hi Sdmitch - Does your example above exist as a plugin? Utimately what I'm hoping for is a way to have an area of loose faces representing a subdivision parcel (maybe they're in a group or component - whatever works), and then have individual components representing each face - is there a way in Su for a face in a component to reference a loose face elsewhere in the file (I'll also ask this as a separate question on the main page)

                        Growplan - People ∩ Plants ∩ Place

                        windows 7 64b, 4GB RAM, SU 8.0.16846
                        Gimp, QGIS, Vectorworks 12, Bricscad 11

                        1 Reply Last reply Reply Quote 0
                        • sdmitchS Offline
                          sdmitch
                          last edited by

                          @unearthed said:

                          Hi Sdmitch - Does your example above exist as a plugin? Utimately what I'm hoping for is a way to have an area of loose faces representing a subdivision parcel (maybe they're in a group or component - whatever works), and then have individual components representing each face - is there a way in Su for a face in a component to reference a loose face elsewhere in the file (I'll also ask this as a separate question on the main page)

                          Yes, I will PM it to you. At present, the faces can be loose or in a group or component. If they are in a group or component, then that group or component must be opened for edit. Creating a component or group for each individual face will separate it from its neighbors so modifying a boundary edge will not be reflected in the neighbor. I can't think of any way for a face in a component to reference another face elsewhere in the model.

                          Nothing is worthless, it can always be used as a bad example.

                          http://sdmitch.blogspot.com/

                          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