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.7k 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.
    • C Offline
      cm1963
      last edited by

      Thom, excellent work. I downloaded and tried to install the plugin the usual manner (downloading directly to Plugins file), but it is still not appearing in the Plugins menue after I restart SU. It also did not work after I dragged and ropped the plugin in the Plugins file after an SU re-start. Please help, I am eager to try this plugin.

      Charle

      1 Reply Last reply Reply Quote 0
      • massimoM Offline
        massimo Moderator
        last edited by

        Any error message in the Ruby console? Do you have also installed the required TT_lib2 as stated in the very first post under "Requirements"?

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

          Any error messages?
          Can you post screenshots of the files in the Plugins folder?

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

          1 Reply Last reply Reply Quote 0
          • john2J Offline
            john2
            last edited by

            Alrighty
            Returned to working to SketchUp after a long time. I’ve been using this great plugin for years, I would like to resolve one doubt, the coplanar line doesn’t get deleted using the cleanup command. This happens a lot of time during SketchUp. I’ve faced this issue. Can anyone tell me when does this conflict happen?
            My cleanup tool is otherwise RRRRROCKING. 😄 👍


            doubt.jpg


            sample for doubt.skp

            Sketchup Make 2017 (64-bit), Vray 4.0 , Windows 10 – 64 bit, corei7-8750H, 16GB RAM, Nvidia GeForce GTX 1050Ti 4GB

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

              InternalFace.png

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

              1 Reply Last reply Reply Quote 0
              • john2J Offline
                john2
                last edited by

                @thomthom said:

                [attachment=0:cjg9atln]<!-- ia0 -->InternalFace.png<!-- ia0 -->[/attachment:cjg9atln]

                oh i see. 😳 This is embarrassing.

                Sketchup Make 2017 (64-bit), Vray 4.0 , Windows 10 – 64 bit, corei7-8750H, 16GB RAM, Nvidia GeForce GTX 1050Ti 4GB

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

                  It's a common thing. I've used it so much now that whenever I see lines that doesn't disappear when I expect them the first thing I do is check for internal faces.

                  Determining what's internal faces is tricky so say the least, do I've not got around to work on a solution for that. Instead I just point to TIG's various tools for cleaning up internal faces.

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

                    I downloaded and ran the Cleanup 3.1.9 plugin and received a message when it finished that there were 1303 errors and I should contact the author.

                    1303 errors occurred. Please report the error and sample model to the author.

                    1303 - Face merge resulted in lost geometry!

                    How do I do this?

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

                      Post the model here.

                      Is your model by any change filled with lots of tiny faces?

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

                        I'm not able to upload the files. I get the following message:

                        Shed_Frame v2.3.skp => The file is too big, maximum allowed size is 4 MiB

                        The file size is 7.8M each. It is a timber frame shed that is assembled using dovetail mortise & tenon joinery. There really aren't many small faces - at least not many compared to most of the complex models I've seen. I had intended to give you a copy of the file before & after running Cleanup.

                        Is there another way to get you the files?

                        1 Reply Last reply Reply Quote 0
                        • arcnhanA Offline
                          arcnhan
                          last edited by

                          amazing, thanks sir 😄) 👍

                          1 Reply Last reply Reply Quote 0
                          • john2J Offline
                            john2
                            last edited by

                            @thomthom said:

                            It's a common thing. I've used it so much now that whenever I see lines that doesn't disappear when I expect them the first thing I do is check for internal faces.

                            Determining what's internal faces is tricky so say the least, do I've not got around to work on a solution for that. Instead I just point to TIG's various tools for cleaning up internal faces.

                            can you suggest me some? I really got no idea from his huge list 😄

                            Sketchup Make 2017 (64-bit), Vray 4.0 , Windows 10 – 64 bit, corei7-8750H, 16GB RAM, Nvidia GeForce GTX 1050Ti 4GB

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

                              I'm not 100% sure my self to be honest - I think there is a handful and I've not used any of them myself. :s

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

                              1 Reply Last reply Reply Quote 0
                              • humbertorbH Offline
                                humbertorb
                                last edited by

                                ![Illustration of the problem "lost geometry".](/uploads/imported_attachments/xKrD_Illustration.png "Illustration of the problem "lost geometry".")Hi Thom,

                                First let me say the CleanUp3 is great, it helps a lot!

                                Second: I've noticed that when I slide some parts of a model over an existing surface Sketchup tends to create a lot of coplanar triangles on the surface and when I use the CleanUp3 plugin it tends to say: "Face merge resulted in lost geometry!".

                                I've located one example and reduced the model to a small file with one group that presents this exact problem (attached) in hopes it'll help you perfect this great plugin.

                                My setup: Sketchup 8 Pro (8.0.16845, on Mac OS 10.6.8) with CleanUp3 3.1.9. All options selected in CleanUp except Merge Identical Materials and running "Merge Faces" both result in lost geometry.


                                CleanUp3Problem.skp

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

                                  hm... That is a troublesome model indeed. But you're bound to get trouble with such small dimensions. Your model is just a few mm large, some of these edges are like 2mm or smaller.

                                  To work around this you'd be better off drawing things like 100 or 1000 times larger than what it really should be.

                                  I tried to scale up your model 100 times, but I still got issues. Normally it'd work, but I think your model has already inherited accuracy problems.

                                  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

                                    Yea, scaling up 100 times and inspecting the distances, that seemingly flat base isn't flat at all. The model is just too wildly inaccurate that it cannot be cleaned up.

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

                                      Great Ruby, CHEERS!!!!

                                      1 Reply Last reply Reply Quote 0
                                      • humbertorbH Offline
                                        humbertorb
                                        last edited by

                                        So if I understood you well I should work in a larger scale (x100, for instance) and only in the final step reduce it down.

                                        If you want to chase this down I guess even in larger scale models it can happen (see attached).

                                        This model I've converted from an .STL file, cleaned up manually and made sure it is solid.

                                        In hidden edges that are very close (almost parallel) the plugin loses geometry:

                                        ![Before and Aftter "Merge Faces"](/uploads/imported_attachments/b6Hc_example2-cleanup.jpg "Before and Aftter "Merge Faces"")

                                        Cheers and thanks for the response.


                                        Larger scale model that loses geometry too.

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

                                          That is because you only scaled the instance of the component. The definition itself is tiny - meaning the coordinates for the model is still within very small distances.

                                          Scale.png

                                          It's best to model 100 times larger - as scaling up a tiny model will just amplify tiny precision issues.

                                          Because the model was made tiny I still got problem when using the Scale Definition (makes the definition the same size as the instance.) I still lost two faces.

                                          When I reset the scale, then opened the group scaled up 100 times and then ran CleanUp I would get model validation warnings - regarding face normals, but no faces would be lost.

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

                                          1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            JARR3DF15CH3R
                                            last edited by

                                            Sorry if this seems dumb, but I have downloaded this plugin, and the TT_lib2 file, put them both in my plugins folder, but I cant seem to use them at all, cant see them in the plugins menu in SU.

                                            Thanks

                                            JARR3DF15CH3R

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 48
                                            • 49
                                            • 5 / 49
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement