• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] CleanUp

Scheduled Pinned Locked Moved Plugins
974 Posts 217 Posters 787.9k Views
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.
  • T Offline
    thomthom
    last edited by 28 Feb 2011, 17:44

    That's because one of them got a material applied to its backside. Tick the Ignore Materials checkbox and it'll merge them.

    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
      JPMays
      last edited by 28 Feb 2011, 18:53

      I had thought something like that might be the issue, and so I selected everything and applied a uniform material. I even did Reverse Faces to make sure everything was the same. I also used cleanup to set everything to Level 0, but still couldn't get them to merge.

      Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.

      1 Reply Last reply Reply Quote 0
      • T Offline
        thomthom
        last edited by 28 Feb 2011, 21:15

        But you get them to merge when you tick Ignore Material, right?

        Btw, I think I've trapped the case where faces disappear. Will post an update later this week.

        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
          JPMays
          last edited by 28 Feb 2011, 22:39

          Aha, yes it worked! Thanks Thom.

          Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.

          1 Reply Last reply Reply Quote 0
          • N Offline
            nosehair
            last edited by 3 Mar 2011, 03:22

            thank you!it's very useful!

            1 Reply Last reply Reply Quote 0
            • F Offline
              firebert85
              last edited by 17 Mar 2011, 22:59

              i loaded this plugin into sketchup 8 and its not working, gives me an error message at startup and the plug in cant be found.

              1 Reply Last reply Reply Quote 0
              • T Offline
                TIG Moderator
                last edited by 18 Mar 2011, 09:42

                @unknownuser said:

                i loaded this plugin into sketchup 8 and its not working, gives me an error message at startup and the plug in cant be found.
                We are not psychics - please post the error message. So far it suggests you have not installed things properly. Can you confirm what files were put in what folders, and the TT_Lib you installed etc...

                TIG

                1 Reply Last reply Reply Quote 0
                • U Offline
                  utiler
                  last edited by 18 Mar 2011, 11:26

                  @tig said:

                  We are not psychics - please post the error message. So far it suggests you have not installed things properly. Can you confirm what files were put in what folders, and the TT_Lib you installed etc...

                  You sound like I feel, TIG! Bloody big weeks' work and you still get asked silly questions..... 😮

                  purpose/expression/purpose/....

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    firebert85
                    last edited by 18 Mar 2011, 16:27

                    @tig said:

                    @unknownuser said:

                    i loaded this plugin into sketchup 8 and its not working, gives me an error message at startup and the plug in cant be found.
                    We are not psychics - please post the error message. So far it suggests you have not installed things properly. Can you confirm what files were put in what folders, and the TT_Lib you installed etc...

                    jesus you make it sound like its rocket science.

                    Error Loading File tt_cleanup.rb
                    no such file to load -- TT_Lib2/core.rb

                    its the one file posted on the board, and its in the google sketchup 8 plugin folder.

                    like every other plugin ive downloaded from this website.

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      Gaieus
                      last edited by 18 Mar 2011, 16:52

                      It seems that TIG was right and you did nt install TT_Lib (another required plugin) as suggested in the plugin post. Please, make sure that is also installed and restart SU.

                      Gai...

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        TIG Moderator
                        last edited by 18 Mar 2011, 17:02

                        The error message tells you/us what is missing...
                        Many of the more complicated scripts have 'Libraries' of additional functions, that they sometimes share with other tools written by the same author. Many of thomthom's tools use his 'TT_Libs'...
                        It was explained that you need this addition stuff and clearly linked in the thread from where you got the main .rb file...
                        http://forums.sketchucation.com/viewtopic.php?p=193587#p193587 Capture.PNG

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          risoto1978
                          last edited by 21 Mar 2011, 14:00

                          Hi,

                          I tried to install the cleanup ruby file on my mac. But then starting sketchup I got this error message: "no such file to load -- TT_Lib2/core.rb" but this one was not part of the download.

                          somebody can help?

                          Thanks
                          risoto

                          1 Reply Last reply Reply Quote 0
                          • G Offline
                            Gaieus
                            last edited by 21 Mar 2011, 14:18

                            Hi Christian (and welcome),

                            Please, go back to the first post and follow the link to that TT_Libray (and additional plugin package) you also need for this (and some other) plugin(s) to work.

                            Gai...

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              TIG Moderator
                              last edited by 21 Mar 2011, 20:18

                              Christian
                              Follow Gaieus's advice and mine in the post just before yours 😕 http://forums.sketchucation.com/viewtopic.php?p=316703#p316703 that shows the link... 😒

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                risoto1978
                                last edited by 22 Mar 2011, 20:52

                                Thanks for the hint. Reading makes things easier. Now it works.

                                cheers
                                risoto

                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  JasonDoggart
                                  last edited by 6 Apr 2011, 19:27

                                  Thanks so much for this tool! All your hard work is greatly appreciated!

                                  1 Reply Last reply Reply Quote 0
                                  • Bob JamesB Offline
                                    Bob James
                                    last edited by 7 Apr 2011, 05:36

                                    I wound up in a complex model with several instances of a component having two or three different names. I want to change it so that all of the components that are physically the same become just one component and one name.

                                    I tried the "similar" tool but that didn't seem to do anything (that I could tell).

                                    I can't manually fix it because SU requires unique names.

                                    Any advice?

                                    i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      thomthom
                                      last edited by 7 Apr 2011, 07:26

                                      @bob james said:

                                      I tried the "similar" tool but that didn't seem to do anything (that I could tell).

                                      It doesn't currently handle nested components etc. It's very experimental and I've not had time to work more on it. 😞

                                      @bob james said:

                                      I can't manually fix it because SU requires unique names.

                                      Select the component you want in the model - then type into the Ruby Console:
                                      prototype = Sketchup.active_model.selection[0].definition

                                      Select one or more of the instances of the definition you want to replace - then:
                                      Sketchup.active_model.selection.each{|e|e.definition=prototype}

                                      (Make sure the components axis are place identically.)

                                      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
                                        rocorona
                                        last edited by 7 Apr 2011, 11:59

                                        --Select the COMPONENT you want to replace;
                                        --Go to the Components Browser:
                                        --Right-click on the preview of the replacing component;
                                        --Choose the "Replace selection" command;

                                        Was this your goal?

                                        1 Reply Last reply Reply Quote 0
                                        • Bob JamesB Offline
                                          Bob James
                                          last edited by 9 Apr 2011, 00:59

                                          @rocorona said:

                                          --Select the COMPONENT you want to replace;
                                          --Go to the Components Browser:
                                          --Right-click on the preview of the replacing component;
                                          --Choose the "Replace selection" command;

                                          Was this your goal?

                                          Thank you for your idea, but I've used the workflow you describe, but it still leaves the names different.

                                          Goal: Several identical components have different names: I want consolidate all of them into one component and one name.

                                          i7-4930K 3.4Ghz, 2x GTX780 6GB, 32GB DDR3-1600 ECC, OCZ Vertex 4 500GB, WD Black 3TB, 32TB NAS, 4x 27" Monitors, SpaceMouse Pro, X-keys XK-60

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 14
                                          • 15
                                          • 16
                                          • 17
                                          • 18
                                          • 48
                                          • 49
                                          • 16 / 49
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement