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

[Plugin] CleanUp

Scheduled Pinned Locked Moved Plugins
974 Posts 217 Posters 788.3k 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.
  • T Offline
    thomthom
    last edited by 17 Jun 2011, 17:56

    
    # 3.1.4 - 16.05.2011
    #    * Added error detection for merge faces.
    #    * Added validation for merge faces to avoid geometry loss.
    #    * Added result feedback to Ruby Console for each standalone operation.
    #    * Fixed namespace compatibility with TT_Lib 2.5.4
    #    * Fixed merge similar material but - now compare alpha
    #    * Changed "Lonely Edges" to "Stray Edges"
    
    

    Requires TT_Lib 2.5.4

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

    1 Reply Last reply Reply Quote 0
    • L Offline
      LannorMov
      last edited by 17 Jun 2011, 19:31

      @thomthom said:

      
      > # 3.1.4 - 16.05.2011
      > #    * Added error detection for merge faces.
      > #    * Added validation for merge faces to avoid geometry loss.
      > #    * Added result feedback to Ruby Console for each standalone operation.
      > #    * Fixed namespace compatibility with TT_Lib 2.5.4
      > #    * Fixed merge similar material but - now compare alpha
      > #    * Changed "Lonely Edges" to "Stray Edges"
      > 
      

      Requires TT_Lib 2.5.4

      What is this? I do not understand

      1 Reply Last reply Reply Quote 0
      • T Online
        TIG Moderator
        last edited by 17 Jun 2011, 20:03

        EssahΓΊ

        If you read the Cleanup download page it says that it also needs the extra 'Lib' files - there is even a link to the thread from where you can download that 'Lib' files folder...

        Go back and look for it, get the zip-file, extract its folder and put that into Plugins... fixed! πŸ˜’

        TIG

        1 Reply Last reply Reply Quote 0
        • T Offline
          thomthom
          last edited by 17 Jun 2011, 21:24

          @lannormov said:

          What is this? I do not understand

          It's just a little notice about the update I released. Some minor fixes.

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

          1 Reply Last reply Reply Quote 0
          • G Offline
            Gaieus
            last edited by 18 Jun 2011, 06:53

            Thanks, TT. Whatever "minor fixes" you made, this is one of my most valued and frequently used plugins. πŸ‘

            (I'll need your home address to send those cookies!)
            πŸ˜„

            (This is my favourite "local" brand)

            Gai...

            1 Reply Last reply Reply Quote 0
            • T Offline
              thomthom
              last edited by 18 Jun 2011, 10:31

              πŸ˜„

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

              1 Reply Last reply Reply Quote 0
              • Z Offline
                Zacchia
                last edited by 18 Jun 2011, 13:45

                Thomas
                Thank you very much for this amazing plugin!!

                1 Reply Last reply Reply Quote 0
                • D Offline
                  derei
                  last edited by 10 Jul 2011, 13:52

                  Suggestion: make the cleaning operation stoppable. I just started the cleaning of a high-poly model and it was a very uninspired action πŸ’š ... it will take a very long time (it shows me something about one hour) and the only way I can stop it is to close Sketchup. And I didn't saved the model before πŸ˜„
                  Also, before starting, it would be nice to make a time estimation and if the process is estimated to take more than...let's say 1 minute, to alert the user something like this: "The cleaning process can take about XX minutes, are you sure you want to proceed? You can cancel the process anytime by pressing ESC" ...or something like that. I think the alert should appear only if the cleaning time takes too long, other it might be annoying.

                  Thanks for taking this into consideration.

                  DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    EarthMover
                    last edited by 10 Jul 2011, 14:01

                    @gaieus said:

                    Thanks, TT. Whatever "minor fixes" you made, this is one of my most valued and frequently used plugins. πŸ‘

                    Me as well. I can't thank you enough...so here's another. THANKS! πŸ˜„

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

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      thomthom
                      last edited by 10 Jul 2011, 15:14

                      @unknownuser said:

                      Suggestion: make the cleaning operation stoppable. I just started the cleaning of a high-poly model and it was a very uninspired action πŸ’š ... it will take a very long time (it shows me something about one hour) and the only way I can stop it is to close Sketchup. And I didn't saved the model before πŸ˜„
                      Also, before starting, it would be nice to make a time estimation and if the process is estimated to take more than...let's say 1 minute, to alert the user something like this: "The cleaning process can take about XX minutes, are you sure you want to proceed? You can cancel the process anytime by pressing ESC" ...or something like that. I think the alert should appear only if the cleaning time takes too long, other it might be annoying.

                      Thanks for taking this into consideration.

                      Unfortunately this is not an easy thing to do. With the Ruby API it's virtually impossible without using timers to split up the work - which I have run some tests on and it will increase the total processing time any times. So if the process took 10 minutes with no abort feature, it's take 30-40 minutes with an abort feature, which I find much worse.

                      Mind you, Erase Duplicate Faces is a feature in CleanUp that takes a loooooong time - I've warned so in its tooltip. It's also off by default. If you struggle with long processing times ensure this is off. I've run CleanUp on some very large models, without that feature checked, and it's completed within a few minutes.

                      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
                        derei
                        last edited by 10 Jul 2011, 15:24

                        @thomthom said:

                        Erase Duplicate Faces is a feature in CleanUp that takes a loooooong time - I've warned so in its tooltip. It's also off by default. If you struggle with long processing times ensure this is off.

                        Indeed, I ran with Erase Duplicate Faces, because that was what I needed. What about the duration warning? If the process is better to not be cancelled, at least the user to know what is going to do πŸ˜„.
                        Finally the cleaning didn't last one hour as the progress bar displayed, but about 13-15 minutes. Why this big discrepancy between what it shows and the real time?

                        DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          thomthom
                          last edited by 10 Jul 2011, 15:46

                          It's troublesome to calculate this. The more geometry in a context (group/component) the longer SU takes to do any modification. For instance, if you add 1000 edges to a group, the time it takes to add each edge depends on how many there already are. The time is not linear. I suspect it's because SU auto-merges geometry and such.

                          And for CleanUp, which does many cleaning operations, one operation might make the next one run must faster because it's reduces a lot of the geometry.

                          The estimated time is a result of how must time it has spend up to the current iteration versus the total - and from there a guestimate is given. But as you notice, some times it's much faster because some iterations do nearly nothing if there is nothing to cleanup.

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

                          1 Reply Last reply Reply Quote 0
                          • honoluludesktopH Offline
                            honoluludesktop
                            last edited by 10 Jul 2011, 16:05

                            Is there a way to first sort the face designations alphabetically, then check and erase duplicates. Perhaps with the help of a .exe program? Btw, can reordering the data base with another program, make viewing it faster?

                            Sorry, today is my day to be off the wall.

                            1 Reply Last reply Reply Quote 0
                            • utilerU Offline
                              utiler
                              last edited by 11 Jul 2011, 00:30

                              Thom,
                              I love this plugin; like many I am sent DWG/DXF files for me to start modelling from.

                              Just wondering if this is possible:
                              We know CAD entities are drawn on layer where as SU promotes elements on Layer0 and groups/ components on particular layers....

                              Is it possible to import a dwg, group elements on each layer while changing entities to Layer0 and placing groups to a layer of the same name as per the original..?

                              In essence, we can manipulate visibility of DWG entities by toggling layers but now the way we do it in SU.

                              Thoughts?
                              πŸ‘

                              purpose/expression/purpose/....

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                thomthom
                                last edited by 11 Jul 2011, 08:52

                                Yea - good idea. I can add that to Plan Tools. πŸ‘

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

                                1 Reply Last reply Reply Quote 0
                                • utilerU Offline
                                  utiler
                                  last edited by 11 Jul 2011, 11:18

                                  LEGEND!!!!!! 😍

                                  purpose/expression/purpose/....

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    thomthom
                                    last edited by 11 Jul 2011, 14:47

                                    One issue though, how to deal with existing groups and components in the file?
                                    Imported DWG blocks comes in as Components...

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

                                    1 Reply Last reply Reply Quote 0
                                    • utilerU Offline
                                      utiler
                                      last edited by 11 Jul 2011, 22:27

                                      just a global explode.

                                      purpose/expression/purpose/....

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        thomthom
                                        last edited by 12 Jul 2011, 00:07

                                        @utiler said:

                                        just a global explode.

                                        That ain't a "just"...
                                        It might cause geometry to merge - which you do not want. Plus, Explode can be dreadfully slow...

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

                                        1 Reply Last reply Reply Quote 0
                                        • utilerU Offline
                                          utiler
                                          last edited by 12 Jul 2011, 00:18

                                          True... pardon my flippancy, Thomas. You know now my knowledge of script language is -1

                                          +1
                                          πŸ‘

                                          purpose/expression/purpose/....

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 16
                                          • 17
                                          • 18
                                          • 19
                                          • 20
                                          • 48
                                          • 49
                                          • 18 / 49
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement