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

    [REQ] replace all similar groups with component

    Scheduled Pinned Locked Moved Plugins
    23 Posts 7 Posters 471 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.
    • pilouP Offline
      pilou
      last edited by

      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
      • soloS Offline
        solo
        last edited by

        @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
        • Rich O BrienR Offline
          Rich O Brien Moderator
          last edited by

          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
          • soloS Offline
            solo
            last edited by

            @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

              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
              • soloS Offline
                solo
                last edited by

                @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
                • Rich O BrienR Offline
                  Rich O Brien Moderator
                  last edited by

                  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

                    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
                    • soloS Offline
                      solo
                      last edited by

                      @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

                        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
                        • pilouP Offline
                          pilou
                          last edited by

                          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

                            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
                            • soloS Offline
                              solo
                              last edited by

                              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
                              • Rich O BrienR Offline
                                Rich O Brien Moderator
                                last edited by

                                More leaves on one quad. Less quads.

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

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

                                  And don't forget that the Sdmitch Plugin allow you to take several different components as "Source" for a better tree leaves simulation! πŸ€“

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

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

                                    TIG has also some snipsets for this sort of things πŸ˜‰
                                    (all codes must be on one line in the ruby console!!!

                                    Transform objects of a selection in components!

                                    m=Sketchup.active_model;
                                    m.start_operation("Faces>Compos");
                                    n=m.active_entities;m.selection.to_a.each{|e|(g=n.add_group(e.all_connected);
                                    g.to_component.definition.name="FaceSet#1")if e.valid? and e.parent==n.parent and e.class==Sketchup;;Face};
                                    m.commit_operation 
                                    

                                    http://forum.zbrush.fr/index.php?PHPSESSID=4e825ae188c60774366f18ac0035054f&action=dlattach;topic=1622.0;attach=15209;image

                                    Tranform any faces in components

                                    
                                    m=Sketchup.active_model;
                                    n=m.active_entities;
                                    m.selection.to_a.each{|e|(g=n.add_group(e);
                                    g.to_component.definition.name="Face#1")if e.class==Sketchup;;Face} 
                                    

                                    http://forum.zbrush.fr/index.php?PHPSESSID=4e825ae188c60774366f18ac0035054f&action=dlattach;topic=1622.0;attach=15210;image

                                    all faces of a selection are transformed in groups
                                    (except groups or components yet existing)

                                    m=Sketchup.active_model;n=m.active_entities;m.selection.to_a.each{|e|n.add_group(e)if e.class==Sketchup;;Face}; 
                                    

                                    http://forum.zbrush.fr/index.php?PHPSESSID=4e825ae188c60774366f18ac0035054f&action=dlattach;topic=1622.0;attach=15211;image

                                    Ps For be complete
                                    Groups to Components by Thomthom

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

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

                                    Advertisement