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

How to make groups automatically from connected faces?

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
11 Posts 5 Posters 1.7k 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.
  • C Offline
    cuttingedge
    last edited by 19 Jul 2015, 06:43

    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
    • B Offline
      Box
      last edited by 19 Jul 2015, 07:33

      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 19 Jul 2015, 21:38

        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 20 Jul 2015, 08:12

          @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
          • S Offline
            sdmitch
            last edited by 20 Jul 2015, 14:16

            @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 21 Jul 2015, 08:46

              [/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
              • P Offline
                pilou
                last edited by 21 Jul 2015, 09:32

                @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 21 Jul 2015, 20:18

                  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
                  • S Offline
                    sdmitch
                    last edited by 22 Jul 2015, 00:30

                    @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 27 Jul 2015, 02:56

                      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
                      • S Offline
                        sdmitch
                        last edited by 27 Jul 2015, 14:02

                        @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
                        1 / 1
                        • First post
                          1/11
                          Last post
                        Buy SketchPlus
                        Buy SUbD
                        Buy WrapR
                        Buy eBook
                        Buy Modelur
                        Buy Vertex Tools
                        Buy SketchCuisine
                        Buy FormFonts

                        Advertisement