sketchucation logo sketchucation
    • Login
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    [Plugin] CleanUp

    scheduled pinned locked moved Plugins
    974 Posts 217 Posters 798.0k Views 217 Watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • thomthomT Offline
      thomthom
      last edited by

      Yes - but what puzzles me is why the code comes across deleted references at all. After reviewing my code I can't work out why. I am iterating an array copy of the entities collection. And I only iterate the array once.

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

      one-reply-to-this-post last-reply-time reply quote 0
      • thomthomT Offline
        thomthom
        last edited by

        Gaieus: This update is for you. Made it investigate the UV's before merging.
        Not that it is very strict, the UV values for either vertex of the edge has to be identical for each face connected to it before it merges. This means there might be cases where it visually looks like they should merge, but doesn't. They should merge is you position a material on one face and use the dropper to paint other adjacent faces.
        To turn of this feature just enable the Ignore UV's.

        Note that this is pretty fresh code that hasn't been tested well. (Only very quickly.) So please investigate the model after using the tool and report any unexpected behaviour. (Please most sample model as that will make debugging much easier.)

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

        one-reply-to-this-post last-reply-time reply quote 0
        • E Offline
          Ern
          last edited by

          Very handy,


          Now all the cookies are yours!

          one-reply-to-this-post last-reply-time reply quote 0
          • GaieusG Offline
            Gaieus
            last edited by

            @thomthom said:

            Gaieus: This update is for you. Made it investigate the UV's before merging...

            Thanks a bunch, Thom, πŸ‘
            I will definitely check it out. Lately I have needed this function really badly.

            Gai...

            one-reply-to-this-post last-reply-time reply quote 0
            • J Offline
              j40
              last edited by

              Thanks a lot Thom !! πŸ‘ This is one of the greatest plugins.

              Top3D Studio

              one-reply-to-this-post last-reply-time reply quote 0
              • thomthomT Offline
                thomthom
                last edited by

                Version 2.0.0

                • Supports ThomThom's Menu
                • Persistent preferences.
                • Settings for global and local cleanup synced.
                • Repairs split edges. (Based on Carlo Roosen's Repair Broken Edges)
                • Removes duplicate faces.
                • Fixes duplicate component definition names.
                • Runs Validity Check at the end.

                "Duplicate faces" are faces where multiple faces share the same set of vertices. The plugins should also be able to detect smaller faces overlapping larger faces.

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

                one-reply-to-this-post last-reply-time reply quote 0
                • GaieusG Offline
                  Gaieus
                  last edited by

                  Downloading... πŸ˜‰

                  Gai...

                  one-reply-to-this-post last-reply-time reply quote 0
                  • Rich O BrienR Offline
                    Rich O Brien Moderator
                    last edited by

                    Hi Thom,

                    thanks for the update πŸ‘

                    Incredible tool! Should be mentioned in the Visual Index thread

                    Rich

                    Download the free D'oh Book for SketchUp πŸ“–

                    one-reply-to-this-post last-reply-time reply quote 0
                    • J Offline
                      Jim
                      last edited by

                      Yep, this is the best cleanup script available.

                      I know the choice of user interface is limited, but I'm not a fan of nested menus. I was wondering if a webdialog interface would work. So then I could have a single shortcut that would bring up the "cleanup" dialog showing the options available, and then "run" from there. Maybe? Someday?

                      Edit: "best" is an under-statement - it's important and essential.

                      Hi

                      one-reply-to-this-post last-reply-time reply quote 0
                      • thomthomT Offline
                        thomthom
                        last edited by

                        @jim said:

                        I know the choice of user interface is limited, but I'm not a fan of nested menus. I was wondering if a webdialog interface would work. So then I could have a single shortcut that would bring up the "cleanup" dialog showing the options available, and then "run" from there. Maybe? Someday?

                        Yes - that is exactly what I have in mind. The options are growing so a better UI is required. However, I'm trying to prioritise Vertex Edit. This has been a necessary distraction because I need it at work.

                        So my plans for v2 that did not make it will be postponed to v3:

                        • Merge Identical and similar materials
                        • Axis adjustments
                        • Find identical groups/components (If I can find a good algorithm for this.)
                          For this webdialog UI is a must in order to be friendly to use.

                        Thanks for letting me know how to activate the Fix Model function - in some cases it appears that erasing big bulk of edges messes up SUæs Loops. Even though everything looks fine in SU. So it was good to force that test after a cleanup.

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

                        one-reply-to-this-post last-reply-time reply quote 0
                        • soloS Offline
                          solo
                          last edited by

                          This is one of my most cherished ruby's, thank you for improving it and making it an invaluable tool.

                          http://www.solos-art.com

                          If you see a toilet in your dreams do not use it.

                          one-reply-to-this-post last-reply-time reply quote 0
                          • GaieusG Offline
                            Gaieus
                            last edited by

                            @thomthom said:

                            ...So my plans for v2 that did not make it will be postponed to v3:

                            • Merge Identical and similar materials
                            • Axis adjustments
                            • Find identical groups/components (If I can find a good algorithm for this.)
                              ...

                            Now these definitely sound incredible! Can hardly wait to see them in here!

                            Gai...

                            one-reply-to-this-post last-reply-time reply quote 0
                            • G Offline
                              gilad75
                              last edited by

                              Thanks a lot, you created magic!
                              πŸ‘

                              one-reply-to-this-post last-reply-time reply quote 0
                              • H Offline
                                Harbor
                                last edited by

                                THanks a lot man, It should be one of the best plugin of SU

                                one-reply-to-this-post last-reply-time reply quote 0
                                • D Offline
                                  davery
                                  last edited by

                                  Thanks. Greatly appreciated.

                                  one-reply-to-this-post last-reply-time reply quote 0
                                  • Z Offline
                                    Zacchia
                                    last edited by

                                    Can someone please explain what i do when i purge? Do i loose something in model? Please explain with easy words 😎 thanks!

                                    one-reply-to-this-post last-reply-time reply quote 0
                                    • thomthomT Offline
                                      thomthom
                                      last edited by

                                      When you add components, materials, styles, layers it remains stored in your model file, even after you are not using that resource any more.
                                      Purge cleans out any unused component, material, layer or style in your model. That keeps the file size down and you don't have to browse through long lists of needless unused items.

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

                                      one-reply-to-this-post last-reply-time reply quote 0
                                      • Z Offline
                                        Zacchia
                                        last edited by

                                        Ah... i understand now, thanks a lot!

                                        one-reply-to-this-post last-reply-time reply quote 0
                                        • S Offline
                                          superian111
                                          last edited by

                                          that plug in changed my life you are my freaking hero well done thanks

                                          one-reply-to-this-post last-reply-time reply quote 0
                                          • D Offline
                                            dedmin
                                            last edited by

                                            ThomThom.JPG

                                            one-reply-to-this-post last-reply-time reply quote 0
                                            • 1
                                            • 2
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 48
                                            • 49
                                            • 12 / 49
                                            • first-post
                                              last-post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement