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

    Make all same components?

    Scheduled Pinned Locked Moved Plugins
    13 Posts 5 Posters 653 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.
    • soloS Offline
      solo
      last edited by

      Is there a script that I can use to make all same faces into components?

      Lets say I have 1000 ungrouped faces with the same image on it (grass) , I'd like to make them all instances of the same component. The problem is it was created like this but a few years ago it was exploded in order to render (when vray had issues with alpha maps or was it nested components?), now I need to make them all components again.

      I thought I remembered a similar script once, but have no idea what it was called so searching is difficult.

      http://www.solos-art.com

      If you see a toilet in your dreams do not use it.

      1 Reply Last reply Reply Quote 0
      • Rich O BrienR Offline
        Rich O Brien Moderator
        last edited by

        Maybe? But they need to be groups first πŸ˜’
        http://forums.sketchucation.com/viewtopic.php?t=29279

        Download the free D'oh Book for SketchUp

        1 Reply Last reply Reply Quote 0
        • soloS Offline
          solo
          last edited by

          That's the problem, they are not grouped. So anyone able to whip up a quick script that can convert faces with the same texture applied to them into groups or components? πŸ˜‰

          http://www.solos-art.com

          If you see a toilet in your dreams do not use it.

          1 Reply Last reply Reply Quote 0
          • Rich O BrienR Offline
            Rich O Brien Moderator
            last edited by

            http://forums.sketchucation.com/viewtopic.php?t=31892

            haven't tried it?

            Download the free D'oh Book for SketchUp

            1 Reply Last reply Reply Quote 0
            • soloS Offline
              solo
              last edited by

              Okay, I was able to create groups from faces, but when I tried to great components from groups I ended up with 2756 unique components...I actually only wanted one component and 2756 instances of it.

              Any ideas?

              http://www.solos-art.com

              If you see a toilet in your dreams do not use it.

              1 Reply Last reply Reply Quote 0
              • Rich O BrienR Offline
                Rich O Brien Moderator
                last edited by

                Thomthom's Component Dropper woulder require you to select 2755 components then run Component Dropper to swap the 2755 with the 1

                Download the free D'oh Book for SketchUp

                1 Reply Last reply Reply Quote 0
                • soloS Offline
                  solo
                  last edited by

                  Got a link?

                  http://www.solos-art.com

                  If you see a toilet in your dreams do not use it.

                  1 Reply Last reply Reply Quote 0
                  • Rich O BrienR Offline
                    Rich O Brien Moderator
                    last edited by

                    Lazy.....

                    http://forums.sketchucation.com/viewtopic.php?t=26008

                    Download the free D'oh Book for SketchUp

                    1 Reply Last reply Reply Quote 0
                    • mariochaM Offline
                      mariocha
                      last edited by

                      Tried selecting all the groups but the #1 and right-click that #1 in the Component manager to Replace Selected. πŸ˜„

                      %(#008000)[Mario C.
                      Every rule has exceptions, but some.]

                      1 Reply Last reply Reply Quote 0
                      • soloS Offline
                        solo
                        last edited by

                        I tried that initially but it then changes the orientaion of all the components to that of the one I selected.

                        http://www.solos-art.com

                        If you see a toilet in your dreams do not use it.

                        1 Reply Last reply Reply Quote 0
                        • mariochaM Offline
                          mariocha
                          last edited by

                          Oh darn it, they do not have their axes on the same relative spot. 😞
                          Maybef the plugin that made the groups could be tweaked.

                          🀣 I just read your signature. 🀣

                          %(#008000)[Mario C.
                          Every rule has exceptions, but some.]

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

                            How about Component Comparison`?

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

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

                              component comparison and matt666's component/groups plugin should do the trick without altering component axes. see my previous post on converting xfrog leaves:

                              http://forums.sketchucation.com/viewtopic.php?f=323&t=30143&hilit=component+comparison&start=15

                              @unknownuser said:

                              the [xfrog] leaves are identical geometry - just a simple rectangle. at least with the models i have. i converted the leaves of a young birch to identical components with matt666's component/groups plugin:

                              http://forums.sketchucation.com/viewtopic.php?t=17590

                              it is quite slow, the plugin and the process - took me several hours: select 200-300 leaves at a time, select faces only with thomthom's selection tools, use matt666's plug to convert entities to components, and then run component comp to make them all the same. don't explode the leaf groups until you've converted them all to components, then it takes only seconds.

                              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