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!
    🚨 Skimp | 25% Off until March 30 Buy Now

    [Plugin Library] LibFredo6 - v15.9a - 25 Mar 26

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

      @prismcnd said:

      Confirmed all files are in the proper placement. works fine without the "libfredo.rb" file, but with it as soon as i load sketchup and first action is right-click on sang all right click options are greyed out

      Could you use the following code in the Ruby console (copy & paste it):
      l=[];ObjectSpace.each_object {|x| l.push x if x.class==UI::Command } ; l.length

      This displays the number of Command objects.

      After enabling LibFredo6 3.4c, check in the Ruby console BEFORE you right click and then AFTER.

      Thanks

      Fredo

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

        Some other plugin can still add to that - so it would not be an idication of FredoLib is the cause. To determine that one must disabled FredoLib and see if you still get an increase - if so, then there's another plugin doing this.

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

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

          I get 332 before AND 332 afterwards... 😄

          How about making an observer script that watches the number of commands a la code snippet, and when it approaches /reaches 1000 it pops up a dialog warning you that you have too many commands loaded and might like to sort out your plugins or suffer 'grayed' context-menu items...
          It would be nice it it could purge unused commands... but how ? ObjectSpace.garbage_collect ?

          TIG

          1 條回覆 最後回覆 回覆 引用 0
          • fredo6F 離線
            fredo6
            最後由 編輯

            @tig said:

            I get 332 before AND 332 afterwards... 😄

            How about making an observer script that watches the number of commands a la code snippet, and when it approaches /reaches 1000 it pops up a dialog warning you that you have too many commands loaded and might like to sort out your plugins or suffer 'grayed' context-menu items...
            It would be nice it it could purge unused commands... but how ? ObjectSpace.garbage_collect ?

            The normal behavior should be that Commands objects are released as any othe Ruby object (This is what I thought by the way). From what jhauswirth reported, it seems that each UI::Command creates an underlying Windows static object which might itself not be released, even if the UI::Command object would be garbaged out by Ruby.

            Fredo

            1 條回覆 最後回覆 回覆 引用 0
            • R 離線
              rv1974
              最後由 編輯

              This gray fade was extremely annoying. What a relief

              1 條回覆 最後回覆 回覆 引用 0
              • P 離線
                prismcnd
                最後由 編輯

                ran said script with LibFredo.rb disabled, returned a value of 293. ran said script with LibFredo6 enabled and returned said value of 428. Right-click menu is greyed out right from the start with Libfredo.rb enabled. As in before I've had a chance to create anything. Ken reports the same result from this post ( http://forums.sketchucation.com/viewtopic.php?f=323&t=11212&start=285 )
                For the record I would like to say I really appreciate you guys looking into this. I used fredo's/your tools all the time and am really having a hard time remembering a workflow before I had these wonderful tools at my disposal.
                here is the full report from the ruby console after i reenabled the script and ran the command in the ruby console


                complete ruby console readout

                “Whatever the mind of man can conceive and believe, it can achieve.” -W.Clement Stone (American best selling Author and Founder of Combined Insurance Co (now a part of Aon Corp.), 1902-2002)

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

                  Have you tried removing LibFredo before installing this new version? To ensure all files are updated?

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

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

                    just upgraded to the latest toolset, on loading skp this error came up

                    Error Loading File ZLoader__FredoScale.rb
                    uninitialized constant LibFredo6::Traductor

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

                      Did you get the latest version of the Lib and software rubies and keep them in their respective folders as you extracted them from their zip files...

                      TIG

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

                        ok, now it seems none of the toolbars are loading but no error messages popup

                        interestingly in the preferences > extensions absolutly nothing is showing

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

                          Sounds like you have some files in the wrong places - is this on PC or Mac ?
                          Copy/Paste this line into the Ruby Console + <enter>
                          Sketchup.find_support_file("Plugins")
                          It returns the path that all of the .rb files OR sub-folders should go into - they should be in the same relationship as they are in the zip file - i.e. usually a 'loader' .rb and then a related sub-folder full of other files - that folder goes into Plugins with its contents unchanged.

                          TIG

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

                            yeah its mac, and they're in the correct place. i guess ill wipe the folder and reinstall them all.

                            1 條回覆 最後回覆 回覆 引用 0
                            • R 離線
                              rogueparker
                              最後由 編輯

                              Im getting the same error message as above, but on a vista pc, I've tried the install 3 times. any ideas?

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

                                Are the files installed as described in the first post?

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

                                1 條回覆 最後回覆 回覆 引用 0
                                • P 離線
                                  prismcnd
                                  最後由 編輯

                                  Well I would really like to thank you Tom and Tig, after a couple of days i found the culprit, apparently i had a couple of older versions of the LibFredo6 filefolder in my plugins directory and after removing them everything is back to normal. Stupid mistake and thank you for your help.

                                  “Whatever the mind of man can conceive and believe, it can achieve.” -W.Clement Stone (American best selling Author and Founder of Combined Insurance Co (now a part of Aon Corp.), 1902-2002)

                                  1 條回覆 最後回覆 回覆 引用 0
                                  • T 離線
                                    thmnka84
                                    最後由 編輯

                                    Could someone please give me more detailed info about how to install lebfredo6 34 c?
                                    Can get it running...

                                    all the best

                                    AA

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

                                      @telharmonium said:

                                      Could someone please give me more detailed info about how to install lebfredo6 34 c?
                                      Can get it running...

                                      all the best

                                      AA

                                      Did you look at the screenshot of the first post? Are your files located like that?

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

                                      1 條回覆 最後回覆 回覆 引用 0
                                      • C 離線
                                        chouaibcl65
                                        最後由 編輯

                                        thank youu

                                        1 條回覆 最後回覆 回覆 引用 0
                                        • T 離線
                                          thebestvip84
                                          最後由 編輯

                                          thks alot ,u r my hero 😄

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • W 離線
                                            wyatt
                                            最後由 編輯

                                            I figured out what was happening regarding the errors I was getting last week. The problem was organizer.rb. For the LibFredo6 plugins to work, both LIBFREDO6_Dir_34 and FREDOSCALE_Dir_20 must be added to the SmustardOrganizerExcludeFolders.txt file. As far as I can tell that does not effect the functionality of Fredo's scripts. Not sure if anyone else uses Organizer, but now you know.
                                            Wyatt

                                            1 條回覆 最後回覆 回覆 引用 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            註冊 登入
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 110
                                            • 111
                                            • 1 / 111
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement