• 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 14 Feb 2011, 09:32

    @bagatelo said:

    Sorry, but it's not working: 😳

    undefined method `add_group' for #<Sketchup;;Group;0xf18f5d8>
    > 
    > C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_cleanup.rb;969;in `remove_materials'
    > C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_cleanup.rb;967;in `each'
    > C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_cleanup.rb;967;in `remove_materials'
    > C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_cleanup.rb;935;in `merge_similar_materials'
    > C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_cleanup.rb;495;in `cleanup!'
    > C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/tt_cleanup.rb;438;in `show_cleanup_ui'
    > C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Lib2/inputbox.rb;160;in `call'
    > C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Lib2/inputbox.rb;160;in `initialize'
    > C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Lib2/inputbox.rb;143;in `call'
    > C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Lib2/inputbox.rb;143;in `close'
    > C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/TT_Lib2/inputbox.rb;143;in `initialize'
    

    I try to clean this component:
    http://sketchup.google.com/3dwarehouse/details?mid=4d0acb2641fa8dff27170042f46719ed&prevstart=0
    But it's not working. 😳

    Ah - you're using SketchUp 6. Seems to be an error in the SU6 spesific code for removing materials. I didn't get around to test that. I'll have a look at it.

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

    1 Reply Last reply Reply Quote 0
    • B Offline
      bagatelo
      last edited by 14 Feb 2011, 10:36

      Both my Sketchup and Internet Explorer are Eight!!

      @unknownuser said:

      C:/Program Files (x86)/Google/Google SketchUp 8 >>> (eight)

      While the cat's away, the mice will play

      1 Reply Last reply Reply Quote 0
      • T Offline
        thomthom
        last edited by 14 Feb 2011, 11:14

        @bagatelo said:

        Both my Sketchup and Internet Explorer are Eight!!

        @unknownuser said:

        C:/Program Files (x86)/Google/Google SketchUp 8 >>> (eight)

        But you haven't updated to the latest maintenance release, have you? Versions prior to the recent M1 release need to use a workaround to merge materials - which is where the bug lies.

        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
          thomthom
          last edited by 14 Feb 2011, 11:36

          Version 3.1.3

          • Fixed bug in merge materials for SketchUp version prior to SU8M1.

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

          1 Reply Last reply Reply Quote 0
          • B Offline
            bagatelo
            last edited by 14 Feb 2011, 11:57

            I updated everything.

            Do not worry,thomthom. I use the old version. Thanks.

            While the cat's away, the mice will play

            1 Reply Last reply Reply Quote 0
            • T Offline
              thomthom
              last edited by 14 Feb 2011, 12:26

              @bagatelo said:

              I updated everything.

              Do not worry,thomthom. I use the old version. Thanks.

              What version does About SketchUp say?

              Did you try CleanUp 3.1.3 which I just released a few minutes ago?

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

              1 Reply Last reply Reply Quote 0
              • B Offline
                bagatelo
                last edited by 14 Feb 2011, 12:51

                Yes, Sir.


                versΓ£o.jpg

                While the cat's away, the mice will play

                1 Reply Last reply Reply Quote 0
                • T Offline
                  thomthom
                  last edited by 14 Feb 2011, 12:57

                  That is not the latest SketchUp version. There is an update to SU8 you are missing.

                  Btw - 3.1.3 is working now, right?

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

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    Gaieus
                    last edited by 14 Feb 2011, 13:04

                    I'd really suggest upgrading, Alexandro. There have been some really good improvements!

                    (And when you are at it, you could also update your profile so that bug hunting plugin authors are not confused)

                    Gai...

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      bagatelo
                      last edited by 14 Feb 2011, 13:05

                      thomthom: I'm so sorry.
                      I've updated Sketchup now.
                      Now it worked.
                      I'm a fool. Thanks for your patience.

                      While the cat's away, the mice will play

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        Gaieus
                        last edited by 14 Feb 2011, 13:22

                        I don't think TT would be angry with you (more likely he's glad it works now).
                        πŸ˜‰
                        But did it (that latest Cleanup version) also work with the previous SU 8 version?

                        Gai...

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          thomthom
                          last edited by 14 Feb 2011, 13:34

                          No - I'm not angry. But that update is really worth it. Some important fixes in SketchUp.
                          And 3.1.3 should work for pre M1 now.

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

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            bagatelo
                            last edited by 14 Feb 2011, 13:44

                            I tested all the new versions of cleanup with sketchup 8 outdated and did not work. Only when I upgraded to the latest version of sketchup was the plugin cleanup worked well.

                            Is there something in the working of the plugin which I think could be rethought. That is what concerns processing of edges. Is there a difference between edges that form a face and are coplanar with other faces ("Erase Coplanar Edges") AND edges who are in face without being divided into other faces ("Erase Lonely Edges"). If could be distinguished in this way I can assign keyboard shortcuts for this two situations.

                            While the cat's away, the mice will play

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              thomthom
                              last edited by 14 Feb 2011, 14:45

                              @bagatelo said:

                              I tested all the new versions of cleanup with sketchup 8 outdated and did not work. Only when I upgraded to the latest version of sketchup was the plugin cleanup worked well.

                              Errors?

                              @bagatelo said:

                              That is what concerns processing of edges. Is there a difference between edges that form a face and are coplanar with other faces ("Erase Coplanar Edges") AND edges who are in face without being divided into other faces ("Erase Lonely Edges").

                              ❓

                              @bagatelo said:

                              If could be distinguished in this way I can assign keyboard shortcuts for this two situations.

                              You can assign shortcuts for each function - Since 3.1 you have individual menus:

                              http://forums.sketchucation.com/download/file.php?id=63390

                              Maybe I just don't understand the question... ❓ πŸ˜•

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

                              1 Reply Last reply Reply Quote 0
                              • B Offline
                                bagatelo
                                last edited by 14 Feb 2011, 16:46

                                A picture is more worth than a thousand words.


                                erros.jpg

                                While the cat's away, the mice will play

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  thomthom
                                  last edited by 14 Feb 2011, 20:33

                                  You want to erase stray edges and merge coplanar faces?
                                  Just set the settings in the dialog window. Then after ward you can just use the "Clean with Last Settings" if you quickly want to repeat that cleaning operation.

                                  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
                                    thomthom
                                    last edited by 15 Feb 2011, 12:54

                                    That's and odd error message. It refers to tt_guide_tools.rb...

                                    @rspierenburg said:

                                    I've removed both the plugin and the TT_lib2 folder and re-installed both

                                    Did you download the new version of TT_Lib2 before reinstalling TT_Lib2?

                                    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
                                      rspierenburg
                                      last edited by 15 Feb 2011, 13:47

                                      Yes, I re-downloaded the latest revision of TT_Lib2 (2.5.3) and Cleanup (3.1.3). Should I try to remove and re-install the TT_Guide tools as well?

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

                                        You could try... I'm not really sure why you get this error message.

                                        What OS do you use? Windows?
                                        Administrator or User account? UAC on/off?

                                        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
                                          rspierenburg
                                          last edited by 15 Feb 2011, 14:20

                                          Using Windows Vista Home Premium with administrator access yes. I think it might be a conflict with another plugin perhaps. I'll check it out and let you know what I find out.

                                          Rob

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

                                          Advertisement