sketchucation logo sketchucation
    • Login
    ℹ️ 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

    Scheduled Pinned Locked Moved Plugins
    2.2k Posts 569 Posters 2.8m Views 571 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tt_suT Offline
      tt_su
      last edited by

      @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 Reply Last reply Reply Quote 0
      • fredo6F Offline
        fredo6
        last edited by

        @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 Reply Last reply Reply Quote 0
        • TIGT Online
          TIG Moderator
          last edited by

          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 Reply Last reply Reply Quote 0
          • C Offline
            coky_hidayat_st
            last edited by

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

            1 Reply Last reply Reply Quote 0
            • panixiaP Offline
              panixia
              last edited by

              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 Reply Last reply Reply Quote 0
              • panixiaP Offline
                panixia
                last edited by

                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 Reply Last reply Reply Quote 0
                • T Offline
                  Tim Deaves
                  last edited by

                  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 Reply Last reply Reply Quote 0
                  • cottyC Offline
                    cotty
                    last edited by

                    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 Reply Last reply Reply Quote 0
                    • fredo6F Offline
                      fredo6
                      last edited by

                      @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 Reply Last reply Reply Quote 0
                      • Dave RD Offline
                        Dave R
                        last edited by

                        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 Reply Last reply Reply Quote 0
                        • fredo6F Offline
                          fredo6
                          last edited by

                          @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 Reply Last reply Reply Quote 0
                          • fredo6F Offline
                            fredo6
                            last edited by

                            @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 Reply Last reply Reply Quote 0
                            • T Offline
                              Tim Deaves
                              last edited by

                              Thanks Fredo. You were correct. All sorted now.

                              Tim

                              1 Reply Last reply Reply Quote 0
                              • panixiaP Offline
                                panixia
                                last edited by

                                @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 Reply Last reply Reply Quote 0
                                • fredo6F Offline
                                  fredo6
                                  last edited by

                                  The subfolder is created if it does not exist in ../local. Is this the case, or do you have permissions set that prevents it?

                                  Fredo

                                  1 Reply Last reply Reply Quote 0
                                  • A Offline
                                    allor27
                                    last edited by

                                    Hi I´v been trying to get the plugin on sketch up whole week and I still don´t get it it has driven me crazy! I downloaded the plugin and extracted it to plugin folder also as i installed it from the warehouse. Still I don't get it in my toolbar. What have I missed?

                                    1 Reply Last reply Reply Quote 0
                                    • BoxB Offline
                                      Box
                                      last edited by

                                      From the first post of the thread.

                                      @unknownuser said:

                                      LibFredo6 is a shared library used by some of my plugins. It is NOT a standalone plugin. Plugins currently using LibFredo6 are:

                                      FredoScale
                                      Tools on Surface
                                      RoundCorner
                                      Curviloft
                                      HoverSelect
                                      GhostComp
                                      SUClock
                                      FredoTools
                                      Curvizard
                                      TopoShaper
                                      JointPushPull Interactive
                                      

                                      Which means there is nothing to appear in any toolbars, it is a helper file that works with other plugins.
                                      You need to install the other plugins for it to have any purpose.

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        paul brown
                                        last edited by

                                        I am getting this error loading issue with Fredo6 on 2014 installing the plugin from Sketchucation. Anything that can be done?


                                        Capture.JPG

                                        1 Reply Last reply Reply Quote 0
                                        • fredo6F Offline
                                          fredo6
                                          last edited by

                                          Paul,

                                          It just menas that on your installation, one or several of my plugins have not been upgraded to latest version compatible with SU 14.
                                          Please check

                                          Fredo

                                          1 Reply Last reply Reply Quote 0
                                          • P Offline
                                            paul brown
                                            last edited by

                                            Have reinstalled all the Fredo plugins from Sketchucation and from Extension warehouse, same result. Have disabled all other plugins, same result. Installed Libfredo on its own. no problem, installed any of the other plugins in any order same results. They all give similar error messages. Ran Sketchup as administrator, same result (using windows 7 64bit). Disabled all the virus protection, same result. Don't know where else to go.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 80
                                            • 81
                                            • 82
                                            • 83
                                            • 84
                                            • 107
                                            • 108
                                            • 82 / 108
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement