• 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.
  • T Offline
    thomthom
    last edited by 7 Sept 2016, 18:12

    @plot-paris said:

    SketchUp Pro 2016 (v 16.1.1449)
    Windows 10

    What version of CleanUp did you have?

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

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 7 Sept 2016, 18:18

      @cotty said:

      I've got a lot of unresolved problems while opening the model, the cleanup afterwards leads to this...

      I also saw the model had lots of validation issues.

      I found your error report Cotty. It appear to come from face merging - some faces where lost. Typically I see this when a model have small faces which cause tolerance issue in SU. Or some models with imported DWG data which have carried over some small precision issues.

      However, when I opened that model and ran only Merge Faces I got no errors.

      What settings did you guys use with CleanUp? The different set of options often have great impact on what might trigger a bug/issue.

      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
        cotty
        last edited by 7 Sept 2016, 18:26

        I do prefer ultra-clean... 😉

        cleanupproblemsettings.JPG

        my SketchUp gallery

        1 Reply Last reply Reply Quote 0
        • P Offline
          plot-paris
          last edited by 7 Sept 2016, 19:38

          I was relying on the SketchUcation Plugin to keep my stuff up to date. But that obviously didn't work. I just re-installed CleanUp³ and now got the same error message as cotty.

          I then used thomthom's trick and did a first run, just Merging Faces and then a second, full cleanup. This worked!

          So thanks guys. Now I have a new trick to use, when handling problematic models...

          1 Reply Last reply Reply Quote 0
          • D Offline
            Dave R
            last edited by 7 Sept 2016, 19:43

            Maybe you could add another trick and clean periodically as you go so you don't have a big load of stuff to clean up at the end.

            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 8 Sept 2016, 14:48

              @cotty said:

              I do prefer ultra-clean... 😉

              I recommend to enable Remove Duplicate Face only when you know there is an issue. It's extremely slow and not always reliable.

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

              1 Reply Last reply Reply Quote 0
              • T Offline
                thomthom
                last edited by 8 Sept 2016, 14:49

                @plot-paris said:

                I then used thomthom's trick and did a first run, just Merging Faces and then a second, full cleanup. This worked!

                That's strange... and troublesome. It means the issue stems from compound cleanup actions. hmm...

                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
                  cotty
                  last edited by 8 Sept 2016, 16:53

                  @thomthom said:

                  @cotty said:

                  I do prefer ultra-clean... 😉

                  I recommend to enable Remove Duplicate Face only when you know there is an issue. It's extremely slow and not always reliable.

                  Thank you for the tip!

                  my SketchUp gallery

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    AirWindSolar
                    last edited by 8 Sept 2016, 17:28

                    @thomthom said:

                    That's strange... and troublesome. It means the issue stems from compound cleanup actions. hmm...

                    Possibly the order of the operations? Sounds like removing duplicate faces simplified it enough that whatever was crashing could handle what was left after that specific operation.

                    One thing I'm noticing is that, for example, the bicycles are 24 separate but apparently identical ~600kb groups. That adds a lot of complexity compared to having a couple dozen instances of a single component. Same thing with several doors, etc. How hard would it be to recognize identical groups/components/items, and replace all of the duplicates with instances of one? (Maybe with some minimum complexity and/or count so it's not making components of every triangle or rectangle that happens to have a single mate somewhere.)

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      thomthom
                      last edited by 12 Sept 2016, 12:21

                      @airwindsolar said:

                      How hard would it be to recognize identical groups/components/items, and replace all of the duplicates with instances of one? (Maybe with some minimum complexity and/or count so it's not making components of every triangle or rectangle that happens to have a single mate somewhere.)

                      I had a stab at that a few years ago: http://sketchucation.com/forums/viewtopic.php?t=30143
                      But I never got around to finish it. It quickly becomes non-trivial.

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

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        AirWindSolar
                        last edited by 12 Oct 2016, 16:56

                        Another thought on this one; not sure how hard it would be to calculate without saving, but a before and after file size, or percent reduction of the file size in the info box would be a handy bit of bragging if a user is wondering how much this saved them.

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          thomthom
                          last edited by 13 Oct 2016, 09:35

                          That would not be realistically possible with any kind of accuracy. The fileformat changes from version to version and the filesize depend on how SU pack the bytes.

                          Also, the filesize is not a good indication for how complex or large the model is. You can have a model with millions of faces and tiny filesize due to using components. On the other hand, you could also have a huge filesize with only a cube in the model - if there are applied large textures, watermarks etc. Materials, attributes, styles, watermarks all skew the filesize.

                          CleanUp was never made for saving filesize - it was for making the model geometry cleaner and simpler, hopefully improving the performance of the model a little. (Some times you do notice a big filesize difference - which is most likely due to purging unused items, but that's just a bonus.)

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

                          1 Reply Last reply Reply Quote 0
                          • pilouP Offline
                            pilou
                            last edited by 23 Feb 2017, 08:56

                            Why Clean Up after a Lattice Maker (by TIG) don't Clean coplanar thing ? 😮

                            Solid Solver by TIG make it ! 😎

                            Solid Inspector2 don't make it! 😮 (by ThomThom)
                            Protrude by Jim
                            Fredo Scale by Fredo6

                            What I miss ?

                            https://s6.postimg.org/vdfavuvpt/mini_tut.jpg


                            why_not_clean.skp

                            Frenchy Pilou
                            Is beautiful that please without concept!
                            My Little site :)

                            1 Reply Last reply Reply Quote 0
                            • K Offline
                              kaas
                              last edited by 2 Mar 2017, 15:16

                              @Thom - I'm curious - when using CleanUp3, the operation collapses the Outliner-list. Its the same behavior as choosing 'collapse all' when right-clicking on the level entry (the file name). Do you know what causes this behavior?


                              cleanup.gif

                              1 Reply Last reply Reply Quote 0
                              • mariochaM Offline
                                mariocha
                                last edited by 4 Dec 2017, 15:31

                                I like localizing plugins. Helps me learn ruby. I found this one well written and thus a good teacher.
                                So it is now localized with LanguageHandler. And french strings. v 3.4.3
                                Should I get it signed before posting it here, or send it to you, or what ?
                                Cookies to you.
                                p.s.: I had to change the tooltips heredocs to strings, of course.
                                oh, also, no progressbar or status on Mac.

                                %(#008000)[Mario C.
                                Every rule has exceptions, but some.]

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  ataman811
                                  last edited by 26 Apr 2018, 07:59

                                  Hi!
                                  How can I translate your plugin into Russian?

                                  1 Reply Last reply Reply Quote 0
                                  • OxerO Offline
                                    Oxer
                                    last edited by 26 Apr 2018, 13:16

                                    I translated the plugin to Spanish language a long time ago for my own use but I made it translating the strings in the .rb files directly.
                                    mariocha, can you share the strings file to translate it to Spanish? what did you do to give support to the .rb files to translate the plugin?

                                    "The result is the end what is important is the process" by Oxer
                                    [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      thomthom
                                      last edited by 26 Apr 2018, 15:27

                                      CleanUp doesn't support translation right now.

                                      If you want to translate, add a comment in the issue tracker; https://bitbucket.org/thomthom/cleanup/issues/16/localize

                                      Mention what language you can contribute with.

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

                                      1 Reply Last reply Reply Quote 0
                                      • OxerO Offline
                                        Oxer
                                        last edited by 26 Apr 2018, 18:42

                                        @thomthom said:

                                        CleanUp doesn't support translation right now.

                                        If you want to translate, add a comment in the issue tracker; https://bitbucket.org/thomthom/cleanup/issues/16/localize

                                        Mention what language you can contribute with.

                                        Done!!

                                        P.S.: Thom, have you see your private messages, I sent you a message a week ago about UVToolKit plugin.

                                        "The result is the end what is important is the process" by Oxer
                                        [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                                        1 Reply Last reply Reply Quote 0
                                        • highlanderH Offline
                                          highlander
                                          last edited by 5 Feb 2019, 08:15

                                          Hello,

                                          Can someone tell me why this menu does not work anymore??

                                          cleanup_white.PNG

                                          Sander Hoogland
                                          SketchUp 2018 pro - Vray
                                          Beeld3d

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 45
                                          • 46
                                          • 47
                                          • 48
                                          • 49
                                          • 47 / 49
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement