• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] Goldilocks v2.0

Scheduled Pinned Locked Moved Plugins
16 Posts 14 Posters 38.9k Views
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.
  • A Offline
    AdamB
    last edited by AdamB 21 Oct 2010, 19:44

    I keep coming across models with parts that are totally out of kilter detail-wise with the rest of the model.

    Having consistent texture density is important to give a sense of realism but sometimes models carry insanely large textures. Goldilocks can, for a given viewpoint, identify textures that are too large for your usage of them. You will gain nothing but file size by keeping the textures that Goldilocks identifies. It certainly won't help your raytracing etc.

    The original Goldilocks is here http://forums.sketchucation.com/viewtopic.php?f=323%26amp;t=22658

    Goldilocks v2.0 adds Geometry analysis. Its not just texture resolution that needs to be consistent, its also a useful sanity check to have consistent "Content Density" in your model. ie your model is built with a consistent amount of detail. Before you say it, yes I know sometimes you have a reason for having more detail in one area than another.

    However, I keep finding models running slowly that turns out an espresso cup with a zillion faces in the corner of the room. So "Content Density" is a measure of "geometry per unit of space".

    Goldilocks v2.0 adds another menu item that shows all your Groups/Component Instances ranked with respect to the whole models "Content Density". Basically, if you run it on a model and see a Group/Component waay out in front - so the amount of geometry per unit of space for that Component is far higher than the rest of the model - you might want to have a quick look to make sure thats what you really want.

    Link Preview Image
    SketchUp Plugins | PluginStore | SketchUcation

    SketchUp Plugin and Extension Store by SketchUcation provides free downloads of hundreds of SketchUp extensions and plugins

    favicon

    (sketchucation.com)

    Here what a report for geometry looks like. You can see a Group called "plate" has a much higher Content Density than everything else. Thats because that 1 plate has 38000 faces.. ๐Ÿ˜„
    SketchUpScreenSnapz058.png

    Adam


    Save in your "plugins" folder

    Developer of LightUp Click for website

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 21 Oct 2010, 19:57

      ๐Ÿ‘

      Sounds cool.

      Wonder what it'll say about my models... ๐Ÿ˜’

      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
        EarthMover
        last edited by 21 Oct 2010, 20:01

        This will be useful for me. Thanks! ๐Ÿ‘

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

        1 Reply Last reply Reply Quote 0
        • H Offline
          honoluludesktop
          last edited by 21 Oct 2010, 20:35

          Very handy, Adam. The next step is to semi-automatically "reduce-texture", "poly-reduce" or "un-smooth" select problem areas. Who said "we can't ask for everything".:-) Just kidding.

          1 Reply Last reply Reply Quote 0
          • P Offline
            Pixero
            last edited by 22 Oct 2010, 14:33

            Thanks for the update Adam, I know I have "sinned" before. ๐Ÿ˜‰
            Would it be possible to have the plugin recrop and/or resize an image?
            I have used some models, like framed pictures, from 3d warehouse that upon inspection consisted of one huge image that was applied to several frames with even more of the image outside the frames. doing it manually would take a lot of time so would it be possible?

            1 Reply Last reply Reply Quote 0
            • B Offline
              Ben Ritter
              last edited by 22 Oct 2010, 15:08

              Adam, thank you.

              1 Reply Last reply Reply Quote 0
              • R Offline
                richhaas
                last edited by 13 Apr 2011, 22:03

                Great Plugin Adam! I ran this on the "723 SPRING STREET" Sketchup file and I couldn't believe how large the percentages were for the VELUX window components! Lesson learned. If you're importing anything into your drawings run this to see if you haven't imported a jillion faces.
                I don't want manufacturers cutting down on detail but how about a second component line that is just visible faces...

                1 Reply Last reply Reply Quote 0
                • J Offline
                  JPMays
                  last edited by 8 Mar 2012, 15:38

                  Adam, thanks for this plugin. I think it will prove helpful in reducing my file sizes. I do have a question about the output, however. Can you explain to me what the higlighted numbers below mean? You interpreted the below graphic to mean that the plate had 38,000 faces - how did you know that? Did you just open that component and select them? Or do those numbers relate to that?

                  http://img198.imageshack.us/img198/4766/goldilocksedit.jpg

                  Thanks.

                  Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    August
                    last edited by 31 May 2012, 04:17

                    My guess, without a reply from Adam, is that the 38,000 number is half of the number shown. The math works between what is shown and what Adam said. But why half? Well, if he is counting the number of edges of each face, most edges are going to be counted twice. It would only be ALL edges counted twice if the object was a "manifold", closed 3D shape with no floating bits of faces anywhere.

                    That's my guess,
                    August

                    โ€œAn idea, like a ghost, must be spoken to a little before it will explain itself.โ€
                    [floatr:v1mcbde2]-- Charles Dickens[/floatr:v1mcbde2]

                    1 Reply Last reply Reply Quote 0
                    • KrisidiousK Offline
                      Krisidious
                      last edited by 31 Oct 2014, 04:53

                      I love this plugin...

                      By: Kristoff Rand
                      Home DesignerUnique House Plans

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        johnwmcc
                        last edited by 7 May 2017, 10:02

                        Useful plugin to name the materials taking a lot of space.

                        Would it be possible to list, as well, the component containing the material? On a Mac, particularly, there's no easy way to list or search to FIND the material just from its name.

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          db11
                          last edited by 7 May 2017, 12:53

                          @johnwmcc said:

                          On a Mac, particularly, there's no easy way to list or search to FIND the material just from its name.

                          Material management on a Mac is quite lacking in several respects. To help with this specific problem, use TGmatlist ( https://sketchucation.com/plugin/1168-tigmatlist ). It allows you to pick materials from a dropdown list of material names:

                          Screen Shot 2017-05-07 at 8.43.20 AM.png

                          If you prepick the material and invoke the plugin, then the material name is displayed at the top level without having to expand the list:

                          Screen Shot 2017-05-07 at 8.43.04 AM.png

                          The more materials you have in your model, the more useful the plugin โ€” especially if you have naming conventions for your materials (so that materials list in a predictable order)

                          I'll check out Golidlocks: sounds like it could be helpful in certain cases.

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            driven
                            last edited by 7 May 2017, 19:42

                            Goldilocks needs a minor tweak to be better on a mac...

                            do a search and replace for the word 'show' and replace with 'show_modal'...

                            john

                            learn from the mistakes of others, you may not live long enough to make them all yourself...

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              db11
                              last edited by 8 May 2017, 02:41

                              Thanks for the tip โ€” will do.

                              1 Reply Last reply Reply Quote 0
                              • pbacotP Offline
                                pbacot
                                last edited by 6 May 2018, 02:43

                                I fixed my immediate problem without changing a thing in the model. I selected the whole model and pasted in place to an empty template. I cleared the model. (hidden geometry on, zoom extents). Still 68 MB--empty model except the styles and section cuts. Purged it and still saved huge, but closed and file was finally 155 KB. Pasted my model back in and now the file is 4.2 MB and still all the scenes and styles I had before. So what did I learn? A huge file may be due to "something out there" rather than the contents.

                                MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                                1 Reply Last reply Reply Quote 0
                                • pbacotP Offline
                                  pbacot
                                  last edited by 6 May 2018, 16:46

                                  I'm trying to fix a big file. Can someone explain what the Goldilocks output means. In the screenshot, does this mean the very component last in each list muntin v#2 is the big component or the whole window or door? The muntins should only be 6 sides ๐Ÿ˜ฎ If I open this up and select all it is 18 entities

                                  Also there is a number in each column. On the left "24" on the right and "1287070" on the right. I guess the one on the right is actual edges? (where are they?)

                                  I am comparing to some similar projects made in similar fashion. This file is 79 MB--10 times larger than some of the others and a pain to work with.


                                  Screen Shot 2018-05-05 at 6.16.04 PM.png

                                  MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                                  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