sketchucation logo sketchucation
    • 登入
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] CleanUp

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

      Given that file I don't see CleanUp as being installed - only TT_Lib2...

      1 條回覆 最後回覆 回覆 引用 0
      • S 離線
        saucerful
        最後由 編輯

        Whoops, I removed Cleanup to check whether I would get errors with just TT_Lib. And I did.

        I reinstalled CleanUp and attached the diagnostic. Thanks for your patience.


        SketchUp-Diagnostic2.txt

        1 條回覆 最後回覆 回覆 引用 0
        • tt_suT 離線
          tt_su
          最後由 編輯

          Ah, right!
          And the error message you posted here: http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=22920%26amp;view=unread%26amp;sid=3c5780a432a36ee6c62eb305f16f5390#p516006
          Was that with or without CleanUp installed?

          1 條回覆 最後回覆 回覆 引用 0
          • S 離線
            saucerful
            最後由 編輯

            With. Without I get just the first half:

            
            Error Loading File C;/Program Files/Google/Google SketchUp 8/Plugins/TT_Lib2/core.rb
            uninitialized constant TT;;GUI;;ToolWindowError Loading File TT_Lib2.rb
            uninitialized constant TT;;GUI;;ToolWindow
            
            
            1 條回覆 最後回覆 回覆 引用 0
            • thomthomT 離線
              thomthom
              最後由 編輯

              Are you able to run SU2014? It should provide a more detailed error to pin-point where it fails.

              I'm not a linux user and I only ever tried Ubuntu briefly in 2008... :s

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

              1 條回覆 最後回覆 回覆 引用 0
              • S 離線
                saucerful
                最後由 編輯

                Unfortunately SketchUp 2014 doesn't work at all. I've attached diagnostic output from SketchUp 2013, in case that helps...


                SketchUp-Diagnostic2013.txt

                1 條回覆 最後回覆 回覆 引用 0
                • tt_suT 離線
                  tt_su
                  最後由 編輯

                  I'm sorry how much back and forth this takes, but without being able to reproduce I'm a bit blind here.

                  SketchUp prior to SU2014 has flawed error messages that makes it hard to debug. Can I ask you to open the Ruby Console (SketchUp's console, not Linux) and see what you get from this command: load "TT_Lib2/core.rb"

                  1 條回覆 最後回覆 回覆 引用 0
                  • tt_suT 離線
                    tt_su
                    最後由 編輯

                    What? "load_uninstalled.txt" was a result of running load "TT_Lib2/core.rb when TT_Lib was uninstalled? That makes no sense because it's loading files... if you had unisntalled TT_Lib2 then load "TT_Lib2/core.rb should have returned an error about file not found.
                    I'm not able to make any sense out of this...

                    Did you restart SketchUp after uninstalling?

                    1 條回覆 最後回覆 回覆 引用 0
                    • S 離線
                      saucerful
                      最後由 編輯

                      Sorry, by uninstall I meant unchecking TT_Lib2 and Cleanup in the Extensions dialog and restarting SketchUp.

                      The TT_Lib2 files are still in the Plugins directory. Maybe it makes no sense to run "TT_Lib2/core.rb" in this state? I thought it might be akin to how SketchUp loads the extension at startup?

                      1 條回覆 最後回覆 回覆 引用 0
                      • tt_suT 離線
                        tt_su
                        最後由 編輯

                        Unchecking TT_Lib2 in the Extension Manager will have no effect.

                        This error is very strange.

                        Can you try a few other mutations?

                        ` load "TT_Lib2/sketchup.rb"

                        load "TT_Lib2/system.rb"

                        load "TT_Lib2/entities.rb"`

                        1 條回覆 最後回覆 回覆 引用 0
                        • S 離線
                          saucerful
                          最後由 編輯

                          Here's one log for all of them (search for the command to get to it).


                          loads.txt

                          1 條回覆 最後回覆 回覆 引用 0
                          • S 離線
                            saucerful
                            最後由 編輯

                            @tt_su said:

                            I'm sorry how much back and forth this takes, but without being able to reproduce I'm a bit blind here.

                            No worries! I really appreciate your patience and am happy to send you any debug info.

                            @tt_su said:

                            SketchUp prior to SU2014 has flawed error messages that makes it hard to debug. Can I ask you to open the Ruby Console (SketchUp's console, not Linux) and see what you get from this command: load "TT_Lib2/core.rb"

                            I ran this with both TT_Lib2 installed, and not. I think the latter has more information about the error...


                            load_uninstalled.txt


                            load_installed.txt

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

                              @saucerful said:

                              ...The TT_Lib2 files are still in the Plugins directory. Maybe it makes no sense to run "TT_Lib2/core.rb" in this state?...
                              😕 !!! Do you mean by that you have files from the TT_Lib2 folder 'loose' in the Plugins folder?? 😒
                              When you install the TT_Lib2 you should have a loader .rb and a subfolder with the same name which contains everything else.
                              I ANY of the files inside the subfolder have found there way into the Plugins folder they will load out of sync as SketchUp starts, rather that as TT's other plugins 'require' them, as they themselves auto-load...
                              So if that is the case, then you need to carefully 'sanitize' your Plugins folder and remove all of the TT Lib files that should NOT ever be in there... 😕

                              TIG

                              1 條回覆 最後回覆 回覆 引用 0
                              • S 離線
                                saucerful
                                最後由 編輯

                                It works! Thank you so much. This plugin is extremely useful for our workflow at Open Source Ecology (see here).

                                Any idea when 2.9.9 will be pushed to the extension warehouse?

                                1 條回覆 最後回覆 回覆 引用 0
                                • tt_suT 離線
                                  tt_su
                                  最後由 編輯

                                  @saucerful said:

                                  It works!

                                  Huh! How about that! Stab in the dark!
                                  Glad it worked. 😄
                                  I'll upload to EW right now. Not sure when it goes live, depends on the moderation queue.

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • tt_suT 離線
                                    tt_su
                                    最後由 編輯

                                    So, I'm making a guess here: Wine calls Linux's file functions which returns the files in a different order - revealing a dependency bug that isn't visible in Windows or OSX.

                                    Can you try this version attached:
                                    (Deleted file as it's now been uploaded to Extension Warehouse, Plugin Store and GitHub.)

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • A 離線
                                      Asloric
                                      最後由 編輯

                                      Hello i have a problem: useless faces in models (per exemple a face in a cube) doesnt erase with the plugin . could it be possible to add please? or explain how to do if there is yet

                                      here is a screen if you don't understand what i mean

                                      the wood face in the cube doesn't erase

                                      PS: thanks a lot for this usefull plugin 😄

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

                                        If it's the one occurrence, then can't you cut a temporary section to give access to the inner unwanted face and erase it/its edges that way ?
                                        Some tools like my SolidSolver will remove inner partitions/flaps if the 'box' [group] is intended to be a 'solid'...

                                        TIG

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • A 離線
                                          Asloric
                                          最後由 編輯

                                          thanks.i've erase all useless faces 😄 .but i thinks it's a bit buggy with my model ( it erase most part of my project sometimes)

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

                                            Does your model have many very small faces/edges? Like ~1mm?

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

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

                                            Advertisement