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.
    • GaieusG Offline
      Gaieus
      last edited by

      I don't think TT would be angry with you (more likely he's glad it works now).
      😉
      But did it (that latest Cleanup version) also work with the previous SU 8 version?

      Gai...

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

        No - I'm not angry. But that update is really worth it. Some important fixes in SketchUp.
        And 3.1.3 should work for pre M1 now.

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

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

          I tested all the new versions of cleanup with sketchup 8 outdated and did not work. Only when I upgraded to the latest version of sketchup was the plugin cleanup worked well.

          Is there something in the working of the plugin which I think could be rethought. That is what concerns processing of edges. Is there a difference between edges that form a face and are coplanar with other faces ("Erase Coplanar Edges") AND edges who are in face without being divided into other faces ("Erase Lonely Edges"). If could be distinguished in this way I can assign keyboard shortcuts for this two situations.

          While the cat's away, the mice will play

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

            @bagatelo said:

            I tested all the new versions of cleanup with sketchup 8 outdated and did not work. Only when I upgraded to the latest version of sketchup was the plugin cleanup worked well.

            Errors?

            @bagatelo said:

            That is what concerns processing of edges. Is there a difference between edges that form a face and are coplanar with other faces ("Erase Coplanar Edges") AND edges who are in face without being divided into other faces ("Erase Lonely Edges").

            ❓

            @bagatelo said:

            If could be distinguished in this way I can assign keyboard shortcuts for this two situations.

            You can assign shortcuts for each function - Since 3.1 you have individual menus:

            http://forums.sketchucation.com/download/file.php?id=63390

            Maybe I just don't understand the question... ❓ 😕

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

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

              A picture is more worth than a thousand words.


              erros.jpg

              While the cat's away, the mice will play

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

                You want to erase stray edges and merge coplanar faces?
                Just set the settings in the dialog window. Then after ward you can just use the "Clean with Last Settings" if you quickly want to repeat that cleaning operation.

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

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

                  That's and odd error message. It refers to tt_guide_tools.rb...

                  @rspierenburg said:

                  I've removed both the plugin and the TT_lib2 folder and re-installed both

                  Did you download the new version of TT_Lib2 before reinstalling TT_Lib2?

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

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

                    Yes, I re-downloaded the latest revision of TT_Lib2 (2.5.3) and Cleanup (3.1.3). Should I try to remove and re-install the TT_Guide tools as well?

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

                      You could try... I'm not really sure why you get this error message.

                      What OS do you use? Windows?
                      Administrator or User account? UAC on/off?

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

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

                        Using Windows Vista Home Premium with administrator access yes. I think it might be a conflict with another plugin perhaps. I'll check it out and let you know what I find out.

                        Rob

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

                          I loved the first iteration of this plugin. I've tried to install the new version and receive this error on startup:

                          Error Loading File tt_cleanup.rb
                          undefined method is_windows?' for TT::System:Module Error Loading File tt_guide_tools.rb undefined method is_windows?' for TT::System:Module

                          I've removed both the plugin and the TT_lib2 folder and re-installed both but no change. Any ideas? I'm really looking forward to getting this plugin to work, you do great work, keep it up.

                          Thanks in advance,
                          Rob

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

                            Found out what the problem is...or rather..solution. I guessing the problem has to do with administrative rights somehow. Because if I set the Sketchup 8 Desktop shortcut to 'Run with administrative rights' then there is no error. Not sure what in the system.rb requires administration rights other than what I have but it works for now I guess.

                            Rob

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

                              @rspierenburg said:

                              Found out what the problem is...or rather..solution. I guessing the problem has to do with administrative rights somehow. Because if I set the Sketchup 8 Desktop shortcut to 'Run with administrative rights' then there is no error. Not sure what in the system.rb requires administration rights other than what I have but it works for now I guess.

                              Rob

                              There shouldn't be anything. But - Vista and Win7 got something called compatibility mode where Windows place folders in a hidden location elsewhere on the system - though this is not visible to the user. It could be that this caused an older version to be loaded.
                              When you're in the Plugins folder, do you see a Compatibility Files button in Explorer?

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

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

                                Actually I do. So what exactly does this other folder do? Does it store older versions of the files that are in it? I've never noticed it before. But now that I see it I noticed there are other plugins that I couldn't find before.

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

                                  Yup, that did the trick. I just deleted the TT_Lib2 folder from the 'Compatibility' folder and everything starts up as it should. Thanks for the tip, and the wonderful plugins.

                                  Rob

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

                                    @rspierenburg said:

                                    Actually I do. So what exactly does this other folder do? Does it store older versions of the files that are in it? I've never noticed it before. But now that I see it I noticed there are other plugins that I couldn't find before.

                                    I'm not very familiar with it - but I've heard some reports on it.

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

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

                                      It tries to stop you updating files/folders in 'Program Files' so the versions in 'Compatibility Files' version is likely to be newer and the older version left unchanged. It depends how you copy/move over the files... Give yourself wide-ranging access-rights to Sketchup folder and subfolders/files - the Compatibility Files won't bug-you 😒

                                      TIG

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

                                        I think this is good option to insert in this plugin:

                                        http://forums.sketchucation.com/viewtopic.php?f=180&t=35180

                                        While the cat's away, the mice will play

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

                                          Do not worry. I've done that.

                                          Your version 3 of the cleanup is not working properly, when I select to delete duplicate faces.

                                          Error 404 (Not Found)!!1

                                          favicon

                                          (sketchup.google.com)

                                          I modified your previous version of the plugin cleanup and working properly. It's a pity that this did not erase non solid surfaces within groups. But this is not so bad.


                                          before erros.jpg


                                          errosfaces.jpg


                                          tt_limpa.rb

                                          While the cat's away, the mice will play

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

                                            @bagatelo said:

                                            Your version 3 of the cleanup is not working properly, when I select to delete duplicate faces.

                                            The Erase Duplicate Faces feature is a bit unstable. It's hard to properly figure out when a face is overlapping another. Though on the model you provided that feature would do no good anyway, since that pillow is a solid.
                                            Erase Duplicate Faces is intended to address faces where you see Z-fighting.

                                            I tested your model, with just Erase Duplicate Faces and no faces disappeared.
                                            It happens with Merge Coplanar Faces. (Ignore Normals and Ignore UVs)
                                            I'm pretty sure it's because the mesh has some very small faces. Some edges are less than a millimeter. SketchUp doesn't deal with small geometry like that very well.
                                            If you scale the geometry up a few times (the definition, not the instance) you'll see that no faces disappear.

                                            @bagatelo said:

                                            I modified your previous version of the plugin cleanup and working properly.

                                            The faces didn't disappear? That might be, as the old version had a tendency to not clean up as much as it should. It's a very buggy version which in this case just happen to cover up a weakness in SketchUp.

                                            I strongly recommend not using the older versions of CleanUp as version 3.1 has fixed a great number of bugs and issues which in other cases can cause you to loose geometry. The only thing you need to take care of is ensuring that your mesh doesn't have very small faces because SketchUp begins to acts odd then. Scale up small geometry before cleanup and you'll be fine.

                                            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
                                            • 14
                                            • 15
                                            • 16
                                            • 17
                                            • 18
                                            • 48
                                            • 49
                                            • 16 / 49
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement