• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin Library] LibFredo6 - v15.4a - 13 May 25

Scheduled Pinned Locked Moved Plugins
2.1k Posts 562 Posters 2.8m Views
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.
  • F Offline
    fredo6
    last edited by 27 Nov 2020, 12:38

    @manoamo

    Thank you. Very useful.

    I think this is a bug in the core ruby engine.

    I'll see what I can do in order to overcome the problem.

    Fredo

    1 Reply Last reply Reply Quote 0
    • F Offline
      fredo6
      last edited by 27 Nov 2020, 14:15

      @manoamo

      Could you try

      ENV["LOCALAPPDATA"].dup.encode("UTF-8").gsub(/\\/, "/")

      Thanks

      Fredo

      1 Reply Last reply Reply Quote 0
      • M Offline
        manoamo
        last edited by 27 Nov 2020, 15:12

        I tried the last typing but I failed again
        I typed the codes in this sequence

        1. ENV["LOCALAPPDATA"].encoding.inspect
        2. a = ENV["LOCALAPPDATA"].dup.force_encoding("UTF-8")
        3. a.encoding.inspect
        1. a = ENV["LOCALAPPDATA"].dup.force_encoding("UTF-8").gsub(/\/, "/")
        2. a = ENV["LOCALAPPDATA"].dup.force_encoding("UTF-8").gsub("\", "/")
        3. ENV["LOCALAPPDATA"].dup.encode("UTF-8").gsub(/\/, "/")
        1. LibFredo6.get_dir_from_ENV "LOCALAPPDATA"

        Thanks

        1 Reply Last reply Reply Quote 0
        • F Offline
          fredo6
          last edited by 27 Nov 2020, 15:19

          @manoamo

          Could you tell me what is the erroryou get with this statement

          ENV["LOCALAPPDATA"].dup.encode("UTF-8").gsub(/\\/, "/")

          1 Reply Last reply Reply Quote 0
          • M Offline
            manoamo
            last edited by 27 Nov 2020, 15:24

            This is my ruby console

            ENV["LOCALAPPDATA"].encoding.inspect
            #Encoding:CP949
            a = ENV["LOCALAPPDATA"].dup.force_encoding("UTF-8")

            C:\Users\￈ᆱ﾿↓ᄎ￳\AppData\Local
            a.encoding.inspect

            #Encoding:UTF-8
            ENV["LOCALAPPDATA"].dup.encode("UTF-8").gsub(/\/, "/")
            C:/Users/■ルヘ↓レᄚ→ᄍネ/AppData/Local
            LibFredo6.get_dir_from_ENV "LOCALAPPDATA"
            Error: #<ArgumentError: invalid byte sequence in UTF-8>
            c:/users/홍우빈/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/fredo6_!libfredo6/top_libfredo6.rbe:45:in gsub' c:/users/홍우빈/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/fredo6_!libfredo6/top_libfredo6.rbe:45:in get_dir_from_ENV'
            <main>:in <main>' SketchUp:1:in eval'


            This is what I get after restart

            Error Loading File Fredo6_!LibFredo6.rb
            Error: #<ArgumentError: invalid byte sequence in UTF-8>
            c:/users/홍우빈/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/fredo6_!libfredo6/top_libfredo6.rbe:45:in gsub' c:/users/홍우빈/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/fredo6_!libfredo6/top_libfredo6.rbe:45:in get_dir_from_ENV'
            c:/users/홍우빈/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/fredo6_!libfredo6/top_libfredo6.rbe:425:in su_appdata' c:/users/홍우빈/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/fredo6_!libfredo6/top_libfredo6.rbe:443:in dir_appdata'
            c:/users/홍우빈/appdata/roaming/sketchup/sketchup 2020/sketchup/plugins/fredo6_!libfredo6/top_libfredo6.rbe:206:in startup' C:/Users/홍우빈/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/Fredo6_!LibFredo6.rb:62:in process'
            C:/Users/홍우빈/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/Fredo6_!LibFredo6.rb:69:in <module:LibFredo6_Loader>' C:/Users/홍우빈/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/Fredo6_!LibFredo6.rb:30:in <top (required)>'

            1 Reply Last reply Reply Quote 0
            • F Offline
              fredo6
              last edited by 27 Nov 2020, 15:40

              Ok. Thanks I think we progress.

              Can you try this statement (only this one)

              File.directory? ENV["LOCALAPPDATA"].dup.encode("UTF-8").gsub(/\\/, "/")

              if there is an error, can you try this one

              File.directory? ENV["LOCALAPPDATA"].dup.encode("UTF-8").gsub("\\", "/")

              Many thanks

              Fredo

              1 Reply Last reply Reply Quote 0
              • M Offline
                manoamo
                last edited by 27 Nov 2020, 15:45

                Good to hear!

                These are what I got back

                First,

                File.directory? ENV["LOCALAPPDATA"].dup.encode("UTF-8").gsub(/\/, "/")

                true

                Second,

                File.directory? ENV["LOCALAPPDATA"].dup.encode("UTF-8").gsub("\", "/")
                true

                1 Reply Last reply Reply Quote 0
                • F Offline
                  fredo6
                  last edited by 27 Nov 2020, 15:49

                  OK. Thanks.

                  I will publish a fix and it should hopefully work for you.

                  Fredo

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    manoamo
                    last edited by 27 Nov 2020, 15:50

                    Thank you so much for your kind help 😢

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      fredo6
                      last edited by 2 Dec 2020, 15:09

                      NEW RELEASE: LibFredo6 v11.4f - 02 Dec 20

                      LibFredo6 11.4d provides fixes

                      • for handling some cases of non-ascii Windows username
                      • for a bug in some tools (MoveAlong and a few others)

                      Requirements: SU2017 and above

                      See plugin home page of LibFredo6 for Download of LibFredo6.

                      Main Post of the LibFredo6 thread

                      Fredo

                      1 Reply Last reply Reply Quote 0
                      • 1 Offline
                        1409 douglas
                        last edited by 28 Dec 2020, 22:23

                        I have your latest version as of 02 december 2020 of libFredo6. I have SketchupPRO 2021.
                        I believe I have followed your instructions to load libFredo6 and Curvizard v2.4b.
                        There is libFredo6 under Window, but no Curvizard under Extensions. I have restarted (several times).
                        Any Ideas?
                        Thank you
                        rj

                        1 Reply Last reply Reply Quote 0
                        • Dave RD Offline
                          Dave R
                          last edited by 29 Dec 2020, 19:37

                          @1409 douglas said:

                          but no Curvizard under Extensions. I have restarted (several times).

                          No matter how many times you restart SketchUp, Curvizard isn't supposed to show up under Extensions. It shows up in Tools>Fredo6 Collection. Or you can turn on its toolbar button under View>Toolbars.
                          Screenshot - 12_29_2020 , 1_35_32 PM.png

                          Screenshot - 12_29_2020 , 1_38_35 PM.png

                          Etaoin Shrdlu

                          %

                          (THERE'S NO PLACE LIKE)

                          G28 X0.0 Y0.0 Z0.0

                          M30

                          %

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            Aiden900
                            last edited by 2 Jan 2021, 02:58

                            Hello fredo, Hope you're fine, I have tried everything in order to make the fredo tools work and it still not workingm the tool bare's aren't even showing up. I even uninstalled and installed sketchup 2019 pro, installed the extensions several times but still no fix, could you or someone please help me out.

                            Kind regards
                            A.F

                            1 Reply Last reply Reply Quote 0
                            • TIGT Offline
                              TIG Moderator
                              last edited by 2 Jan 2021, 14:18

                              @Aiden900

                              A few things to consider...

                              Did you install SketchUp correctly ?
                              You can repair it and avoid a full re-installation...
                              While you are logged into Windows as your normal user account, ensure SketchUp is closed.
                              Find the v2019 installer exe file - usually in your Downloads folder ?
                              Select its icon, right-click > context-menu > "Run as administrator"
                              When prompted choose "Repair"...
                              After it completes restart SketchUp and retest...

                              I assume you are installing from the RBZ using the Extension Manager > Install... button ??

                              Fredo's extensions [almost all] need his latest LibFredo RBZ installing - available separately from the PluginStrore.
                              Have you downloaded and installed that too ?
                              On its own a Lib does nothing - but it adds vital support for his other extensions...
                              So have you downloaded and installed the latest Fredo Tools from the PluginStore ?

                              Are you aware where the Fredo Tools menu is ? [i.e. under Tools]
                              The FredoTools toolbar button might need activating in your View > Toolbars... dialog's list ?

                              When clicked that toolbar button opens a second dialog listing many of Fredo's tools - click on the name of one of them and it launches...
                              Are the two expected Fredo entries listed in the Extension Manager dialog ?
                              Are they activated in the listing ?

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • BoxB Offline
                                Box
                                last edited by 2 Jan 2021, 14:58

                                Just checking, libfredo doesn't do anything on it's own. It is a helper folder for various Fredo extensions.
                                So installing just LibFredo does nothing.

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  Aiden900
                                  last edited by 2 Jan 2021, 16:04

                                  Hello TIG, I've been using Fredo for almost all my projects and work and it was working fine, but i had to get a newer version of Sketchup 2019 pro so i got that and yes i've followed the tutorial and everything but still nothing. Also one thing i've noticed is that when i install the extension from the extension manager specially Libfredo 6 and check the version it still says 1.0. I am signed into trimble and stuff and other extensions are working fine except for all the plugin related to Libefredo, like scel corner rounds etc. I've checked under the tools bar and i cannot find the fredo or Lib at all.

                                  If you would like to directly contact me you can. Just let me know what would be suitable.

                                  1 Reply Last reply Reply Quote 0
                                  • TIGT Offline
                                    TIG Moderator
                                    last edited by 2 Jan 2021, 16:59

                                    Here's what my current Extension Manager lists in v2019...
                                    Capture.PNG
                                    If yours shows something else [and you've installed the latest versions] then it's broken...

                                    Have you tried the "Repair" idea ?
                                    The Lib doesn't appear, except as a 'helper' - the FredoTools is in Tools submenu and a Toolbar of the same name...

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • A Offline
                                      Aiden900
                                      last edited by 2 Jan 2021, 17:18

                                      Hello TIG,

                                      I've tried repair in administrator mode, Yes i am signed into my windows account as a genuine user. I tried installing the extension again from the beginning by downloading them again and it still not working, Maybe i could be doing something wrong.. It's a suggestion so tell me if it's okay for you. How about you just make a zip file of the Libfredo 6 Rbz file with fredo scale the max and share with me. And i'll let you know if it works by sharing a screenshot. ?

                                      1 Reply Last reply Reply Quote 0
                                      • TIGT Offline
                                        TIG Moderator
                                        last edited by 2 Jan 2021, 17:40

                                        Did you download the Fredo extensions/lib from the SketchUcation PluginStore ?

                                        Retry, using these links...
                                        https://sketchucation.com/pluginstore?pln=LibFredo6
                                        https://sketchucation.com/pluginstore?pln=FredoScale
                                        https://sketchucation.com/pluginstore?pln=FredoTools

                                        Install them all using Extension Manager > Install, restart SketchUp, look at the menus, toolbars and Extension Manager listings... any better ?

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • Dave RD Offline
                                          Dave R
                                          last edited by 2 Jan 2021, 17:48

                                          Before you install the current version of these extensions, go to the Plugins folder and delete all related files.

                                          Also please update your profile. It says you are using SU2016.

                                          Etaoin Shrdlu

                                          %

                                          (THERE'S NO PLACE LIKE)

                                          G28 X0.0 Y0.0 Z0.0

                                          M30

                                          %

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 82
                                          • 83
                                          • 84
                                          • 85
                                          • 86
                                          • 105
                                          • 106
                                          • 84 / 106
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement