• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] CleanUp

Scheduled Pinned Locked Moved Plugins
974 Posts 217 Posters 787.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.
  • D Offline
    Dave R
    last edited by 10 Feb 2011, 14:27

    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
    • T Offline
      thomthom
      last edited by 10 Feb 2011, 14:39

      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
      • D Offline
        Dave R
        last edited by 10 Feb 2011, 14:44

        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
        • T Offline
          thomthom
          last edited by 10 Feb 2011, 14:47

          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
          • D Offline
            Dave R
            last edited by 10 Feb 2011, 14:56

            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
            • T Offline
              thomthom
              last edited by 10 Feb 2011, 15:13

              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 10 Feb 2011, 15:26

                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
                • D Offline
                  Dave R
                  last edited by 10 Feb 2011, 15:39

                  @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
                  • T Offline
                    thomthom
                    last edited by 10 Feb 2011, 16:57

                    @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
                    • D Offline
                      Dave R
                      last edited by 10 Feb 2011, 17:57

                      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 11 Feb 2011, 04:20

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

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

                        Thanks,
                        RuturaJ

                        1 Reply Last reply Reply Quote 0
                        • 3 Offline
                          3rdEye
                          last edited by 13 Feb 2011, 12:35

                          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
                          • D Offline
                            Dave R
                            last edited by 13 Feb 2011, 12:40

                            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 13 Feb 2011, 12:48

                              @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
                              • D Offline
                                Dave R
                                last edited by 13 Feb 2011, 12:56

                                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
                                • B Offline
                                  bagatelo
                                  last edited by 13 Feb 2011, 14:13

                                  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 13 Feb 2011, 14:20

                                    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
                                    • B Offline
                                      bagatelo
                                      last edited by 13 Feb 2011, 14:24

                                      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 13 Feb 2011, 19:36

                                        Thank you:

                                        This is the most essential plugin of all.

                                        Keep up the good work!

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          thomthom
                                          last edited by 14 Feb 2011, 09:29

                                          @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
                                          13 / 49
                                          • First post
                                            260/974
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement