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

    [Plugin] Purge All

    Scheduled Pinned Locked Moved Plugins
    65 Posts 32 Posters 139.2k Views 32 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      Get the latest version from the PluginsStore http://sketchucation.com/pluginstore?pln=PurgeAll

      TIG

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

        probably my most used ruby. πŸ˜„

        http://www.solos-art.com

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

        1 Reply Last reply Reply Quote 0
        • jcdbJ Offline
          jcdb
          last edited by

          @tig said:

          From the horse's mouth...

          Thanks TIG.

          I got some purging to do.

          http://www.acustombuilder.com

          1 Reply Last reply Reply Quote 0
          • C Offline
            cyan.archnet
            last edited by

            THANKS A LOT!!

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

              Quick question. When you say purge all, what exactly does it purge? It just sounds a bit scary.

              1 Reply Last reply Reply Quote 0
              • J Offline
                Jim
                last edited by

                @chango70 said:

                Quick question. When you say purge all, what exactly does it purge? It just sounds a bit scary.

                Good point... It Purges all UNUSED Components, Layers, Materials, Styles.


                purgeall.jpg

                Hi

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

                  Cool! Where have I been without this script!!!

                  1 Reply Last reply Reply Quote 0
                  • Mike LuceyM Offline
                    Mike Lucey
                    last edited by

                    A very useful script, thanks again TIG πŸ‘

                    Support us so we can support you! Upgrade to Premium Membership!

                    1 Reply Last reply Reply Quote 0
                    • TIGT Offline
                      TIG Moderator
                      last edited by

                      'Purge' is used in the sense of cleansing - purifying - getting rid of unwanted things.

                      It is the automated version of 'Purge Unused...' option that's available as a pop-out for individual types of things.

                      This script will remove from the model's data-base unused Components, Layers, Materials or Styles in any combination - allowing you to keep say Materials whilst clearing up the rest... It also reports what's been done if that option is selected. You already can globally purge-unused everything using the Model Info > Statistics dialog - but then that's everything that's unused - no choices, and you might want to keep some kinds of things...

                      .

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        pibuz
                        last edited by

                        ..er..sorry..
                        But doesn't the "PURGE UNUSED" option in MODEL INFO->STATISTICS just the same?

                        WEB (ita) - https://filipposcarso.wixsite.com/ordinentropico

                        1 Reply Last reply Reply Quote 0
                        • BurkhardB Offline
                          Burkhard
                          last edited by

                          @tig said:

                          You already can globally purge-unused everything using the Model Info > Statistics dialog - but then that's everything that's unused - no choices, and you might want to keep some kinds of things...

                          .

                          😎

                          [http://www.ia-plus.de(http://www.ia-plus.de)]

                          1 Reply Last reply Reply Quote 0
                          • Dave RD Offline
                            Dave R
                            last edited by

                            @pibuz said:

                            ..er..sorry..
                            But doesn't the "PURGE UNUSED" option in MODEL INFO->STATISTICS just the same?

                            As TIG says and Burkhard quoted you have options with the plugin. In addition, you can set a keyboard shortcut for it to make it easier to do.

                            Etaoin Shrdlu

                            %

                            (THERE'S NO PLACE LIKE)

                            G28 X0.0 Y0.0 Z0.0

                            M30

                            %

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              Mr S
                              last edited by

                              Well, it might not provide any fancy effects but this is an addictive little tool.
                              Its amazing how much "stuff" is hiding in the background that you are unaware of.
                              Particulary after importing CAD drawings it removes a lot of unwanted content.
                              I keep wanting to run it every five minutes to see if it can remove anything else that shouldn't be there!

                              Thanks.

                              Mr S

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                j40
                                last edited by

                                I tried to use purgeall.rb on my scene, but it fezzes SU and than crash. 😲
                                Similar thing happens when i use su's purge on this model.
                                I have more than 200 materials of witch i use only 5 !

                                Top3D Studio

                                1 Reply Last reply Reply Quote 0
                                • Chris FullmerC Offline
                                  Chris Fullmer
                                  last edited by

                                  Try doing a manual purge by going to Window>Model Info>Statistics>Purge All

                                  See if that crahes SU also.

                                  Chris

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

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

                                    @chris fullmer said:

                                    Try doing a manual purge by going to Window>Model Info>Statistics>Purge All

                                    See if that crahes SU also.

                                    @unknownuser said:

                                    Similar thing happens when i use su's purge on this model.

                                    Sounds like it's something with the model.
                                    Have you tried importing to a new file?

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

                                    1 Reply Last reply Reply Quote 0
                                    • Chris FullmerC Offline
                                      Chris Fullmer
                                      last edited by

                                      😳 Oops, I totally missed the line where J40 said they had already tried it manually. Sorry!

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

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

                                        I've recently had some issues with purge all and VRay 1.05. Basically the purge all removes some relinked Jpeg texture overides (they remain in the Sketchup Model but just doesn't render). Can be fixed easily be relinking the image. Is there a way around this? Or should I create SKMs manually for all the new textures I use?

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

                                          @chango70 said:

                                          I've recently had some issues with purge all and VRay 1.05. Basically the purge all removes some relinked Jpeg texture overides (they remain in the Sketchup Model but just doesn't render). Can be fixed easily be relinking the image. Is there a way around this? Or should I create SKMs manually for all the new textures I use?

                                          I don't understand.
                                          Texture overrides?
                                          Create SKMs manually?

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

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

                                            @thomthom said:

                                            @chango70 said:

                                            I've recently had some issues with purge all and VRay 1.05. Basically the purge all removes some relinked Jpeg texture overides (they remain in the Sketchup Model but just doesn't render). Can be fixed easily be relinking the image. Is there a way around this? Or should I create SKMs manually for all the new textures I use?

                                            I don't understand.
                                            Texture overrides?
                                            Create SKMs manually?

                                            What I mean is. When you are unsatisfied with a defaul sketchup texture (.skm) what we do is relink it to a new texture.
                                            If you rename the relinked file and right click on it and do a save-as, you can save it as a .skm file in your default sketchup material library.

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

                                            Advertisement