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 Library] LibFredo6 - v15.8e - 15 Feb 26

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

      @thomthom said:

      Hi Fredo. Is there any chance that you can mute all that text in the console for your release builds? When I develop I often set the console to upon on startup and it all the output by LibFredo cause a lot of noise.
      Maybe I suggest that you set that up as a Sketchup.read_default preference that is disabled by default - which can then be enabled by you when you need it for your own debugging?

      It would be a bug. There is no need for LibFredo to have traces in the Ruby console.

      Could you tell me what is output in the console so that I remove the traces

      Thanks very much

      Fredo

      1 條回覆 最後回覆 回覆 引用 0
      • D 離線
        driven
        最後由 編輯

        not sure what TT gets, but I see this on every start-up...
        (eval):1: warning: already initialized constant Traductor::SU_MAJOR_VERSION /Users/johns_iMac/Library/Application Support/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:40: warning: previous definition of SU_MAJOR_VERSION was here (eval):1: warning: already initialized constant Traductor::RUN_ON_MAC /Users/johns_iMac/Library/Application Support/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:39: warning: previous definition of RUN_ON_MAC was here

        learn from the mistakes of others, you may not live long enough to make them all yourself...

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

          OK. Thanks. Will fix and re-release.
          These Ruby warnings are always ennoyng, and none has found a way to get rid of them.

          I thought it was some puts forgotten in the code.

          Fredo

          1 條回覆 最後回覆 回覆 引用 0
          • D 離線
            driven
            最後由 編輯

            @fredo6 said:

            ...none has found a way to get rid of them.

            I used to get them from a few different plugins and adding if not defined? e.g. CAS = @cascade if not defined? CAS, but when looking through you dynamic code, I just couldn't work out where that might be added...
            the other way is to load a 'Ruby Console' loader as the last ruby file...
            john

            learn from the mistakes of others, you may not live long enough to make them all yourself...

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

              Hmm... I just assumed it was LibFredo.. Might have been Bezier Spline as well. I had to temporarily remove them to do some development, but I'll install again and track down the exact messages.

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

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

                NEW RELEASE: LibFredo6 v6.7b - 22 Mar 15

                LibFredo6 6.7b is a minor releaseremoving some noisy traces at Startup of Sketchup

                See main post of this thread for Download of LibFredo6.

                Fredo

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

                  @thomthom said:

                  Hmm... I just assumed it was LibFredo.. Might have been Bezier Spline as well. I had to temporarily remove them to do some development, but I'll install again and track down the exact messages.

                  You assumed right!
                  Actually most noisy traces were coming from BezierSpline, but I removed also two traces in LibFredo6.

                  So you'll have to upgrade both

                  • BezierSpline 2.7b
                  • LibFredo6 6.7b

                  Fredo

                  1 條回覆 最後回覆 回覆 引用 0
                  • jiminy-billy-bobJ 離線
                    jiminy-billy-bob
                    最後由 編輯

                    I still get this :

                    @unknownuser said:

                    C:/Users/Marjorie/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Traductor.rb:28: warning: already initialized constant Traductor::LBT__DEF
                    C:/Users/Marjorie/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/LibTraductor.rb:31: warning: previous definition of LBT__DEF was here
                    C:/Users/Marjorie/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Traductor.rb:32: warning: already initialized constant Traductor::VALID_ERROR
                    C:/Users/Marjorie/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/LibTraductor.rb:35: warning: previous definition of VALID_ERROR was here
                    C:/Users/Marjorie/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Traductor.rb:34: warning: already initialized constant Traductor::VALID_MIN
                    C:/Users/Marjorie/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/LibTraductor.rb:38: warning: previous definition of VALID_MIN was here
                    C:/Users/Marjorie/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Traductor.rb:35: warning: already initialized constant Traductor::VALID_MAX
                    C:/Users/Marjorie/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/LibTraductor.rb:39: warning: previous definition of VALID_MAX was here
                    C:/Users/Marjorie/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Traductor.rb:36: warning: already initialized constant Traductor::VALID_PATTERN
                    C:/Users/Marjorie/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/LibTraductor.rb:40: warning: previous definition of VALID_PATTERN was here
                    C:/Users/Marjorie/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Traductor.rb:570: warning: redefining constant Struct::DlgItem
                    C:/Users/Marjorie/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Traductor.rb:570: warning: already initialized constant Traductor::DialogBox::DlgItem
                    C:/Users/Marjorie/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/LibTraductor.rb:183: warning: previous definition of DlgItem was here


                    libfredo.png

                    25% off Skatter for SketchUcation Premium Members

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

                      I think a 'loose' LibTraductor file is très old, its now kept in the LibFredo folder ?
                      I believe that if you removed it altogether Fredo's tools should still work just fine after a restart...
                      If any RB file is [re]loaded which remakes existing Constants, then those warnings always appear in the Ruby Console.
                      If you are duplicating the translation code with two versions loading Ruby will warn you...

                      TIG

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

                        Same as Jimini - I removed all files from previous versions, including the LibTraductor.rb - after installing I got warnings:

                        
                        C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/LibTraductor.rb;31; warning; already initialized constant Traductor;;LBT__DEF
                        C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Traductor.rb;28; warning; previous definition of LBT__DEF was here
                        C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/LibTraductor.rb;35; warning; already initialized constant Traductor;;VALID_ERROR
                        C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Traductor.rb;32; warning; previous definition of VALID_ERROR was here
                        C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/LibTraductor.rb;38; warning; already initialized constant Traductor;;VALID_MIN
                        C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Traductor.rb;34; warning; previous definition of VALID_MIN was here
                        C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/LibTraductor.rb;39; warning; already initialized constant Traductor;;VALID_MAX
                        C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Traductor.rb;35; warning; previous definition of VALID_MAX was here
                        C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/LibTraductor.rb;40; warning; already initialized constant Traductor;;VALID_PATTERN
                        C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Traductor.rb;36; warning; previous definition of VALID_PATTERN was here
                        C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/LibTraductor.rb;183; warning; redefining constant Struct;;DlgItem
                        C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/LibTraductor.rb;183; warning; already initialized constant Traductor;;DialogBox;;DlgItem
                        C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Traductor.rb;570; warning; previous definition of DlgItem was here
                        
                        

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

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

                          The previous post was what I got upon install. When I restart I get more:

                          
                          args = ["Bezier"]
                          args = ["BZ__Polyline"]
                          args = ["BZ__Animation"]
                          args = ["BZ__Arc"]
                          args = ["BZ__BSplineU"]
                          args = ["BZ__Catmull"]
                          args = ["BZ__Chamfer"]
                          args = ["BZ__Courbette"]
                          args = ["BZ__CubicBezier"]
                          args = ["BZ__Divider"]
                          args = ["BZ__DogBone"]
                          args = ["BZ__TBone"]
                          args = ["BZ__FSpline"]
                          args = ["BZ__Segmentor"]
                          args = []
                          args = []
                          args = []
                          args = []
                          args = ["Edition"]
                          args = []
                          args = []
                          args = []
                          args = []
                          C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Traductor.rb;28; warning; already initialized constant Traductor;;LBT__DEF
                          C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/LibTraductor.rb;31; warning; previous definition of LBT__DEF was here
                          C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Traductor.rb;32; warning; already initialized constant Traductor;;VALID_ERROR
                          C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/LibTraductor.rb;35; warning; previous definition of VALID_ERROR was here
                          C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Traductor.rb;34; warning; already initialized constant Traductor;;VALID_MIN
                          C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/LibTraductor.rb;38; warning; previous definition of VALID_MIN was here
                          C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Traductor.rb;35; warning; already initialized constant Traductor;;VALID_MAX
                          C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/LibTraductor.rb;39; warning; previous definition of VALID_MAX was here
                          C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Traductor.rb;36; warning; already initialized constant Traductor;;VALID_PATTERN
                          C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/LibTraductor.rb;40; warning; previous definition of VALID_PATTERN was here
                          C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Traductor.rb;570; warning; redefining constant Struct;;DlgItem
                          C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Traductor.rb;570; warning; already initialized constant Traductor;;DialogBox;;DlgItem
                          C;/Users/tthomas2/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/LibTraductor.rb;183; warning; previous definition of DlgItem was here
                          
                          

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

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

                            NEW RELEASE: LibFredo6 v6.7c - 22 Mar 15

                            LibFredo6 6.7b is a second minor release removing some noisy traces at Startup of Sketchup. I hope this will make it!

                            See main post of this thread for Download of LibFredo6.

                            Fredo

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

                              Perfect! Thank you Fredo! 😍

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

                              1 條回覆 最後回覆 回覆 引用 0
                              • jiminy-billy-bobJ 離線
                                jiminy-billy-bob
                                最後由 編輯

                                👍

                                25% off Skatter for SketchUcation Premium Members

                                1 條回覆 最後回覆 回覆 引用 0
                                • E 離線
                                  Evil Shrike
                                  最後由 編輯

                                  Error with the location of the directory LIBFREDO6_DATA_Dir (on root drive instead catalog on this drive) has been going on for a long time. Is there a chance to solve it? Garbage in the root of drive is not very happy.

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

                                    It sounds like an installation error. How did you install it and where?

                                    Etaoin Shrdlu

                                    %

                                    (THERE'S NO PLACE LIKE)

                                    G28 X0.0 Y0.0 Z0.0

                                    M30

                                    %

                                    1 條回覆 最後回覆 回覆 引用 0
                                    • E 離線
                                      Evil Shrike
                                      最後由 編輯

                                      download from this site (http://sketchucation.com/pluginstore?pln=LibFredo6) and then install via dialog System Preferences -> Extensions -> Install Extension.

                                      information from About dialog

                                      INFORMATION
                                      Plugin Subfolder = Fredo6_!LibFredo6
                                      Plugin Root Directory = C:/Users/xxx/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins
                                      Default Parameters Directory = z:/LIBFREDO6_DATA_Dir/DefaultParameters
                                      Temporary Files Directory = z:/tmp

                                      what i can change Default Parameters Directory ?

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

                                        thank you fredo6

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

                                          Hi all,

                                          I've been trying to get this libfredo6 to work in the newer SU2015 without success.
                                          I've used this in SU8 before and it worked fine then.

                                          I've re-installed it several times, using various methods, manually, plug-in store, etc... but not matter what method, I still get the same error reporting:

                                          Error Loading File Fredo6_!LibFredo6.rb
                                          Error: #<ArgumentError: invalid byte sequence in UTF-8>
                                          /Users/dg/Library/Application Support/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:716:in match' /Users/dg/Library/Application Support/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:716:in block (2 levels) in load_from_config'
                                          /Users/dg/Library/Application Support/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:715:in each' /Users/dg/Library/Application Support/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:715:in block in load_from_config'
                                          /Users/dg/Library/Application Support/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:713:in foreach' /Users/dg/Library/Application Support/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:713:in load_from_config'
                                          /Users/dg/Library/Application Support/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:1099:in block in load_all_plugins' /Users/dg/Library/Application Support/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:1099:in each'
                                          /Users/dg/Library/Application Support/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:1099:in load_all_plugins' /Users/dg/Library/Application Support/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:786:in load_from_config'
                                          /Users/dg/Library/Application Support/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6.rb:188:in startup' /Users/dg/Library/Application Support/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6.rb:338:in module:LibFredo6'
                                          /Users/dg/Library/Application Support/SketchUp 2015/SketchUp/Plugins/Fredo6_!LibFredo6.rb:34:in `<top (required)>'

                                          Now I've seen many others having this issue as well, and the culprit would be a question of encoding, but my latest attempt was with the auto-install from the sketchucation tool, and still the same result.

                                          I'm on mac, and I doubt the osx version really matters.

                                          I see so many posting this same thing, but no real fix for this. It's commonly encountered, so why no workable answer and a permanent fix?

                                          Thanks

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

                                            @spookydd said:

                                            ...so why no workable answer and a permanent fix?

                                            Because it is impossible to prevent users from installing older versions they used with older versions of SketchUp. Despite the endless warnings to avoid copying plugin/extension files from old versions of SketchUp, people still do it.

                                            Very likely you still have old files remaining from your incorrect installation(s) of the library. Navigate to the Extensions folder [Plugins] and delete all LibFredo-related files and folders. Then reinstall automatically from the SCF Plugin Store plugin. Report the results.

                                            If you copied any old versions of other plugins, delete them while you're at it and reinstall fresh copies.

                                            Etaoin Shrdlu

                                            %

                                            (THERE'S NO PLACE LIKE)

                                            G28 X0.0 Y0.0 Z0.0

                                            M30

                                            %

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 109
                                            • 110
                                            • 13 / 110
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement