• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

[REQ] replace all similar groups with component

Scheduled Pinned Locked Moved Plugins
23 Posts 7 Posters 453 Views 7 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.
  • S Offline
    solo
    last edited by 13 Feb 2013, 16:17

    Is there a plugin that I can use to replace all similar, or even selected groups with a component?

    I have a tree with thousands of leaves, unfortunately they are groups and all the same, but because the tree was created in a 3rd party app they do not all originate from one group so this makes the model very heavy, if I could replace them all with a created component it would reduce the size and give me the opportunity to dynamically change leaves for seasons.

    http://www.solos-art.com

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

    1 Reply Last reply Reply Quote 0
    • R Offline
      Rich O Brien Moderator
      last edited by 13 Feb 2013, 16:27

      Wyatt has a tutorial in an edition of CatchUp that goes through this. The tut is also in the tutorials forum as a PDF.

      It requires 2 plugins one is Thomthom' Replace Similar. But it does not work all the time but I have had success.

      Download the free D'oh Book for SketchUp πŸ“–

      1 Reply Last reply Reply Quote 0
      • R Offline
        Rich O Brien Moderator
        last edited by 13 Feb 2013, 16:28

        Edition 11

        Download the free D'oh Book for SketchUp πŸ“–

        1 Reply Last reply Reply Quote 0
        • A Offline
          andybot
          last edited by 13 Feb 2013, 16:28

          I don't recall offhand, but I think it's group to component plugin that I use to do this. In the outliner, you can select the group, and there's an option to convert all instances of the group to component. Then you can reload the component as you normally would.

          Edit: that's right, it's TT's tool.

          http://charlottesvillearchitecturalrendering.com/

          1 Reply Last reply Reply Quote 0
          • P Offline
            pilou
            last edited by 13 Feb 2013, 16:35

            Maybe you can make something with the tricky Remplace randomly Component by Sdmitch! πŸ˜‰

            Just choose Sources and Targets with perpicacity! πŸ˜„

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

            1 Reply Last reply Reply Quote 0
            • S Offline
              solo
              last edited by 13 Feb 2013, 16:55

              Here is a test tree, I want to replace the leaves with the circular component on floor (just a test component)

              Is it possible, I just noticed that the leaves are not actually individual groups so this will make things even more challenging, I really hope there is a solution to this as I really want to create a series of SU trees.

              http://dl.dropbox.com/u/1129899/test%20tree.skp

              http://www.solos-art.com

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

              1 Reply Last reply Reply Quote 0
              • R Offline
                Rich O Brien Moderator
                last edited by 13 Feb 2013, 16:59

                Chris Fullmers Loose Geometry to groups to capture leaves

                Download the free D'oh Book for SketchUp πŸ“–

                1 Reply Last reply Reply Quote 0
                • P Offline
                  pilou
                  last edited by 13 Feb 2013, 17:00

                  I can't test it's not a v7 file! πŸ˜‰

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

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    solo
                    last edited by 13 Feb 2013, 17:01

                    @rich o brien said:

                    Chris Fullmers Loose Geometry to groups to capture leaves

                    😲

                    There is such a plugin?

                    SU 7
                    http://dl.dropbox.com/u/1129899/test%20tree.skp

                    http://www.solos-art.com

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

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      Rich O Brien Moderator
                      last edited by 13 Feb 2013, 17:12

                      Read Wyatt's tut as I told you already. It is the only way to do this.

                      Download the free D'oh Book for SketchUp πŸ“–

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        solo
                        last edited by 13 Feb 2013, 17:15

                        @rich o brien said:

                        Read Wyatt's tut as I told you already. It is the only way to do this.

                        I'll do dat, funny how one only reads stuff that one has a need to know, I remember browsing that edition but not reading that tut as at the time I had no need for it, then one forgets about it.

                        http://www.solos-art.com

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

                        1 Reply Last reply Reply Quote 0
                        • Chris FullmerC Offline
                          Chris Fullmer
                          last edited by 13 Feb 2013, 17:21

                          Loose to Groups - First plugin I ever released I think. I import a LOT of building footprints from GIS or CAD data. Then I go through and push/pull them up to some random height that is approximately as tall as they should be. Then I'm left with hundreds of buildings that are ungrouped and very difficult to work with. So I made Loose 2 Groups.

                          favicon

                          (www.smustard.com)

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

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            solo
                            last edited by 13 Feb 2013, 18:30

                            @chris fullmer said:

                            Loose to Groups - First plugin I ever released I think. I import a LOT of building footprints from GIS or CAD data. Then I go through and push/pull them up to some random height that is approximately as tall as they should be. Then I'm left with hundreds of buildings that are ungrouped and very difficult to work with. So I made Loose 2 Groups.

                            favicon

                            (www.smustard.com)

                            I have many leaves, I have left your script to run for ober an hour now, is this normal?

                            http://www.solos-art.com

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

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              Rich O Brien Moderator
                              last edited by 13 Feb 2013, 18:46

                              How many?

                              Use Vertex Tools or Count Faces to figure it out.

                              I've seen 10,000 leaves take some time.....

                              Sent from my iPad

                              Download the free D'oh Book for SketchUp πŸ“–

                              1 Reply Last reply Reply Quote 0
                              • EarthMoverE Offline
                                EarthMover
                                last edited by 13 Feb 2013, 19:40

                                Here's an option. Crude but fast. Using Chris's Components onto Faces plugin.


                                test tree_fix.jpg


                                test tree_fix.skp

                                3D Artist at Clearstory 3D Imaging
                                Guide Tool at Winning With Sketchup
                                Content Creator at Skapeup

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  solo
                                  last edited by 13 Feb 2013, 19:56

                                  @earthmover said:

                                  Here's an option. Crude but fast. Using Chris's Components onto Faces plugin.

                                  That's what I'm talking about, I like the result, even though I plan to simplify the leaves not give more geometry with the circle. I could not increase size of the video to see what you clicked as it's blurry when in full screen mode, could you explain the steps?

                                  http://www.solos-art.com

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

                                  1 Reply Last reply Reply Quote 0
                                  • EarthMoverE Offline
                                    EarthMover
                                    last edited by 13 Feb 2013, 20:06

                                    Try it on HD. Could be youtube was still processing it. Or click the "YouTube" link and it should link to the HD version.

                                    It was simple.

                                    Just select all faces and the one component.

                                    Use Chris's plugin - components onto faces and use the "face groups" option. EDIT "Face Collections" not face groups.

                                    Then I just selected the original faces with their edges and deleted them.

                                    Adjusted the texture.

                                    Should work for background trees. Problem is obviously the leaf direction being upside down on some of the leaves.

                                    Working on trying to do something similar with an evermotion plant. I'll let you know if I find a better way.

                                    3D Artist at Clearstory 3D Imaging
                                    Guide Tool at Winning With Sketchup
                                    Content Creator at Skapeup

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      pilou
                                      last edited by 13 Feb 2013, 20:27

                                      As I have a very old computer and no many memory
                                      I kill a big part of your leaves πŸ˜„
                                      Then all explode them
                                      Apply the snipset of Tig All Selection faces to components
                                      And then Apply the Sdmitch Component replacement
                                      (just don't forget to name the "Source" , and all components leaves "Target"
                                      Seems works fine πŸ˜„

                                      replace.jpg

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

                                      1 Reply Last reply Reply Quote 0
                                      • sdmitchS Offline
                                        sdmitch
                                        last edited by 13 Feb 2013, 21:06

                                        Solo, "This is deja vu all over again"

                                        http://sketchucation.com/forums/viewtopic.php?f=323&t=44069&hilit=groups+components

                                        Then like now, changing a group to a component didn't significantly reduce the size of the file. The only thing really gained is the ability to edit all instance at once.

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

                                        http://sdmitch.blogspot.com/

                                        1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          solo
                                          last edited by 13 Feb 2013, 21:26

                                          I thought I'd asked this before. That's the problem with getting old.

                                          So what would be the best way to take a tree like in my sample and reducing or consolidating it to a point where it's light enough for SU yet detailed enough for rendering?

                                          http://www.solos-art.com

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

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            1/23
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement