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.
    • thomthomT Offline
      thomthom
      last edited by

      SketchUp's internal precision is 1/1000th of an inch. When things get close to that vertices begin to be treated as having the same position and edges and faces might not create - or be lost when you modify them.

      One workaround is to scale up the actual geometry, the edges and faces by a factor of say 100 - then scale down the instance/group to counter-weight it. That way the definition of the geometry it large enough, but the instance's scale make it appear in correct size.

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

      1 Reply Last reply Reply Quote 0
      • frankflafyF Offline
        frankflafy
        last edited by

        hi
        thanx for the plug in. really love this.

        i have one problem. its Vray dome light
        when i ran this with vray dome light on screen, the vray dome light deleted.

        how i fix this?

        thanx

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

          What does it look like this VRay dome?
          This plugin isn't aware of "special" objects that other extensions create - it treats everything as regular edges and faces.

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

          1 Reply Last reply Reply Quote 0
          • jiminy-billy-bobJ Offline
            jiminy-billy-bob
            last edited by

            It's two arcs and a circle, without any face. So no surprise Cleanup deletes these edges.

            25% off Skatter for SketchUcation Premium Members

            1 Reply Last reply Reply Quote 0
            • tt_suT Offline
              tt_su
              last edited by

              Anyone got a sample model?

              1 Reply Last reply Reply Quote 0
              • frankflafyF Offline
                frankflafy
                last edited by

                Vray dome light is like this


                Vray Dome Light

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Charles502
                  last edited by

                  so many thanks, is too very useful plugin for my model 3d and my time, thanks for sharing. thomthom

                  1 Reply Last reply Reply Quote 0
                  • utilerU Offline
                    utiler
                    last edited by

                    Hi Thom, hope you're doing well. πŸ‘

                    Between your CleanUp Tools and Edge Tools I'm wondering if you have thought about adding an option to move all verticies to Z=0. I often import dwg files that for some reason some lines are just that tiny bit off Z which causes all sorts of issues in finding out what is and isn't flattened....

                    What do you think?

                    Love your work!

                    purpose/expression/purpose/....

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

                      @utiler said:

                      I'm wondering if you have thought about adding an option to move all verticies to Z=0. I often import dwg files that for some reason some lines are just that tiny bit off Z which causes all sorts of issues in finding out what is and isn't flattened....

                      "There's an extension for that!": Architect Tools (Look for the big weight-icon that will flatten everything like the Hulk)

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

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        antonio.calvo
                        last edited by

                        Thanks so much for your plugins, enjoy the cookie. I'm pretty new posting on this forum althought I have been following all of you guys and your fantastic work for a long time. Recently I'm working in a large model and your plugin is givin me a couple of errors of the model.

                        Results of Validity Check.

                        CLoop (1154934) does not reference CFace (1161656) - fixed
                        The plane equation for CFace (4395989) is not valid - fixed

                        Both of then never seem to be fixed after running the plugin. Also straight after closing Sketchup, it will create a bug splat! Is driving me mad πŸ˜• and can't find which part of the model is doing it. Any help will be great. Thank you

                        1 Reply Last reply Reply Quote 0
                        • cottyC Offline
                          cotty
                          last edited by

                          @antonio.calvo said:

                          ...and can't find which part of the model is doing it.

                          Without having a look at the model no one else will be able to find it too...

                          my SketchUp gallery

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

                            @antonio.calvo said:

                            Thanks so much for your plugins, enjoy the cookie. I'm pretty new posting on this forum althought I have been following all of you guys and your fantastic work for a long time. Recently I'm working in a large model and your plugin is givin me a couple of errors of the model.

                            Results of Validity Check.

                            CLoop (1154934) does not reference CFace (1161656) - fixed
                            The plane equation for CFace (4395989) is not valid - fixed

                            Both of then never seem to be fixed after running the plugin. Also straight after closing Sketchup, it will create a bug splat! Is driving me mad πŸ˜• and can't find which part of the model is doing it. Any help will be great. Thank you
                            Try running Edge Tools on the problem model's geometry [edit 'containers' to access their contents etc]...
                            Duplicated vertices that are not 'welded' have been cited as culprits for this kind of thing...
                            http://sketchucation.com/pluginstore?pln=tt_edgetools

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              antonio.calvo
                              last edited by

                              Thanks TIG, spoke with Rich and that was he suggestion too. So i run edge inspector in each component of the model and ended up fixing thousands of tiny gaps/edges. After the whole process (didn't take as long as I was imagining) all fixed and no more crashes! Thanks again for all your tips and great plugins.

                              1 Reply Last reply Reply Quote 0
                              • Z Offline
                                zhenning
                                last edited by

                                Hi

                                I imported an STL file into sketchup 2014 and I am trying to clean the faces with cleanup and it appears to cause some problems.

                                CEdge (15569) and CEdge (1510) connect the same 2 vertices - fixed
                                CEdge (14024) and CEdge (1479) connect the same 2 vertices - fixed
                                CEdge (1268) and CEdge (15568) connect the same 2 vertices - fixed
                                The plane equation for CFace (15570) is not valid - fixed
                                The plane equation for CFace (15576) is not valid - fixed
                                The plane equation for CFace (15588) is not valid - fixed
                                The plane equation for CFace (15637) is not valid - fixed
                                The plane equation for CFace (15643) is not valid - fixed
                                The plane equation for CFace (15655) is not valid - fixed
                                The plane equation for CFace (15606) is not valid - fixed
                                The plane equation for CFace (15662) is not valid - fixed
                                The plane equation for CFace (15675) is not valid - fixed
                                The plane equation for CFace (15829) is not valid - fixed
                                The plane equation for CFace (15822) is not valid - fixed
                                The plane equation for CFace (15781) is not valid - fixed
                                The plane equation for CFace (15795) is not valid - fixed
                                The plane equation for CFace (15802) is not valid - fixed
                                The plane equation for CFace (15815) is not valid - fixed
                                The plane equation for CFace (15755) is not valid - fixed
                                The plane equation for CFace (15767) is not valid - fixed
                                The plane equation for CFace (15774) is not valid - fixed

                                I am using SuSolid to check whether the model is watertight. Directly after i import, the SuSolid shows no problem with the model. However after i ran cleanup, some issues appear. I am using Sketchup 2014.


                                After import


                                After running cleanup

                                1 Reply Last reply Reply Quote 0
                                • cottyC Offline
                                  cotty
                                  last edited by

                                  And the question is?

                                  my SketchUp gallery

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

                                    zhenning:
                                    I have used MeshLab to decimate models and found it is best to limit the number of actions taken to one at a time and the sequence can also affect the out come. I have not used ThomThom's plugin but, trying to limit the number of corrections to few at a time may help you keep it a solid. In addition using Tig's solid solver has quite often helped after cleanup. What analyzer are you using one of the 3d printers?

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

                                      zhenning:
                                      Arg forgot 😲
                                      http://sketchucation.com/forums/viewtopic.php?p=359994#p359994

                                      1 Reply Last reply Reply Quote 0
                                      • Z Offline
                                        zhenning
                                        last edited by

                                        @cotty said:

                                        And the question is?

                                        The cleanup seems to delete wrong faces? The coplanar error appears only after the cleanup plugin is used to clean the model.

                                        1 Reply Last reply Reply Quote 0
                                        • Z Offline
                                          zhenning
                                          last edited by

                                          Attached is the file:

                                          Dropbox

                                          favicon

                                          (www.dropbox.com)

                                          After some trials, the errors happens when i tried merge faces 😞

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

                                            Initial application of cleanup does a good job of fixing errors, then running TIG's solid solver had problems to the point of destroying model. That just haapens some times.
                                            After cleanup suggest you save the file as a stl you can then use one of the free apps some 3 d printers have and attempt to fix the model. The attached jpg shows my results using NetFab more work need to be done. Shapeway had a free service where they would run your model thru there app and possibly fix model. Sadly I have lost link and will have to look for it. Here is info I have
                                            base.jpg
                                            And the link on use of the app. It free version so does not give full capability

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

                                            Advertisement