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 789.1k 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
      chango70
      last edited by

      This works very well. I have made Ctrl Shift C short cut for it. Thank you!

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

        @jim said:

        Ack! it doesn't look at materials?
        Oh, and thank you! 👍

        @honoluludesktop said:

        Hi Thomas, I lost a texture from a face in a 61k faces model. BTW what happens when you have coplaner faces with different textures, or images placed on textured faces (say a run on a wood floor). Didn't read all the post, so sorry if already covered.

        Option to respect materials applied added. On by default.

        Ecuadorian:
        I adjusted the tolerance so it shouldn't loose any geometry on the model you sent me. Hopefully it won't loose anything in other models either.
        But there is some cases where which can be removed is left behind. I hope to address this. I figured it's best to be defensive than aggressive.

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

        1 Reply Last reply Reply Quote 0
        • E Offline
          Ecuadorian
          last edited by

          Sounds nice, Thom!
          Perhaps you could give the user two or three threshold options.

          -Miguel Lescano
          Subscribe to my house plans YouTube channel! (30K+ subs)

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

            @ecuadorian said:

            Sounds nice, Thom!
            Perhaps you could give the user two or three threshold options.

            I added an debug option which you can use for now. You can see it in the screenshot.
            The closer to 1.0 the stricter it is.

            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

              @ecuadorian said:

              Sounds nice, Thom!
              Perhaps you could give the user two or three threshold options.

              As for the model you sent me, you won't have much luck reducing the tolerance because of the threshold where the edges can be removed overlaps. That model is a good example of a troublesome model - I'll try and get some Google heads to comment on what's going on.

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

              1 Reply Last reply Reply Quote 0
              • I Offline
                ideas_arte
                last edited by

                incredibly helpful, thank you very much 😄

                1 Reply Last reply Reply Quote 0
                • N Offline
                  notareal
                  last edited by

                  👍

                  Welcome to try [Thea Render](http://www.thearender.com/), Thea support | [kerkythea.net](http://www.kerkythea.net/) -team member

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

                    Updated once again.
                    Now has a dialog window where you can set various cleanup operation to be run on the entire model. Settings are persistent per session only.

                    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

                      😳 minor update to control whether to erase lonely edges or not - and corrected the purge order.

                      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

                        😳 😳 Yet another bug fix.

                        Ok! Enough! Weekend!

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

                        1 Reply Last reply Reply Quote 0
                        • plot-parisP Offline
                          plot-paris
                          last edited by

                          fantastic plugin, Thom,

                          I already had my shortcut Ctrl+Shift+D assigned to the first cleanup-script. but the new one seems to be a lot more powerful. already worked well on models that lost lots of faces when cleaned up in the past.

                          about the threshold: do you think instead (or in addition maybe) to the manual input, would it make sense to have predefined settings, like 'high', 'medium' and 'low'?
                          cause adding nines to the 0.9999 isn't very intuitive... on the other hand. might be a bit too much... 😕

                          thanks again for the plugin. cleanup is one of the tools that I use most. couldn't live without it!
                          have a nice weekend!

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            Fletch
                            last edited by

                            this looks killer, ThomThom... sure would have helped a lot with that 3ds Classroom model... I just basically re-built it from scratch instead 😒

                            Fletch
                            Twilight Render Cross-platform Plugin for SketchUp on PC or Mac

                            1 Reply Last reply Reply Quote 0
                            • majidM Offline
                              majid
                              last edited by

                              👍 👍

                              My inspiring A, B, Sketches book: https://sketchucation.com/shop/books/intermediate/2612-alphabet-inspired-sketches--inspiring-drills-for-architects--3d-artists-and-designers-

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

                                @plot-paris said:

                                about the threshold: do you think instead (or in addition maybe) to the manual input, would it make sense to have predefined settings, like 'high', 'medium' and 'low'?
                                cause adding nines to the 0.9999 isn't very intuitive... on the other hand. might be a bit too much... 😕

                                I'm trying to get hold of feedback from Google which can shed some light on how things works under the hood in SU so I can 100% reliably erase all edges that are coplanar. I want to avoid having to set this tolerance completely.

                                But until then we have this tolerance. But I do plan on eventually implement a webdialog that will provide a better UI this this. More specifically, giving a better description of the various options as I don't feel the current UI is quite clear on what it do. With webdialogs I can add sliders etc. Will have to see though. I want to try to get feedback from Google before I invest time in that.

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

                                  Tom can code! 😄

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

                                    I've been testing more models. The tolerance required seem to vary from model to model. At the latest model I tested I had to remove 4 digits from the tolerance to remove all coplanar edges. What's odd is that in other models the same tolerance would cause missing geometry...

                                    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

                                      The model I tried it on has a Sandbox generated terrain and a Revit -> FBX -> 3DS -> SU imported model. I had to lower the tolerance to clean up the Revit model, but the sandbox tool lost some faces... I can't make sense of there numbers I get...

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

                                        You are the man!!
                                        Thanks a lot...

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

                                          Thank you Thom.
                                          This will come in handy to clean up imported files from Rhino's sloppy .3ds/SU exports.
                                          Rhino has the tendency to triangulate each and ever surface at least twice and I always had trouble getting rid of those coplanar edges.
                                          Will be trying the plugin tomorrow at work. Thanks 👍

                                          1 Reply Last reply Reply Quote 0
                                          • E Offline
                                            Ecuadorian
                                            last edited by

                                            Kwisten, have you tried
                                            Rhino -> MOI -> SketchUp?
                                            MOI uses the same file format as Rhino, and I've read it exports geometry to SketchUp in a much cleaner way then Rhino.

                                            -Miguel Lescano
                                            Subscribe to my house plans YouTube channel! (30K+ subs)

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

                                            Advertisement