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

    [Plugin] SUClock - v3.1a - 02 Apr 24 - Tracking time in SU

    Scheduled Pinned Locked Moved Plugins
    138 Posts 46 Posters 136.4k Views 46 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      Fredo

      I have a'SUClock' related issue. 😒
      If I deactivate the 'SUClock' Extension and restart Sketchup then when I try to run some of your tools [BezierCurve and RoundCorner] - I get a Ruby Console error like this Error: #<NoMethodError: undefined methodregister_ruby' for SUClock:Module>
      C:/Program Files/Google/Google SketchUp 8/Plugins/BZ_Dir_14/bezierspline_main.rb:496:in activate' ... I deduce that this is because those two tools' test for the definition? of 'SUClock', which returns 'true', because IT IS defined, and partially loaded, but because it's inactive with the Extension being disabled, then the relevant 'register_ruby' method isn't available - so I get the error.
      If I have SUClock loading at all, then I must always have it active in the Extensions list, otherwise it breaks your other two tools when try to use them.
      Of course stopping SUClock loading all together avoids this, as then it's then never 'defined?'.
      But this is awkward, this Extension should be capable of being simply deactivated, as I do not use it that often: the whole point of an Extension is you load it as it is needed.
      Your two problem tools need their code recasting, for example using something like this that prevents the failure being an issue...
      **(begin;**SUClock.register_ruby('BezierSpline')**;rescue;end)**if defined?(SUClock) needed in two lines.
      **(begin;**SUClock.register_ruby('RoundCorner')**;rescue;end)**if defined?(SUClock) needed once.
      this works fine for me, but it really ought to be 'built-in' 😉

      TIG

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

        @tig said:

        Fredo

        I have a'SUClock' related issue. 😒
        If I deactivate the 'SUClock' Extension and restart Sketchup then when I try to run some of your tools [BezierCurve and RoundCorner] - I get a Ruby Console error like this [ruby]Error: #<NoMethodError: undefined method `register_ruby' for SUClock:Module>
        C:/Program Files/Google/Google SketchUp 8/Plugins/BZ_Dir_14/bezierspline_main.rb:496:

        TIG,

        This is fixed (actually the method call is nomore to SUClock but to LibFredo6).
        However, I am not sure I published it for BezierSpline and RoundCorner. I'll check
        Thanks for signaling

        Fredo

        1 Reply Last reply Reply Quote 0
        • Rich O BrienR Offline
          Rich O Brien Moderator
          last edited by

          I also notice that when exporting to 'Tabbed Text' the '%%' column can be one tab off in certain columns.

          Download the free D'oh Book for SketchUp 📖

          1 Reply Last reply Reply Quote 0
          • KrisidiousK Offline
            Krisidious
            last edited by

            ummm adding time to the clock?

            By: Kristoff Rand
            Home DesignerUnique House Plans

            1 Reply Last reply Reply Quote 0
            • guanjinG Offline
              guanjin
              last edited by

              Fredo Hello, statistics clock can join FredoTools1.1m you? Only an icon, taken together, easy to manage, thank you!

              I come from China, is to learn

              1 Reply Last reply Reply Quote 0
              • T Offline
                tomvokurka
                last edited by

                Hi.
                I have a small problem with this plugin. I found it really usefull, but somehow I can't set it up.
                When I click on a clock icon, select "Attach to a New Project", then type a name of .suclock file and save it in a file with my SU model (with a same name as model) I can't see any .suclock file in explorer. It even doesn't start counting time, no clock appears at all. Can anyone help me? Some advices?
                I've got SU 8 and Win 7.
                Thanks a lot!

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

                  @tomvokurka said:

                  Hi.
                  I have a small problem with this plugin. I found it really usefull, but somehow I can't set it up.
                  When I click on a clock icon, select "Attach to a New Project", then type a name of .suclock file and save it in a file with my SU model (with a same name as model) I can't see any .suclock file in explorer. It even doesn't start counting time, no clock appears at all. Can anyone help me? Some advices?
                  I've got SU 8 and Win 7.
                  Thanks a lot!

                  Strange. However on Windows 7 there are by default many security rules preventing to create files by script so it may just be that issue of security (actually the file may be created in a security zone, but not writable).

                  I would suggest that you redo the operation, opening before the Ruby console. Also, do you get a message from SuClock?

                  Fredo

                  1 Reply Last reply Reply Quote 0
                  • thomthomT Offline
                    thomthom
                    last edited by

                    Fredo, have you found a solution to Vista, Win7 putting files you write out in SU Ruby into the Virtualstore?

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

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

                      @thomthom said:

                      Fredo, have you found a solution to Vista, Win7 putting files you write out in SU Ruby into the Virtualstore?

                      No. From Ruby you don't see anything, except that the file is created or not created.
                      Actually, I don't understand very well how this virtualstore works and what is the intention.

                      Fredo

                      1 Reply Last reply Reply Quote 0
                      • thomthomT Offline
                        thomthom
                        last edited by

                        @unknownuser said:

                        @thomthom said:

                        Fredo, have you found a solution to Vista, Win7 putting files you write out in SU Ruby into the Virtualstore?

                        No. From Ruby you don't see anything, except that the file is created or not created.
                        Actually, I don't understand very well how this virtualstore works and what is the intention.

                        Fredo

                        I found I could detect if a file was in VirtualStore or not. But if I wanted to create a file I cannot work out in advance if it will appear in VirtualStore or not.
                        If I edit a file in the Plugins folder everything is fine, but creating new one will stuff it in VS. Very troublesome since I'm trying to make a plugin installer. Might I actually need to write a C Extension? ...might do, might make one that actually writes unicode files as well.

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

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          kierovnick
                          last edited by

                          Oh my God! I mean.. oh my Fredo6!
                          How could i miss this one?
                          I was waiting for it so long and somehow it slipped past my nose until today.
                          There's not many plugins that are MUST HAVE for me, but most of them are of your autorship.
                          My plugin library will look like My plugin library +1 from now on 😄
                          I am sure i will donate, so you could buy some coffe to work on Your next plugins 😄
                          Thank You.

                          1 Reply Last reply Reply Quote 0
                          • Dave RD Offline
                            Dave R
                            last edited by

                            Greetings Fredo,

                            I just had an e-mail from a Mac user saying that despite downloading the new maintenance release of SketchUp, he's still getting black text boxes with this plugin. Thoughts or ideas?

                            Thanks.

                            Etaoin Shrdlu

                            %

                            (THERE'S NO PLACE LIKE)

                            G28 X0.0 Y0.0 Z0.0

                            M30

                            %

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

                              I'm using OSX 10.7.4 latest Lion release, SU 8 latest release and LIbFredo6 4.6 just so you could see I also just found this very useful Thanks


                              clock.jpg


                              clock2.jpg

                              2011 iMac
                              SU 2015 Pro, 2017 Make
                              V2 Twilight
                              macOS Sierra 10.12.5

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                rv1974
                                last edited by

                                Is there way to permanently hide 'check plugins for update' window (the small yellow one with ruby)?

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

                                  You should only see it every 15 days or so, good to have if there have been updates, bug fixes and such.

                                  2011 iMac
                                  SU 2015 Pro, 2017 Make
                                  V2 Twilight
                                  macOS Sierra 10.12.5

                                  1 Reply Last reply Reply Quote 0
                                  • thomthomT Offline
                                    thomthom
                                    last edited by

                                    @rv1974 said:

                                    Is there way to permanently hide 'check plugins for update' window (the small yellow one with ruby)?

                                    That's part of LibFredo. Set the frequency to 999 to disable.

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

                                    1 Reply Last reply Reply Quote 0
                                    • Dave RD Offline
                                      Dave R
                                      last edited by

                                      If you really don't want to see it every 15 days, go to window>LibFredo6 Settings>Default Parameters and change it.
                                      libfredo.png

                                      As Walt says, though, it doesn't hurt to have it pop up. It makes it easy to check for updates.

                                      Etaoin Shrdlu

                                      %

                                      (THERE'S NO PLACE LIKE)

                                      G28 X0.0 Y0.0 Z0.0

                                      M30

                                      %

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

                                        really having a problem installing this. I could use some help.

                                        1 Reply Last reply Reply Quote 0
                                        • Dave RD Offline
                                          Dave R
                                          last edited by

                                          Is there any chance you could describe the problem?

                                          Etaoin Shrdlu

                                          %

                                          (THERE'S NO PLACE LIKE)

                                          G28 X0.0 Y0.0 Z0.0

                                          M30

                                          %

                                          1 Reply Last reply Reply Quote 0
                                          • KrisidiousK Offline
                                            Krisidious
                                            last edited by

                                            Love the plugin updater...

                                            By: Kristoff Rand
                                            Home DesignerUnique House Plans

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 3 / 7
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement