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

    [Plugin Library] LibFredo6 - v15.4d - 14 Aug 25

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

      @pcc0128 said:

      But i found when i open file,which saved in non-system partition or NAS disk,
      the problem will show up.

      There's a but in SU2014 where when you launch SketchUp via clicking on SKP file on a drive SketchUp isn't installed to some paths are not set correctly and part of Ruby isn't initialized properly. Though so far I've only seen plugins using the Standard Library fail due to this... Fredo, are you using the StdLib?
      We are working on a fix, but won't have a good workaround at the moment - other than launching SketchUp via it's main desktop shortcut instead of via SKP files.

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

        @tt_su said:

        other than launching SketchUp via it's main desktop shortcut instead of via SKP files.

        Thanks tt_su, launching Sketchup and open file in application,
        everything works fine.
        I think it should be a temporary solution to avoid the error.

        thanks again

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

          @tt_su said:

          Fredo, are you using the StdLib?

          None of my plugins use stdlib.

          And I don't get an error with SU14 when I open a Skp file from the desktop.

          Fredo

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

            @fredo6 said:

            And I don't get an error with SU14 when I open a Skp file from the desktop.

            If the file is on the same drive as where SketchUp is installed everything will work fine. It's when the SKP is located on a drive other than where you installed SketchUp the error occur.

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

              @tt_su said:

              If the file is on the same drive as where SketchUp is installed everything will work fine. It's when the SKP is located on a drive other than where you installed SketchUp the error occur.

              That's the case
              Sketchup is installed on 😄
              The skp file is on 😧
              I am on Win7 64bits

              Fredo

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

                @unclex said:

                Error Loading File Fredo6_!LibFredo6.rb
                Error: #<ArgumentError: invalid byte sequence in UTF-8>
                C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6PluginDialogs.rb:689:in `[]'

                Hi

                I just fixed a similar UTF-8 encoding issue with the v5.7 version on a 64bit Windows 7 machine. It seems that the "copyright" symbol in the file comments is not correctly encoded and Ruby trips over this. I fixed it by replacing

                IO.foreach(file) do |line|
                

                with

                IO.foreach(file, ;encoding => 'iso-8859-1') do |line|
                

                in line 201 in Fredo6_!LibFredo6.rb and again in line 366 in Lib6Core.rb. Not sure if this is the right way to do it but it works for me right now.

                Cheers,
                tbleicher

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

                  @c65m3zxt said:

                  @unclex said:

                  Error Loading File Fredo6_!LibFredo6.rb
                  Error: #<ArgumentError: invalid byte sequence in UTF-8>
                  C:/Users/Administrator/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6PluginDialogs.rb:689:in `[]'

                  Hi

                  I just fixed a similar UTF-8 encoding issue with the v5.7 version on a 64bit Windows 7 machine. It seems that the "copyright" symbol in the file comments is not correctly encoded and Ruby trips over this. I fixed it by replacing

                  IO.foreach(file) do |line|
                  

                  with

                  IO.foreach(file, ;encoding => 'iso-8859-1') do |line|
                  

                  in line 201 in Fredo6_!LibFredo6.rb and again in line 366 in Lib6Core.rb. Not sure if this is the right way to do it but it works for me right now.

                  Cheers,
                  tbleicher

                  Yea, many of the encoding errors with migrating plugins is that files have been saved in ANSI (ISO-8859-1 or similar) which will make any of the characters in the 128-255 range raise an error as it leads to invalid UTF-8 which Ruby 2.0 expects by default in SketchUp.
                  changing the encoding of the file operation is one solution, but the best one is to re-encode all the files into UTF-8 (where the copyright will be multi-byte). Then you'll only have to deal with one encoding. Juggling different encoding is all too prone to creeping errors.

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

                    @c65m3zxt said:

                    I just fixed a similar UTF-8 encoding issue with the v5.7 version on a 64bit Windows 7 machine. It seems that the "copyright" symbol in the file comments is not correctly encoded and Ruby trips over this.

                    Where did you download LibFredo6 files from?

                    Normally, all my plugins in their latest versions are encoded UTF8 without BOM.

                    And I run them with no problem on Win7 64bits as many other users?

                    Fredo

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

                      Notepad++.exe can be setup to always make UTF8-without-BOM files.
                      Perhaps if the Notepad++.exe preferences mis-set, then opening a good UTF8-without-BOM might display it as wrongly ?
                      Perhaps the earlier poster had opened a good-encoded Fredo-file and then mis-saved it with the wrong encoding ?
                      In Notepad++.exe you can change the encoding used to view any file, and the change the file's encoding too...
                      Opening/editing a file with plain Notepad.exe should NOT change its encoding, although its new txt files are in ANSI.

                      TIG

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

                        thank u so much for this plugin...it help me alot...

                        1 條回覆 最後回覆 回覆 引用 0
                        • panixiaP 離線
                          panixia
                          最後由 編輯

                          Hi Mr Fredo. First of all thank you for your excellent work.. I have a question regarding a couple of your tools. Recently I installed a SSD drive on my machine and followed a tutorial to create a ramdisk and move win temporary folders into it.

                          It is fine for the most thing till now, but i noticed that this corrupts a couple of your toolbars. In particular I noticed the problem was related to fredo tools and curvizard the toolbars button disappear and only the launcher is left visible..

                          Tried a couple of time to edit the default parameters and this worked fine till the next restart.. then the same problem was back., so i checked the temp files in ramdisk and noticed the defaultparameters of your tool are all there.. so they are "reset to factory" every time the ramdisk is cancelled at the end of the session.
                          I suppose this appens for the most of your plugin but this is not a problem for other toolbars with "factory" settings on "all-buttons-on-style" see fredoscale or joint push pull, so I can use the "toolbar editor" plugin in SU to edit the toolbars and keep them persistent between sessions.. whith curvizard and fredo tools this is possible only for the launcher button..

                          Now.. the question is: is possible to have a patch or a line code to copy somewhere to set the factory params to "all visible" so that one can add items to custom toolbars or to change the registry position in another folder?

                          thank you very much..

                          1 條回覆 最後回覆 回覆 引用 0
                          • panixiaP 離線
                            panixia
                            最後由 編輯

                            i added "MYPLUGIN.default_icons_visible" :smooth_curve in "bootstrap_curvizard.rb" and it worked great.. 😍

                            then in fredotools.rb i tried :
                            "MYPLUGIN.default_icons_visible [:FredoTools_ThruPaint]
                            MYPLUGIN.default_icons_visible [:FredoTools_EdgeInspector]
                            MYPLUGIN.default_icons_visible [:FredoTools_Report_LabelArea]"
                            and it crashes the plugin at all and also pretty much crashes a lot of other scripts such as curviloft etc

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

                              Hi,

                              I'm a newbie to SU and not much of a techie. I have SU 14.0.4900 and Windows 7 (SP 1). I live in Canada and I have an issue installing RoundCorners.

                              I think I have installed LibFredo6 5.7a correctly as I can see it in SU/Windows/LibFredo 6 Settings, etc. SU starts up OK with no error messages.

                              I then installed RoundCorner and when starting SU I get the following error messages;

                              "Error Loading File Fredo6_!LibFredo6.rb
                              Error: #<ArgumentError: invalid byte sequence in UTF-8>
                              C:/Users/Tim Deaves/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:368:in match' C:/Users/Tim Deaves/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/Fredo6_!LibFredo6/Lib6Core.rb:368:in block (2 levels) in load_from_config'
                              .
                              . (Similar messages)
                              .
                              Error Loading File ZLoader__RoundCorner.rb
                              Error: C:/Users/Tim Deaves/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/ZLoader__RoundCorner.rb:32: invalid multibyte char (UTF-8)
                              C:/Users/Tim Deaves/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/ZLoader__RoundCorner.rb:32: syntax error, unexpected tIDENTIFIER, expecting keyword_end
                              text = "Problème avec l'installation du plugin #{fro6__plugin}"
                              ^
                              C:/Users/Tim Deaves/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/ZLoader__RoundCorner.rb:33: syntax error, unexpected tIDENTIFIER, expecting keyword_end
                              text += "\nLibFredo6 n'est pas install\é ou bien n'est ...
                              ^
                              C:/Users/Tim Deaves/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/ZLoader__RoundCorner.rb:33: syntax error, unexpected $undefined
                              ..."\nLibFredo6 n'est pas install\é ou bien n'est pas dans le b...
                              ... ^
                              C:/Users/Tim Deaves/AppData/Roaming/SketchUp/SketchUp 2014/SketchUp/Plugins/ZLoader__RoundCorner.rb:33: invalid multibyte char (UTF-8)"

                              I have unzipped RoundCorner in file folder ROUNDCORNER_Dir_23 in C:\Users\Tim Deaves\AppData\Roaming\SketchUp\SketchUp 2014\SketchUp\Plugins - together with the Fredo6_!LibFredo6 file folder.

                              Thanks for your help.

                              Tim

                              1 條回覆 最後回覆 回覆 引用 0
                              • cottyC 離線
                                cotty
                                最後由 編輯

                                I'm not sure but I think the mentioned ZLoader... is not a part of an actual RoundCorner installation. Did you downloaded the actual one?

                                my SketchUp gallery

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

                                  @panixia,

                                  Please do not modify the code or you'll get unexpected results.

                                  By default for FredoTools and Curvizard, only the quick launcher is visible.
                                  Go the Default Parameters dialog box of each of the plugin to make the icons visible for the Tools you wish.

                                  Fredo

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

                                    Tim, you shouldn't be unzipping anything. I would suggest that you remove any and all of the files you unzipped into the Plugins folder and then download fresh, current copies as .rbz files and use Install Extension under Window>Preferences>Extensions to install them. Or better, use that method to install the Sketchucation Plugin Store and then use the Plugin Store to automatically install LibFredo6 and Round Corner.

                                    Etaoin Shrdlu

                                    %

                                    (THERE'S NO PLACE LIKE)

                                    G28 X0.0 Y0.0 Z0.0

                                    M30

                                    %

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

                                      @Tim Deaves

                                      You seem to have a very old version of RoundCorner, and on top of that probably not well installed.

                                      Please download the latest one.

                                      My suggestion is that you use the Plugin Store tool for auto-installation.

                                      Fredo

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

                                        @panixia,

                                        Could you check the value of ENV["LOCALAPPDATA"] in the Ruby console.

                                        In principle the configuration file is stored in a subfolder LIBFREDO6_DATA_Dir of this directory.

                                        If ENV["LOCALAPPDATA"] is not defined, then it deafult to the temp directory, which, with your RAM disk is erased when you exit. So everything is lost.

                                        Fredo

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

                                          Thanks Fredo. You were correct. All sorted now.

                                          Tim

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • panixiaP 離線
                                            panixia
                                            最後由 編輯

                                            @fredo6 said:

                                            @panixia,

                                            Could you check the value of ENV["LOCALAPPDATA"] in the Ruby console.

                                            In principle the configuration file is stored in a subfolder LIBFREDO6_DATA_Dir of this directory.

                                            If ENV["LOCALAPPDATA"] is not defined, then it deafult to the temp directory, which, with your RAM disk is erased when you exit. So everything is lost.

                                            Fredo

                                            first of all thanks for your answer.
                                            I typed ENV["LOCALAPPDATA"] this returns me C:\Users\Panixia\AppData\Local
                                            I tryed to copy the folder LIBFREDO6_DATA_Dir into it, but this doesn't work and sketchup loads with thrupaint and curvizard buttons missing.. maybe i'm doing something wrong. 😢

                                            the most effective workaround i found so far is to place on desktop a link to ramdisk and a copy of LIBFREDO6_DATA_Dir (whith proper default parameters stored) to drag and drop into before i first run sketchup.. a bit dirty but all in all it works fine.. 😄

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 36
                                            • 37
                                            • 38
                                            • 39
                                            • 40
                                            • 107
                                            • 108
                                            • 38 / 108
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement