sketchucation logo sketchucation
    • Login
    โš ๏ธ Attention | Having issues with Sketchucation Tools 5? Report Here

    [Plugin] Purge All

    Scheduled Pinned Locked Moved Plugins
    65 Posts 32 Posters 139.9k 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.
    • 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
                    • C Offline
                      cupko
                      last edited by

                      Just want to thanks TIG on this amazing plugin ๐Ÿ˜„ ๐Ÿ‘

                      1 Reply Last reply Reply Quote 0
                      • W Offline
                        watkins
                        last edited by

                        Dear TIG,

                        This plugin would be even better with two icons: Purge All (no choice) and Purge Selected (with the dialogue box and choices).

                        Is this something that you could add to your long to-do list?

                        Best wishes,
                        Bob

                        1 Reply Last reply Reply Quote 0
                        • W Offline
                          watkins
                          last edited by

                          Dear TIG,

                          Would it be possible for the 'report' to list what it has purged? At the moment it simply tells you how many of each type it has purged (6 components, 2 layers etc), but not what. I would find that option really useful when working on large models

                          Kind regards,
                          Bob

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

                            @watkins said:

                            Dear TIG,
                            Would it be possible for the 'report' to list what it has purged? At the moment it simply tells you how many of each type it has purged (6 components, 2 layers etc), but not what. I would find that option really useful when working on large models
                            Kind regards,
                            Bob

                            It would have to be into some 'log' file with the model - say log='Model-Purgelog.txt' which auto opens if you have 'Report' set. [That could extend to No|Yes|Log ]. It WOULD take more time as it needs to make a lists for each type purged - e.g. for components defsIN=model.definitions.to_a and then after the purge defsOUT=model.definitions.to_a, then find what's 'gone' defsGONE=defsIN-defsOUT, then find their names and add them to the 'log' with defsGONE.each{|d|file.puts(d.name)}... I'll think about it... ๐Ÿค“

                            TIG

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

                              Here's v1.5 http://forums.sketchucation.com/viewtopic.php?p=82559#p82559
                              The Report option now has Yes/No/Log
                              If you choose 'Log' then as well as reporting the numbers purged in a dialog, it also writes a file called 'ModelName-PurgeLog.txt' into the model's folder [or 'Untitled-...' and in the 'default folder' if it's yet to be saved]: that file then auto-opens at the end - it lists the numbers AND the 'names' of each of the purged items...
                              All as Bob's [watkins] request ๐Ÿ˜‰

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • W Offline
                                watkins
                                last edited by

                                Dear TIG,

                                Thank you so much for making the changes. I will find the additions very useful.

                                Kind regards,
                                Bob

                                1 Reply Last reply Reply Quote 0
                                • W Offline
                                  watkins
                                  last edited by

                                  Dear TIG,

                                  Just a quick note to thank you for the additions. The plugin is now definitely the dog's love spuds (translate that into Spanish).

                                  Thanks,
                                  Bob

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

                                    @watkins said:

                                    Dear TIG,

                                    Just a quick note to thank you for the additions. The plugin is now definitely the dog's love spuds (translate that into Spanish).

                                    Thanks,
                                    Bob

                                    Seconded!

                                    Another Bob

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      troikhongxanh
                                      last edited by

                                      cool !!! thank you very much

                                      1 Reply Last reply Reply Quote 0
                                      • halroachH Offline
                                        halroach
                                        last edited by

                                        I just saw this post, and posted a REQ which might be related to this:
                                        http://forums.sketchucation.com/viewtopic.php?f=323&t=41498

                                        It would be really useful to purge all models within a folder or a set of folders... (I believe it would save on tons of wasted space)

                                        FlexTools - Super Quick Windows, Doors, Slats...

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

                                          Not a bad idea. I'd like to see all the models on the server purged. So many that are never purged... grrrr

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

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

                                            Yeah, this project seems ideal for doing these batch operations... too bad no one is working on it.

                                            Hi

                                            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