sketchucation logo sketchucation
    • Login
    ⚠️ Attention | Having issues with Sketchucation Tools 5? Report Here

    File Size Plugin Idea

    Scheduled Pinned Locked Moved Plugins
    13 Posts 5 Posters 342 Views 5 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.
    • E Offline
      ericschimel
      last edited by

      That plugin looks like it just covers edges and faces... Something for materials and styles would be awesome....

      -Eric
      http://plugin.sketchthis.net
      Sketchup Kitchen Design Plugin
      Custom Models

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

        Time to dig out your Automatic for SketchUp book and brush up on those ruby skills.

        There is a Texture resizer plugin.

        But, yes, there isn't what you asked originally and that would be a very nice visual aid.

        Download the free D'oh Book for SketchUp 📖

        1 Reply Last reply Reply Quote 0
        • PixeroP Offline
          Pixero
          last edited by

          Goldilock shows you texture sizes depending on distance to camera. Has helped me a lot.

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

            Don't think there is any access to the watermarks in Styles - nor figuring out the background image for photomatch scenes. I've seen models with 10-15 megapixel photos that's made the .skp obscenely large - too bad these could not be analyzed for such a plugin.

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

            1 Reply Last reply Reply Quote 0
            • E Offline
              ericschimel
              last edited by

              I wonder how images are stored in a SKP, is it as easy as a LayOut, where it's actually a ZIP file?

              -Eric
              http://plugin.sketchthis.net
              Sketchup Kitchen Design Plugin
              Custom Models

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

                @unknownuser said:

                I wonder how images are stored in a SKP, is it as easy as a LayOut, where it's actually a ZIP file?

                They are binary embedded. I spend quite some time a couple of year ago reverse engineering the format. Figured out parts of it - but it's complex. You can look for image format signatures, if you know them. ..though if I remember correctly, you can scan for know image blocks and perhaps look for indicated block data size.

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

                1 Reply Last reply Reply Quote 0
                • E Offline
                  ericschimel
                  last edited by

                  I wonder if you could do some crazy thing where each texture is deleted, the file is saved, size is calculated, and the texture is put back instantly...

                  That sounds really kludgy though....

                  -Eric
                  http://plugin.sketchthis.net
                  Sketchup Kitchen Design Plugin
                  Custom Models

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

                    @unknownuser said:

                    I wonder if you could do some crazy thing where each texture is deleted, the file is saved, size is calculated, and the texture is put back instantly...

                    That sounds really kludgy though....

                    Way to hacky for something that analyses the model. You lose all UV mapping info when you remove a material. You'd have to save a copy - but nah...
                    And you'd still not get access to the Style images - that is the main problem. There is not even methods to read the watermark info.

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

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      ericschimel
                      last edited by

                      I feel my dream slipping away... 😄

                      -Eric
                      http://plugin.sketchthis.net
                      Sketchup Kitchen Design Plugin
                      Custom Models

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        Ecuadorian
                        last edited by

                        Well, this is not going to cover watermarks, but for textures in materials you can always export your model as DAE. This way you end up with a folder full of textures and you can see which ones are the fatter in terms of KB.

                        Unfortunately I don't know of a way to find textures by filename inside a SketchUp file. You'll have to visually scan your model in search of the offending texture.

                        BTW, I use Goldilocks with a camera far, far away, as this way it won't list textures that are too big for a particular view, but textures that are too big in general.

                        Note that Goldilocks only finds textures too big in pixels... not too big in file size.

                        -Miguel Lescano
                        Subscribe to my house plans YouTube channel! (30K+ subs)

                        1 Reply Last reply Reply Quote 0
                        • E Offline
                          ericschimel
                          last edited by

                          That DAE export thing isn't a bad idea, it would certainly be a good way to diagnose a bad model... I'll have to try that...

                          -Eric
                          http://plugin.sketchthis.net
                          Sketchup Kitchen Design Plugin
                          Custom Models

                          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