sketchucation logo sketchucation
    • Login
    πŸ’‘ LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering Download Trial

    [Plugin] CleanUp

    Scheduled Pinned Locked Moved Plugins
    974 Posts 217 Posters 787.0k 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.
    • M
      mac1
      last edited by

      clean layer text.jpg
      Layer text did not disply wee. Hope this is better.

      1 Reply Last reply Reply Quote 0
      • M
        mp1963
        last edited by

        Installed the latest version of Cleanup and I am seeing these errors:

        undefined method `hidden?' for #Sketchup::Vertex:0xe3d4fc4

        /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:1142:in erase_hidden' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/entities.rb:113:in each_entity'
        /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/entities.rb:112:in each' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/entities.rb:112:in each_entity'
        /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/entities.rb:119:in each_entity' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/entities.rb:112:in each'
        /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/entities.rb:112:in each_entity' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/entities.rb:119:in each_entity'
        /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/entities.rb:112:in each' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/entities.rb:112:in each_entity'
        /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:772:in each_entity_in_scope' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:1130:in erase_hidden'
        /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:568:in cleanup!' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:488:in show_cleanup_ui'
        /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:178:in call' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:178:in event_inputbox_close'
        /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:9:in to_proc' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:159:in call'
        /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:159:in close' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:159:in event_inputbox_accept'
        /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:9:in to_proc' (eval):110:in call'
        (eval):110

        The model I am cleaning up is very simple and these errors seem to occur after completing one (sometimes two) previous cleanup operations.

        I hope this information is of some use ?

        I am also experiencing a lot of Sketchup Pro crashes, without any crash reports being generated.

        I am using Sketchup Pro 8.0.11751 on Mac OS X 10.7.2. Hardware is a iMac 2.93Ghz Core 2 Duo with 8Gb of DDR3 RAM.

        Thanks for the excellent plugin.

        Kind regards,

        Marek

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

          That is a very strange error! 😲
          Somehow it iterates over a Vertex entity - I cannot see any reason for that... πŸ˜•

          Can you post the model? Or send it to me privately if you don't want to publicly share?
          Also, I need to know the exact settings you used. (A screenshot of the settings window)

          And I assume you;re using the latest CleanUp? 3.1.9?
          And the exact version of 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
          • M
            mp1963
            last edited by

            Have sent you a PM about this πŸ’š

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

              I looked at the model. Could not reproduce it. But I used a PC. Will have to try on my Mac.
              Exactly what version of SketchUp do you have? And TT_Lib2?

              (btw - I did see that there where many small details - where edges where less than 1mm - which can cause issues with SU. But I'm not sure if that would cause such an error as the one you see...)

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

              1 Reply Last reply Reply Quote 0
              • M
                mp1963
                last edited by

                Specifications of software and hardware...

                I am using Sketchup Pro 8.0.11751 on Mac OS X 10.7.2. Hardware is a iMac 2.93Ghz Core 2 Duo with 8Gb of DDR3 RAM. Video card is an Nvidia GT130.

                TT_Lib2 is version 2.6.0

                Hope that helps.

                Marek

                1 Reply Last reply Reply Quote 0
                • M
                  mp1963
                  last edited by

                  Another strange error today, not seen this one before:

                  undefined method `valid?' for #Sketchup::OptionsProvider:0xecc34c8

                  /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:1133:in erase_hidden' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/model.rb:134:in each_entity'
                  /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/model.rb:133:in each' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/model.rb:133:in each_entity'
                  /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/model.rb:130:in each' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/model.rb:130:in each_entity'
                  /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:768:in each_entity_in_scope' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:1130:in erase_hidden'
                  /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:568:in cleanup!' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:488:in show_cleanup_ui'
                  /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:178:in call' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:178:in event_inputbox_close'
                  /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:9:in to_proc' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:159:in call'
                  /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:159:in close' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:159:in event_inputbox_accept'
                  /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:9:in to_proc' (eval):3713:in call'
                  (eval):3713

                  Hope this list of problems is of some help ?

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

                    Can you reproduce it? If so how?

                    Because I cannot see how on earth that ever should happen. 😲 πŸ˜• While iterating the model the plugin ran across an OptionsProvider object... Never ever should such thing be possible. I don't know if it's an SU glitch or if there is some plugin conflict somewhere that messes with the core classes.

                    I first need to know if it's a reproducible case.

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

                    1 Reply Last reply Reply Quote 0
                    • M
                      mp1963
                      last edited by

                      I will have a go at reproducing the error. I seem to think it happens after several consecutive runs of the cleanup script. Will get back to you as soon as it happens again.

                      1 Reply Last reply Reply Quote 0
                      • M
                        mp1963
                        last edited by

                        Ok I managed to produce this error:

                        undefined method `hidden?' for #Sketchup::Vertex:0xea1acbc

                        /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:1142:in erase_hidden' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/model.rb:134:in each_entity'
                        /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/model.rb:133:in each' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/model.rb:133:in each_entity'
                        /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/model.rb:130:in each' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/model.rb:130:in each_entity'
                        /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:768:in each_entity_in_scope' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:1130:in erase_hidden'
                        /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:568:in cleanup!' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:488:in show_cleanup_ui'
                        /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:178:in call' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:178:in event_inputbox_close'
                        /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:9:in to_proc' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:159:in call'
                        /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:159:in close' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:159:in event_inputbox_accept'
                        /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:9:in `to_proc'

                        All I did was attempt to cleanup two separate models. I used the default cleanup settings. The only thing I changed was to tell cleanup to clean the model rather than selected. When cleaning the second model the error above appears.

                        1 Reply Last reply Reply Quote 0
                        • M
                          mp1963
                          last edited by

                          Attempting to repeat the cleanup process on a second model yields this error:

                          undefined method `current=' for #Sketchup::Face:0xdcbe564

                          /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:564:in cleanup!' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:488:in show_cleanup_ui'
                          /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:178:in call' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:178:in event_inputbox_close'
                          /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:9:in to_proc' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:159:in call'
                          /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:159:in close' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:159:in event_inputbox_accept'
                          /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:9:in to_proc' (eval):114:in call'
                          (eval):114

                          I have now removed all but the most necessary plugins from my Sketchup installation. Any suggestions as to what I can do next to try and help resolve these issues ?

                          1 Reply Last reply Reply Quote 0
                          • M
                            mp1963
                            last edited by

                            I don't restart Sketchup after these errors occur I get more and different error messages, like this one:

                            undefined method `hidden?' for #Sketchup::AttributeDictionary:0xdbb3c50

                            /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:1142:in erase_hidden' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/model.rb:134:in each_entity'
                            /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/model.rb:133:in each' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/model.rb:133:in each_entity'
                            /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/model.rb:130:in each' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/model.rb:130:in each_entity'
                            /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:768:in each_entity_in_scope' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:1130:in erase_hidden'
                            /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:568:in cleanup!' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:488:in show_cleanup_ui'
                            /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:178:in call' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:178:in event_inputbox_close'
                            /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:9:in to_proc' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:159:in call'
                            /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:159:in close' /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:159:in event_inputbox_accept'
                            /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/TT_Lib2/inputbox.rb:9:in to_proc' (eval):110:in call'
                            (eval):110

                            Would you like me to try reinstalling Sketchup or could this be a problem with the Ruby installation for the Mac ? Why is noone else reporting errors like this or is the case that most Sketchup users are on windows and these errors don't happen ?

                            1 Reply Last reply Reply Quote 0
                            • M
                              mp1963
                              last edited by

                              I have now updated my version of Ruby to the latest (1.9.3) and these errors still occur. Just for your information.

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

                                @mp1963 said:

                                Why is noone else reporting errors like this or is the case that most Sketchup users are on windows and these errors don't happen ?

                                It's strange that these errors should show themselves now. There are many OSX users. ...but could it be a Lion issue? Your profile information is up to date?

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

                                1 Reply Last reply Reply Quote 0
                                • M
                                  mp1963
                                  last edited by

                                  Have updated my system specification to include the 10.7.3 update we got from Apple last week. Sadly I didn't know about your plugin prior to Lion so I can't comment its stability then but I agree it is most odd that other users are not reporting/seeing these issues. I am reasonably certain its not the way I build my models in Sketchup. The one I sent you a while ago was not odd in any way I don't think ?

                                  Please let me know if there is anything I can help you track down what is going on here ?

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

                                    No, the model looked fine. But the errors are the most bizarre I've ever seen. They make no sense what so ever! 😲 πŸ˜• 😞

                                    @mp1963 said:

                                    undefined method `current=' for #Sketchup::Face:0xdcbe564

                                    /Library/Application Support/Google SketchUp 8/SketchUp/Plugins/tt_cleanup.rb:564:in `cleanup!'

                                    Line 564 in the plugin is: model.materials.current = nil Which would imply that model.material are returning a face instead of the model's material list. πŸ˜• 😲 It's crazy!

                                    And the other errors says when when the script iterate the model entities it's getting vertices and attribute dictionaries... there is no way that should happen.

                                    Sound like there's some wires getting crossed here - by the SketchUp core itself...

                                    Could you try, for the sake of it, to reinstall SketchUp? Completely remove the old and try with just CleanUp? (I'm sorry about the awkwardness of doing that, but I really have no idea to what this could be. The old, "reset" and try again is the only thing I can think of.)

                                    I might try to see if I can grab hold of a Googler and see if they know of any Lion issues.

                                    I'm baffled...

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

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      mp1963
                                      last edited by

                                      Will reinstall Sketchup later on today and let you know what happens.

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        mp1963
                                        last edited by

                                        Ok, did a complete reinstall of Sketchup Pro. Installed only your Cleanup plugin. Same problems I am afraid 😒

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

                                          @mp1963 said:

                                          Ok, did a complete reinstall of Sketchup Pro. Installed only your Cleanup plugin. Same problems I am afraid 😒

                                          I need to prod some Google minds on this I'm afraid.

                                          Is there any other users out there with similar problem?

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

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            mp1963
                                            last edited by

                                            Will wait in eager anticipation. If there is anything I can do to help please let me know.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 26
                                            • 27
                                            • 28
                                            • 29
                                            • 30
                                            • 48
                                            • 49
                                            • 28 / 49
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement