sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🔌 Smart Spline | Fluid way to handle splines for furniture design and complex structures. Download

    [Plugin] CleanUp

    已排程 已置頂 已鎖定 已移動 Plugins
    974 貼文 217 Posters 863.9k 瀏覽 217 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • M 離線
      mp1963
      最後由 編輯

      Have sent you a PM about this 💚

      1 條回覆 最後回覆 回覆 引用 0
      • thomthomT 離線
        thomthom
        最後由 編輯

        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 條回覆 最後回覆 回覆 引用 0
        • M 離線
          mp1963
          最後由 編輯

          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 條回覆 最後回覆 回覆 引用 0
          • M 離線
            mp1963
            最後由 編輯

            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 條回覆 最後回覆 回覆 引用 0
            • thomthomT 離線
              thomthom
              最後由 編輯

              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 條回覆 最後回覆 回覆 引用 0
              • M 離線
                mp1963
                最後由 編輯

                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 條回覆 最後回覆 回覆 引用 0
                • M 離線
                  mp1963
                  最後由 編輯

                  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 條回覆 最後回覆 回覆 引用 0
                  • M 離線
                    mp1963
                    最後由 編輯

                    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 條回覆 最後回覆 回覆 引用 0
                    • M 離線
                      mp1963
                      最後由 編輯

                      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 條回覆 最後回覆 回覆 引用 0
                      • M 離線
                        mp1963
                        最後由 編輯

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

                        1 條回覆 最後回覆 回覆 引用 0
                        • thomthomT 離線
                          thomthom
                          最後由 編輯

                          @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 條回覆 最後回覆 回覆 引用 0
                          • M 離線
                            mp1963
                            最後由 編輯

                            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 條回覆 最後回覆 回覆 引用 0
                            • thomthomT 離線
                              thomthom
                              最後由 編輯

                              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 條回覆 最後回覆 回覆 引用 0
                              • M 離線
                                mp1963
                                最後由 編輯

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

                                1 條回覆 最後回覆 回覆 引用 0
                                • M 離線
                                  mp1963
                                  最後由 編輯

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

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • thomthomT 離線
                                    thomthom
                                    最後由 編輯

                                    @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 條回覆 最後回覆 回覆 引用 0
                                    • M 離線
                                      mp1963
                                      最後由 編輯

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

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • PixeroP 離線
                                        Pixero
                                        最後由 編輯

                                        12 january 2012 !! Wow, time travel. 😲

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • M 離線
                                          mp1963
                                          最後由 編輯

                                          Time travel ?? 😕

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • TIGT 離線
                                            TIG Moderator
                                            最後由 編輯

                                            The last update on the 12 January was some days ago; it's now 6 February 2012 ?
                                            Jan, are you in a parallel dimension ?
                                            😕

                                            TIG

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 48
                                            • 49
                                            • 2 / 49
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement