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.
    • fredo6F Offline
      fredo6
      last edited by

      Apparently ENV["LOCALAPPDATA"] is not defined.

      Could you type in the Ruby console

      ENV["LOCALAPPDATA"].inspect

      @TIG: indeed, in LibFredo6 code, I duplicate the original string before forcing encoding. Just forgot this detail here.

      Fredo

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        So whenever any of us intend to use a 'frozen reference' we need to use something like:
        a = ENV["LOCALAPPDATA"]+""
        to make a copy of it to work on 😉

        TIG

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

          Thanx for replies again 😄

          i've written ENV["LOCALAPPDATA"].inspect

          ENV["LOCALAPPDATA"].inspect
          "C:\Users\Ali Y\xF6nder\AppData\Local"

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

            @ali_yonder said:

            Thanx for replies again 😄

            i've written ENV["LOCALAPPDATA"].inspect

            ENV["LOCALAPPDATA"].inspect
            "C:\Users\Ali Y\xF6nder\AppData\Local"

            Many thanks

            Then can you type the commands suggested by TIG

            puts a = ENV["LOCALAPPDATA"]+"" puts a.encoding puts b = a.force_encoding("UTF-8") puts b.encoding

            and add this one

            puts a = ENV["LOCALAPPDATA"].encode("UTF-8")

            Thanks

            Fredo

            IMPORTANT: your profile says you use Sketchup 8. Is that correct?

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

              Thanx fredo. I use sketchup 2017. i have to update my profile.

              i've written these

              puts a = ENV["LOCALAPPDATA"]+""
              puts a.encoding
              puts b = a.force_encoding("UTF-8")
              puts b.encoding

              puts a = ENV["LOCALAPPDATA"].encode("UTF-8")

              and ruby said;

              puts a = ENV["LOCALAPPDATA"]+""

              puts a.encoding
              Windows-1254

              puts b = a.force_encoding("UTF-8")

              puts b.encoding
              UTF-8

              puts a = ENV["LOCALAPPDATA"].encode("UTF-8")
              C:\Users\Ali Yönder\AppData\Local

              but still my problem is not solved. maybe i have to format my pc. i do not know.

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

                Ali,

                You need to type the commands one by one.

                Apparently the last one seems to work.

                Could send me a private message with an email address where I can send you a modified version of LibFredo6.

                To be sure, can you type separately the 3 commands below:

                a = ENV["LOCALAPPDATA"].encode("UTF-8")

                a.encoding

                a.gsub(/\\/, "/")

                The last one should return the path with \ replaced by /

                Thanks

                Fredo

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

                  The problem should be resolved with the new version 8.1e.

                  Many thanks to Ali

                  Fredo

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

                    NEW RELEASE: LibFredo6 v8.1e - 13 Mar 18

                    LibFredo6 8.1e is a maintenance release dedicated to solving (again) occasional issue on Windows when the username contains non-ascii characters.


                    See plugin home page of LibFredo6 for Download of LibFredo6.

                    Main Post of the LibFredo6 thread

                    Fredo

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mgfranz
                      last edited by

                      After downloading and installing the latest version, I am getting these errors;

                      Error Loading File C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6/top_LibFredo6.rbe
                      Failed to read RBE/RBS file.
                      Error Loading File Fredo6_!LibFredo6.rb
                      Error: #<NameError: uninitialized constant LibFredo6_Loader::LibFredo6>
                      C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6.rb:64:in process' C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6.rb:71:in module:LibFredo6_Loader'
                      C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6.rb:28:in <top (required)>' Error Loading File Fredo6_RoundCorner.rb Error: #<TypeError: can't convert nil into an exact number> C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6.rb:80:in -'
                      C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6.rb:80:in <top (required)>' C:/Program Files/SketchUp/SketchUp 2016/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in require'
                      C:/Program Files/SketchUp/SketchUp 2016/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in require' C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_RoundCorner.rb:47:in module:Fredo6'
                      C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_RoundCorner.rb:26:in `<top (required)>'

                      I have full permissions on all folders in my Sketchup Plugins folder.

                      "If you like what you do, it will never be work..."
                      In memory of Sam Maloof, 1916-2009

                      1 Reply Last reply Reply Quote 0
                      • TIGT Offline
                        TIG Moderator
                        last edited by

                        After reinstalling the Lib have you restarted SketchUp 2016 ?

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          mgfranz
                          last edited by

                          @tig said:

                          After reinstalling the Lib have you restarted SketchUp 2016 ?

                          Yes, of course. That's when I receive the error window.

                          "If you like what you do, it will never be work..."
                          In memory of Sam Maloof, 1916-2009

                          1 Reply Last reply Reply Quote 0
                          • TIGT Offline
                            TIG Moderator
                            last edited by

                            Fredo will chip in soon...

                            TIG

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

                              The fail to read seems to be due to a wrong installation of Sketchup, that is without a "run as an administrator" on the install exe file.

                              Fredo

                              1 Reply Last reply Reply Quote 0
                              • TIGT Offline
                                TIG Moderator
                                last edited by

                                Thanks Fredo.
                                That was my second thought...

                                For the avoidance of doubt, in all newer versions of Windows the only correct way to install ANY application - including SketchUp - is as follows...

                                Login as your normal user account.
                                Close SketchUp if it is open.
                                Find the SketchUp installer exe file.
                                It's probably in your Downloads folder - if not download a new version.
                                Select the exe file's icon.
                                Right-click > Context-menu > "Run as administrator"
                                The process starts...
                                When prompted choose "Repair"
                                Note that if you have not yet installed SketchUp, or have recently uninstalled it - the appropriate option is "Install"...
                                When it completes start up Sketchup and see what happens.

                                Very rarely the "Repair" might be insufficient, it that case run the exe as above and choose "Uninstall", then run it again and "Install"...

                                Installing any exe installer file in any other way will cause all kinds of unexpected and weird issues...
                                Never install using the 'administrator' login account.
                                Always install as your usual user account.
                                Accept the default local location that is offered - anything else might cause issues...
                                Never install as your usual user account by double-clicking the installer exe file's icon.
                                Even if you have admin powers that is NOT the same as doing it correctly - there will be subtle differences...

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  mgfranz
                                  last edited by

                                  @fredo6 said:

                                  The fail to read seems to be due to a wrong installation of Sketchup, that is without a "run as an administrator" on the install exe file.

                                  Fredo

                                  Using the install.exe in my Downloads folder, I "Ran as Admin", chose Repair, let it run but still get the errors. I shutdown SU, then using the install.exe I "Ran as Admin" and chose Uninstall, let it finish and then restarted my system. Once system restarted, I went back to the download folder, "Ran as Admin" the install.exe for a fresh install, once finished I restarted my system, opened SU and tried installing fredo6 and RoundCorner using Preferences>Extensions. Closed SU then restarted. Received the following error;

                                  Error Loading File C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6/top_LibFredo6.rbe
                                  Failed to read RBE/RBS file.
                                  Error Loading File Fredo6_!LibFredo6.rb
                                  Error: #<NameError: uninitialized constant LibFredo6_Loader::LibFredo6>
                                  C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6.rb:64:in process' C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6.rb:71:in module:LibFredo6_Loader'
                                  C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6.rb:28:in <top (required)>' Error Loading File Fredo6_RoundCorner.rb Error: #<TypeError: can't convert nil into an exact number> C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6.rb:80:in -'
                                  C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_!LibFredo6.rb:80:in <top (required)>' C:/Program Files/SketchUp/SketchUp 2016/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in require'
                                  C:/Program Files/SketchUp/SketchUp 2016/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:45:in require' C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_RoundCorner.rb:47:in module:Fredo6'
                                  C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/SketchUp/Plugins/Fredo6_RoundCorner.rb:26:in `<top (required)>'

                                  Other installed Extensions load fine so I don't know what to do now.

                                  "If you like what you do, it will never be work..."
                                  In memory of Sam Maloof, 1916-2009

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

                                    I don't have an explanation why rbe files cannot be read in certain configurations of Sketchup.

                                    Maybe you should uninstall Sketchup from the Windows uninstall feature (in Control Panel), and then reinstall with "run as admin".

                                    Are the other plugins "working fine" also scrambled as rbe?

                                    Fredo

                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      johnnygitarr
                                      last edited by

                                      hi fredo,

                                      loving all your plugins, you doing a outstanding work!
                                      all my two thumbs up (im sad, unfotunately i only have two here)!

                                      i have one question/suggestion

                                      im using all your plugins in sketchup on my mac.
                                      and i have no tooltips via mouseoverlay (staying still with
                                      mouse over a tool for a few seconds).

                                      can you please add those tooltips for the mac version of your plugins.
                                      i think tooltips help a lot for people like me, who need icons an text
                                      for a better clarification (having a ton of plugins and icons, can confuse you a lot).

                                      … or am i wrong and the tooltips are there but i have to activate it?
                                      (wrong setting in sketchup or on your tools).
                                      are tooltips available on the win versions of your plugins?

                                      greetings an have a nice weekend

                                      johnny

                                      1 Reply Last reply Reply Quote 0
                                      • TIGT Offline
                                        TIG Moderator
                                        last edited by

                                        Following on from Fredo's last comment about uninstalling/installing...

                                        Close SketchUp if it's open.
                                        Try running the installer exe using "Run as administrator" - as explained previously.
                                        When prompted choose "Uninstall"

                                        Now open the folder: C:/Users/mgfranz/AppData/Roaming/SketchUp/SketchUp 2016/
                                        The AppData path is hidden by default.
                                        Choose to show hidden files in Folder Options, or paste the address into Windows Explorer top-bar.
                                        Choose the "SketchUp" subfolder in that, when prompted/confirmed this will delete all files and subfolders in there - so if you keep anything in there like Materials, Components or Styles then temporarily move those folders out BEFORE doing the delete.

                                        Now re-run the installer exe as before and choose "Install"...

                                        This will replace the Plugins folder in its entirety.

                                        Run SketchUp and test.

                                        Move the collection subfolders back in etc as needed.
                                        In the SketchUp Preferences remember to check and if needed reset your folder paths to collections...

                                        Reinstall your favorite Extensions using the current RBZ files you have, or download the latest ones again... or perhaps consider using the SketchUcation Toolset's ExtensionStore³ to Auto-Install chosen ones, or install en mass from a Bundle ?

                                        TIG

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

                                          @johnnygitarr said:

                                          can you please add those tooltips for the mac version of your plugins.

                                          First time i hear that the tooltips don't show on Mac.

                                          They are calculated however.

                                          Waiting for some Mac users to say whether this is a general problem or due to your configuration.

                                          By the way, do you have tooltips showing up with other plugins?

                                          Fredo

                                          1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            johnnygitarr
                                            last edited by

                                            hi fredo,

                                            thnx for your answer.

                                            for me only the tooltips of the official tools are shown.
                                            all installed plugins have no tooltip.

                                            dunno if this is a setting thing of sketchup.

                                            greetings

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 104
                                            • 105
                                            • 106
                                            • 107
                                            • 108
                                            • 107 / 108
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement