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.
    • A Offline
      AcesHigh
      last edited by

      @thomthom said:

      Looking at the one you sent, I selected everything and intersected it with itself a few times. CleanUp doesn't clean up faces that partially overlaps. Only faces that fully cover the exact same space as another. After intersecting and then cleaning there was no overlapping.

      I will try that, thanks... however... how can I intersect if they are not solids?

      ps: I am trying to solve, with CleanUp, about the same problem that made me ask for the "GoogleEarth Meshes boolean subtract" plugin at the topic http://forums.sketchucation.com/viewtopic.php?f=323&t=40555

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

        @aceshigh said:

        @thomthom said:

        Looking at the one you sent, I selected everything and intersected it with itself a few times. CleanUp doesn't clean up faces that partially overlaps. Only faces that fully cover the exact same space as another. After intersecting and then cleaning there was no overlapping.

        I will try that, thanks... however... how can I intersect if they are not solids?

        ps: I am trying to solve, with CleanUp, about the same problem that made me ask for the "GoogleEarth Meshes boolean subtract" plugin at the topic http://forums.sketchucation.com/viewtopic.php?f=323&t=40555

        Not intersecting with Solid Tools, but the regular intersect that's been in SU since, ever..? From the context menu, there is Intersect Faces menu item.

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

          @thomthom said:

          @aceshigh said:

          @thomthom said:

          Looking at the one you sent, I selected everything and intersected it with itself a few times. CleanUp doesn't clean up faces that partially overlaps. Only faces that fully cover the exact same space as another. After intersecting and then cleaning there was no overlapping.

          I will try that, thanks... however... how can I intersect if they are not solids?

          ps: I am trying to solve, with CleanUp, about the same problem that made me ask for the "GoogleEarth Meshes boolean subtract" plugin at the topic http://forums.sketchucation.com/viewtopic.php?f=323&t=40555

          Not intersecting with Solid Tools, but the regular intersect that's been in SU since, ever..?

          since ever, but I had never seen or used it before 😆

          anyway, however, intersected it with itself several times, and when I used cleanup³, several triangles were lost, and got some error messages 😢

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

            @aceshigh said:

            and got some error messages 😢

            What where the error message?

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

              @thomthom said:

              @aceshigh said:

              and got some error messages 😢

              What where the error message?

              something along these lines (not exactly the same because I had to test again, with new Earth imported meshes, so different triangles disappeared, etc)

              Results of Validity Check.

              CEdge (4234) and CEdge (7926) connect the same 2 vertices - fixed
              The plane equation for CFace (4767) is not valid - fixed

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

              35 - Face merge resulted in lost geometry!

              1 Reply Last reply Reply Quote 0
              • sumasterS Offline
                sumaster
                last edited by

                Dear Thomthom Sir,

                here you are launch your new Cleanup (3.1.8) — 06 October 2011
                • Whats new features you are added ❓

                and one problem can you solve in new version

                I'm architectural student and import CAD drawing and lock that drawing in sketchup viewport
                but when i play / start " Clean With Last Setting " he also cleanup viewport with lock group/component 😮

                See here ......

                Regular selection

                Lock selection

                Finally clean every thing .....

                And thank you for this tool its very best for me or ever one ...... 😄 😉

                I'm very happy with this tool ......

                Thank you,
                SUmaster

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

                  The way CleanUp traverses the model it's tricky to know what is part of a locked group or not. But I'll put it down for investigation.

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

                  1 Reply Last reply Reply Quote 0
                  • sumasterS Offline
                    sumaster
                    last edited by

                    Yes thank you .....

                    Thank you,
                    SUmaster

                    1 Reply Last reply Reply Quote 0
                    • dereiD Offline
                      derei
                      last edited by

                      @thomthom said:

                      The way CleanUp traverses the model it's tricky to know what is part of a locked group or not. But I'll put it down for investigation.

                      You can use ruby to check if is locked or not
                      http://code.google.com/apis/sketchup/docs/ourdoc/group.html#locked?
                      http://code.google.com/apis/sketchup/docs/ourdoc/componentinstance.html#locked?

                      DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

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

                        @unknownuser said:

                        @thomthom said:

                        The way CleanUp traverses the model it's tricky to know what is part of a locked group or not. But I'll put it down for investigation.

                        You can use ruby to check if is locked or not
                        http://code.google.com/apis/sketchup/docs/ourdoc/group.html#locked?
                        http://code.google.com/apis/sketchup/docs/ourdoc/componentinstance.html#locked?

                        I know, but, I traverse the model by model.definitions.each - which means that I do not know if the parent for the instances I traverse are locked. I could be checking a sub-group of a locked group and .locked? will return false.

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

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          Tahesco
                          last edited by

                          Hi ThomThom,

                          We imported a 100mb model from ARCHICAD into SU (in fbx format). This goes slow but it works.

                          The problem is the same material gives different uvw_sizes on my components. The same brick material is 1 cm on a component while it's neigbour component has bricks of 20 cm ?!?.

                          Is there a way to reset all components to the same scale, so my bricks are uniform on all objects/ components? (like reset xform in 3dsmax)

                          Thanks for all the usefull work!

                          TTion

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

                            Another thing to do would be also interesting can recursively set all groups and components to "scale definition."

                            @tahesco said:

                            Hi ThomThom,

                            We imported a 100mb model from ARCHICAD into SU (in fbx format). This goes slow but it works.

                            The problem is the same material gives different uvw_sizes on my components. The same brick material is 1 cm on a component while it's neigbour component has bricks of 20 cm ?!?.

                            Is there a way to reset all components to the same scale, so my bricks are uniform on all objects/ components? (like reset xform in 3dsmax)

                            Thanks for all the usefull work!

                            TTion

                            While the cat's away, the mice will play

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

                              @bagatelo said:

                              Another thing to do would be also interesting can recursively set all groups and components to "scale definition."

                              And how would you handle scenarios where one definition has instances of different scale... ?

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

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                Tahesco
                                last edited by

                                @thomthom said:

                                @bagatelo said:

                                Another thing to do would be also interesting can recursively set all groups and components to "scale definition."

                                And how would you handle scenarios where one definition has instances of different scale... ?

                                In my case I don't care if I loose all instances. All scene objects may become true default geometry. (because my scene objects are build in ARCHICAD).

                                Thanks again,.

                                NB -> Maybe an object replacer-script is capable of repairing killed Insances in a SU scene,...

                                1 Reply Last reply Reply Quote 0
                                • sumasterS Offline
                                  sumaster
                                  last edited by

                                  Hello Tahesco,

                                  can you CHK Unit ... when you export the file from ARCHICAD into .fbx format

                                  so 1st CHK and again import that .fbx file into the sketchup same unit select ......

                                  thanks

                                  Thank you,
                                  SUmaster

                                  1 Reply Last reply Reply Quote 0
                                  • sumasterS Offline
                                    sumaster
                                    last edited by

                                    @thomthom said:

                                    @unknownuser said:

                                    @thomthom said:

                                    The way CleanUp traverses the model it's tricky to know what is part of a locked group or not. But I'll put it down for investigation.

                                    You can use ruby to check if is locked or not
                                    http://code.google.com/apis/sketchup/docs/ourdoc/group.html#locked?
                                    http://code.google.com/apis/sketchup/docs/ourdoc/componentinstance.html#locked?

                                    I know, but, I traverse the model by model.definitions.each - which means that I do not know if the parent for the instances I traverse are locked. I could be checking a sub-group of a locked group and .locked? will return false.

                                    yes sir you are right .......

                                    when run Cleanup last setting he CHK all group or component ..... right ...?

                                    Thank you,
                                    SUmaster

                                    1 Reply Last reply Reply Quote 0
                                    • genma saotomeG Offline
                                      genma saotome
                                      last edited by

                                      VERY useful! 😍 My thanks for producing and releasing this.

                                      Might you consider adding "Remove Materials" from Backface? I know it's in another plugin but it's something I should do as part of my final cleanup but I often forget. Adding this would to Cleanup would be real handy and I would like to see the count of cleaned backfaces in the statistics too.

                                      P.S.
                                      Ya know, adding "Remove Untextured Faces" would be a godsend for me. Any chance of that too?

                                      1 Reply Last reply Reply Quote 0
                                      • 0 Offline
                                        0devang
                                        last edited by

                                        It doesn't work with sketchup pro 8. what could be the reason?

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

                                          @0devang said:

                                          It doesn't work with sketchup pro 8. what could be the reason?

                                          The plugin does indeed work with SketchUp 8 Pro. If it isn't working for you, the most likely cause is that it hasn't been installed correctly. Go back to the first post and read the instructions and make sure it has been installed correctly. This includes installing TT_Lib2 as indicated under Requirements.

                                          Etaoin Shrdlu

                                          %

                                          (THERE'S NO PLACE LIKE)

                                          G28 X0.0 Y0.0 Z0.0

                                          M30

                                          %

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

                                            @genma saotome said:

                                            VERY useful! 😍 My thanks for producing and releasing this.

                                            Might you consider adding "Remove Materials" from Backface? I know it's in another plugin but it's something I should do as part of my final cleanup but I often forget. Adding this would to Cleanup would be real handy and I would like to see the count of cleaned backfaces in the statistics too.

                                            P.S.
                                            Ya know, adding "Remove Untextured Faces" would be a godsend for me. Any chance of that too?

                                            I'll see what I can do for the next release. (I'm quite busy atm, can't promise anything.)

                                            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
                                            • 22
                                            • 23
                                            • 24
                                            • 25
                                            • 26
                                            • 48
                                            • 49
                                            • 24 / 49
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement