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.
    • TIGT Offline
      TIG Moderator
      last edited by

      @bracisig said:

      hey mate i added the EX but i cant find it in my sketchup dont know what to do ?
      Assuming you mean EXtension, how did you 'add it'.
      Did you install it from the RBZ archive ?
      Did you also install the 'TT_Lib' RBZ required by thomthom's tools ?
      Both available in the PluhginStore...
      http://sketchucation.com/pluginstore?pln=TT_Lib
      http://sketchucation.com/pluginstore?pln=tt_cleanup
      Did you restart SketchUp ?
      Did you read the tool's instructions ?
      http://sketchucation.com/forums/viewtopic.php?p=193587#p193587
      Is its Extension activated in the relevant section of the 'Preferences' dialog ?
      Did you look under the 'Plugins' menu submenu for its items [remember that this is now renamed 'Extensions' in v2015 !]

      TIG

      1 Reply Last reply Reply Quote 0
      • K Offline
        kyleboyd
        last edited by

        Fortunately for me, unfortunately for debugging, I can't seem to reproduce my previous issues.

        In trying, I triple checked my cleaning settings, so perhaps I was just boneheaded and it was all user error. (I thought I went through and checked-unchecked the different settings, but maybe not).

        Anyhow, thanks for the response, if it happens again, I will be sure to attach the offending sample of model. Thanks again for all your awesome work!

        1 Reply Last reply Reply Quote 0
        • pilouP Offline
          pilou
          last edited by

          Why this is not cleaning! 😮
          Works by hand line by line!

          no_clean.jpg


          noclean.skp

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

          1 Reply Last reply Reply Quote 0
          • CadFatherC Offline
            CadFather
            last edited by

            because they belong to faces inside - it always worked that way

            1 Reply Last reply Reply Quote 0
            • pilouP Offline
              pilou
              last edited by

              Thanks! 😎
              So that works after use the Remove inner faces by Wiiki! 👍

              cleanUp.gif

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

              1 Reply Last reply Reply Quote 0
              • CadFatherC Offline
                CadFather
                last edited by

                yes, or some good solidsolvers..

                1 Reply Last reply Reply Quote 0
                • A Offline
                  AcesHigh
                  last edited by

                  It seems it can´t UN-SMOOTH the models?

                  I have this model with a ridiculous amount of groups and subgroups. And it's all softened, although it should not be softned at all.

                  It´s impossible to unsoften by hand because of the amount of groups, and I also don´t want to ungroup them all (because I might have to move the groups around)

                  But setting the SOFTEN to 0 degrees does not unsoften the groups and subgroups, unlike the Soften Edges Panel...

                  1 Reply Last reply Reply Quote 0
                  • pbacotP Offline
                    pbacot
                    last edited by

                    That would be nice. I notice a group can be unsoftened /softened but not a nested group (without first opening the parent group). That's with the Soften/Smooth dialog.

                    MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                    1 Reply Last reply Reply Quote 0
                    • TIGT Offline
                      TIG Moderator
                      last edited by

                      Use with care !
                      Copy+Paste into the Ruby Console + <enter>.

                      m=Sketchup.active_model; m.start_operation("Un...",true); es=m.entities.grep(Sketchup;;Edge); m.definitions.each{|d|next if d.image?; es<<d.entities.grep(Sketchup;;Edge)}; es.flatten.each{|e|e.soft=false;e.smooth=false}; m.commit_operation
                      

                      You can also do e.hidden=false too...
                      To process a selection...

                      m=Sketchup.active_model; s=m.selection; m.start_operation("Un...",true); es=s.grep(Sketchup;;Edge); s.grep(Sketchup;;Group).each{|g|es<<g.entities.grep(Sketchup;;Edge)};; s.grep(Sketchup;;ComponentInstance).each{|i|es<<i.definition.entities.grep(Sketchup;;Edge)}; es.flatten.each{|e|e.soft=false;e.smooth=false}; m.commit_operation
                      

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        amalthee
                        last edited by

                        Thanks a million Thomthom, though i was going to throw my computer away, downloaded CleanUp its magic.
                        Scenes that took minutes to open now not even time to say "thank you Thomthom..."and the scene is open.
                        Made my day or actually my late night !

                        1 Reply Last reply Reply Quote 0
                        • DDKD Offline
                          DDK
                          last edited by

                          wow thank you so much for this, was told I would have to optimize with a different program and learn that... this saves me so much time , I love it...need it for my objects in game engines... I've only had one issue where I lost a part of my project but I fixed it and is all good.. you do great work, you are awesome!!! ☀

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

                            for me is not working 😞 is only deleting max 15 and when i click to show hidden geometry is not showing nothing 😞

                            1 Reply Last reply Reply Quote 0
                            • dereiD Offline
                              derei
                              last edited by

                              After the SUbD rising and other quad-based modeling helpers in SketchUp, maybe some fixes to the CleanUp plugin would be in order. And frankly, I would be very happy if we would have some fixes (i may even send you a cookie 💚 )

                              So, what I'm thinking:
                              1.option to cleanup with preserving the quads (there are still plenty of faces to merge and messy geometry to clean) - as now it will clean absolutely everything.
                              2.add the possibility to save presets. There are already some presets in the menu, but many times special combinations of settings are required. Would be awesome to save those as presets for quick use (and even adding kb shortcuts to them, if is not too much to ask 😄)

                              Thank you very much.

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

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

                                Good suggestions. I filed it in the issue tracker: https://bitbucket.org/thomthom/cleanup/issues/10/preserve-quads

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

                                1 Reply Last reply Reply Quote 0
                                • K Offline
                                  KDhyne
                                  last edited by

                                  Hello! Your extension is very useful!

                                  I'd like to know if there is a way to automate this plugin via ruby script? I need to import a 3ds file, run this extension, save as .skp, and repeat about 1500 times 😄

                                  Is this possible? Thank you!

                                  1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    sasasaps
                                    last edited by

                                    Great plug-in! Thanks a lot TT.

                                    Also here for a question, in case anybody got to it already: What would be the recommended settings of the CleanUp plug-in so it doesn't kill the proxy materials??

                                    In my experience it has taken down the "linked" materials used in proxies, someone else had the same trouble?

                                    1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      sasasaps
                                      last edited by

                                      @sasasaps said:

                                      Great plug-in! Thanks a lot TT.

                                      Also here for a question, in case anybody got to it already: What would be the recommended settings of the CleanUp plug-in so it doesn't kill the proxy materials??

                                      In my experience it has taken down the "linked" materials used in proxies, someone else had the same trouble?

                                      Sorry, I forgot to explain that I use proxies in Vray 2.0 (in SKP2016).

                                      Thanks,

                                      1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        shannonnovus
                                        last edited by

                                        For the most part I love this plugin, but I'm having an issue with the "smooth by angle" feature. I'm running SketchUp 2015, with CleanUp3 (3.3.1).

                                        It seems like the CleanUp plugin is "seeing" the lines that it could fix, and claims to be doing so, but isn't actually fixing anything.

                                        Steps to reproduce:

                                        1. Select the geometry (building outlines that have several line segments that are almost but not quite parallel)
                                        2. Run CleanUp3, with Smooth Edges by Angle set to 5.0.
                                        3. It runs, and says "Edges reduced: 1500", and the validity check is showing no problems.
                                        4. BUT, then I still have the same number of edges in my model (8417) that I had at the beginning. Looking at the outlines in detail, the offending lines are still there.

                                        I've tried both with faces included and faces deleted.

                                        Any ideas?

                                        Thanks,
                                        Shannon

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

                                          @sasasaps said:

                                          Great plug-in! Thanks a lot TT.

                                          Also here for a question, in case anybody got to it already: What would be the recommended settings of the CleanUp plug-in so it doesn't kill the proxy materials??

                                          In my experience it has taken down the "linked" materials used in proxies, someone else had the same trouble?

                                          I'm not sure how the proxy materials are stored. You might want to make CleanUp not ignore attributes for materials - to avoid materials merging unless also the attributes are identical.
                                          Then it could be that some materials used are not applied in the model - then you want to avoid purging materials.

                                          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
                                            manum876
                                            last edited by

                                            Hi Thom! You see, I have some trouble loading the plugin, I already uninstalled it a couple of times, and replaced everything with the latest version to no avail. Here's the error log that appears every time I fire up SketchUp. Hope you can help me.
                                            Thanks.

                                            Something when wrong trying to load C:/Users/UsuarioBMA/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_CleanUp/vendor/error-handler/error_reporter.rb.
                                            Please copy this message and forward it to the developer.
                                            Load error:
                                            Error: #<NameError: undefined local variable or method error' for main:Object> C:/Users/UsuarioBMA/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_CleanUp/vendor/error-handler/error_reporter.rb:483:in rescue in <top (required)>'
                                            C:/Users/UsuarioBMA/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/TT_CleanUp/vendor/error-handler/error_reporter.rb:12:in <top (required)>' C:/Users/UsuarioBMA/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup/bootstrap.rb:8:in require'
                                            C:/Users/UsuarioBMA/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup/bootstrap.rb:8:in <top (required)>' C:/PROGRA~1/SketchUp/SKETCH~1/Tools/extensions.rb:197:in require'
                                            C:/PROGRA~1/SketchUp/SKETCH~1/Tools/extensions.rb:197:in load' C:/Users/UsuarioBMA/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup.rb:40:in register_extension'
                                            C:/Users/UsuarioBMA/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup.rb:40:in <module:CleanUp>' C:/Users/UsuarioBMA/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup.rb:15:in module:Plugins'
                                            C:/Users/UsuarioBMA/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup.rb:14:in <module:TT>' C:/Users/UsuarioBMA/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/tt_cleanup.rb:13:in <top (required)>'
                                            C:/PROGRA~1/SketchUp/SKETCH~1/Tools/sketchup.rb:85:in require' C:/PROGRA~1/SketchUp/SKETCH~1/Tools/sketchup.rb:85:in block in require_all'
                                            C:/PROGRA~1/SketchUp/SKETCH~1/Tools/sketchup.rb:85:in each' C:/PROGRA~1/SketchUp/SKETCH~1/Tools/sketchup.rb:85:in require_all'
                                            eval:1:in `<main>'

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

                                            Advertisement