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

    [Plugin] CleanUp

    Scheduled Pinned Locked Moved Plugins
    974 Posts 217 Posters 788.6k Views 217 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.
    • Dave RD Offline
      Dave R
      last edited by

      I'll run a bunch of models through it and see what happens. It'll be interesting to see how much clean up gets done on some of my models that I think are clean.

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

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

        Some cases it appear that edges that should heal doesn't no matter how many times you run the tool. I''m not sure, but it might be due to some minor SU inaccuracies. But that is acceptable - while leaving random edges around isn't.

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

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

          I think so. I find cases where SketchUp's validity check removes faces seemingly at random prior to saving the file. Typically this is on components with somewhat complex surfaces and it seems that SU tries to redraw some of the edges and in the process, opens faces. It's annoying to have to go into the model. Perhaps your plugin is running into the same issue.

          Etaoin Shrdlu

          %

          (THERE'S NO PLACE LIKE)

          G28 X0.0 Y0.0 Z0.0

          M30

          %

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

            One of the options is to run the Fix Problems command - but only if you choose so for the whole model cleanup. When you choose Repair Edges (from 3.1) it runs only that command.

            I've seen many issues and oddities when entities becomes very small - or their deviance is very small.

            Are you seeing faces disappearing? ?

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

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

              Not yet with your plugin. I'll have to try it when I get home.

              So far the face deletion occurs when SketchUp does its own Fix Problems. I expect you're right about the small components. I was working on a rather detailed drawer pull--made it scaled up 100X, scaled it down to proper size and went to save it. Fix Problems created problems instead of fixing them. 😒 I scaled the a copy of the component back up and repair the missing faces and saved after every couple of re-created faces. After I got finished putting all the faces back, it saved fine.

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

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

                Did you scale the instance - or the definition?

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

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

                  For what it is worth
                  I play around with other non SU mesh analysis tool(s)for own education and often find SU self intersecting faces, zero area faces and duplicate vertices but the SU models looks very good. It would be nice to know what "fix problems" really means.

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

                    @thomthom said:

                    Did you scale the instance - or the definition?

                    Initially I scale up the loose geometry and then scale back down before creating the component so the definition has the correct size. Sometimes I'll get the component started at normal size--maybe just a profile and Follow Me path--and then make the component. Scale up a copy and do whatever it would be that creates the tiny faces. then I just delete the big copy leaving the original where it was and complete.

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

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

                      @dave r said:

                      Scale up a copy and do whatever it would be that creates the tiny faces. then I just delete the big copy leaving the original where it was and complete.

                      Scaling the instance doesn't make a difference, does it? As when you modify you always deal with the source data, the definition - so an instance scaled would (should) mean no difference. ...though SU always surprise me...

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

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

                        Well, no, it doesn't (or shouldn't) but, well...

                        I frequently run into models where someone has drawn something small with it scaled up, made it a component and then scale it down without opening the component. When you bring another copy in from the component library, it is a giant. I generally just wait to make the component until after correcting the size. I guess I could also open the component for editing and scale down the geometry, too.

                        Etaoin Shrdlu

                        %

                        (THERE'S NO PLACE LIKE)

                        G28 X0.0 Y0.0 Z0.0

                        M30

                        %

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

                          Thank you sir .......... 😉

                          Its very best tool in world .........

                          Thanks,
                          RuturaJ

                          1 Reply Last reply Reply Quote 0
                          • 3 Offline
                            3rdEye
                            last edited by

                            Hi TomTom,

                            first of all:

                            Thank you for this plugin, it´s one of my first time favorites!!!
                            Anyway, after upgrading to the last released version (also updated TT Lib to the latest), i got the new cleanup dialog somehow messed up when it pos up - does anybody know how to fix this?


                            The formatting of the lines is somehow messed up...

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

                              Hover the cursor over the right edge of the dialog box. You'll get a double-headed arrow. Click to grab the edge of the box and move the right edge inward.

                              Etaoin Shrdlu

                              %

                              (THERE'S NO PLACE LIKE)

                              G28 X0.0 Y0.0 Z0.0

                              M30

                              %

                              1 Reply Last reply Reply Quote 0
                              • 3 Offline
                                3rdEye
                                last edited by

                                @dave r said:

                                Over the cursor over the right edge of the dialog box. You'll get a double-headed arrow. Click to grab the edge of the box and move the right edge inward.

                                Hmm, if I understand u right, I should resize the box - is it what u mean? I tried, but whatever size i make, the messy look stays. The checkboxes and lines and background do not lineup.

                                thx for the fast reply!

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

                                  That's odd. If resizing doesn't work, my next inclination would be to close SU and delete the registry entry for WebDialog_TT_CleanUp. then reopen SU and run CleanUp again. It may straighten it out. At least the registry entry will get rewritten. If you want to try that and are unsure of how to do it, drop me a PM.

                                  Etaoin Shrdlu

                                  %

                                  (THERE'S NO PLACE LIKE)

                                  G28 X0.0 Y0.0 Z0.0

                                  M30

                                  %

                                  1 Reply Last reply Reply Quote 0
                                  • bagateloB Offline
                                    bagatelo
                                    last edited by

                                    Sorry, but it's not working: 😳

                                    undefined method `add_group' for #<Sketchup;;Group;0xf18f5d8>
                                    
                                    C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_cleanup.rb;969;in `remove_materials'
                                    C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_cleanup.rb;967;in `each'
                                    C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_cleanup.rb;967;in `remove_materials'
                                    C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_cleanup.rb;935;in `merge_similar_materials'
                                    C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_cleanup.rb;495;in `cleanup!'
                                    C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_cleanup.rb;438;in `show_cleanup_ui'
                                    C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Lib2/inputbox.rb;160;in `call'
                                    C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Lib2/inputbox.rb;160;in `initialize'
                                    C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Lib2/inputbox.rb;143;in `call'
                                    C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Lib2/inputbox.rb;143;in `close'
                                    C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Lib2/inputbox.rb;143;in `initialize'
                                    

                                    I try to clean this component:
                                    http://sketchup.google.com/3dwarehouse/details?mid=4d0acb2641fa8dff27170042f46719ed&prevstart=0
                                    But it's not working. 😳


                                    mistake.jpg

                                    While the cat's away, the mice will play

                                    1 Reply Last reply Reply Quote 0
                                    • 3 Offline
                                      3rdEye
                                      last edited by

                                      So we found the issue @ least:

                                      If u are using TT_Cleanup make shure u have installed internet explorer 8, else the webdialog menue might not be displayed correctly.

                                      thx again for your great plugins, Tom!

                                      1 Reply Last reply Reply Quote 0
                                      • bagateloB Offline
                                        bagatelo
                                        last edited by

                                        With older version of cleanup:


                                        mistake no more.jpg

                                        While the cat's away, the mice will play

                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          diegog321
                                          last edited by

                                          Thank you:

                                          This is the most essential plugin of all.

                                          Keep up the good work!

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

                                            @3rdeye said:

                                            Hi TomTom,

                                            first of all:

                                            Thank you for this plugin, it´s one of my first time favorites!!!
                                            Anyway, after upgrading to the last released version (also updated TT Lib to the latest), i got the new cleanup dialog somehow messed up when it pos up - does anybody know how to fix this?

                                            I'm guessing you are still have IE6 installed? Absolute minimum supported IE is IE7 - but I strongly recommend updating to IE8. (Soon IE9)

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

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 48
                                            • 49
                                            • 13 / 49
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement