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

      NEW RELEASE: SUCLOCK 1.2a - 03 Jun 11

      This release adds some functional enhancements and problem fixing based on feedback received from users

      Alarm to Target:

      The principle is to set a target time and an alarm threshold for the project, so that you are warned when the effective time spent is close and then above the target time.
      The clock will indicate visually where you stand in the achievement of your target. Say that you set a target time at 4h, with a threshold of 75%:
      Suclock Alarm modes 0.pngSuclock Alarm modes.png

      Statistics reports:
      I included the possibility to generate reports in several formats (I may add more).
      Suclock Export Formats.png
      HTML is not implemented yet. I need to made changes to LibFredo6, so it will be available in a next release. You can set up the default format in the Default Parameters dialog box.

      Cropping of the clock window:
      As the exact rendering of the clock window depends from too many settings (Operating system, browser version, etc…), I simply made the height of the clock window a parameter that you can change in the Default Parameters dialog box. Default height is 50 pixels.

      Multi-user environment:
      If you wish several users to work on the same projects across the network, then you need to configure SUClock with a temporary directory located on a shared drive (as well as the suclock files indeed).
      You can set the network path of the temporary directory in the Default Parameters dialog box.
      Suclock Temp files.png

      Reset projects and Import data from another project:
      You can reset a project to Zero. This will erase all data irreversibly.
      You can import data from another project into the current project. Optionally, you can then reset to zero this other project.
      CAUTION: In version 1.2, I did not provision an Undo for these two functions. So please use with care!
      Suclock Reset Merge.png

      Update is published in main post.

      Fredo

      1 Reply Last reply Reply Quote 0
      • spenceS Offline
        spence
        last edited by

        Fredo,

        Thank you for the plugin, this is fantastic 😄 This will come in very handy. This type of time tracking should be build into all productive software programs. It would be nice to be able to track your time, then again in some ways it's bad, It may prove I'm not that productive 😒

        Spence

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

          Great looking plugin Fredo!! But I'm having trouble loading it into S8 plugins folder. I keep getting an error that says "The item SUClock%201 can not be moved because "Sketchup" cannot be modified". But it loaded itself at the bottom of the list of folders. I'm on a Mac and have loaded other plugins most times with success, sometimes not. Maybe its just me. if you know what I'm doing wrong I'd rely appreciated any help you can give. Thanks.

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

            @rastus127 said:

            Great looking plugin Fredo!! But I'm having trouble loading it into S8 plugins folder. I keep getting an error that says "The item SUClock%201 can not be moved because "Sketchup" cannot be modified". But it loaded itself at the bottom of the list of folders. I'm on a Mac and have loaded other plugins most times with success, sometimes not. Maybe its just me. if you know what I'm doing wrong I'd rely appreciated any help you can give. Thanks.
            Paul

            Paul,

            The presence of the "%20" indicates that you probably downloaded or unzipped the files with a tool that does not convert properly file names (%20 is the the replacement for Space). Can try with a different tool.
            You may also have some permission access issues on your Mac

            Fredo

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

              thank You! very nice and useful script!

              hire me@ http://www.publied.it !

              1 Reply Last reply Reply Quote 0
              • COSEDIMARCOC Offline
                COSEDIMARCO
                last edited by

                Thanks for export! 😄

                [floatl:2wjeiugn]COSEDIMARCO - The Website[/floatl:2wjeiugn]

                1 Reply Last reply Reply Quote 0
                • halroachH Offline
                  halroach
                  last edited by

                  Hi Fredo,

                  Now that the plugin works over the network, do you think it can be possible to assign, in the default parameters/in the main menu, a Username.
                  It could be username for each computer or you could even have multiple usernames for one computer, though I think that wouldn't be necessary.

                  The idea would be to track time for a project with the ability to see how much time each user spent on it and at what time during the project each user was involved... would be great for a gantt chart...

                  FlexTools - Super Quick Windows, Doors, Slats...

                  1 Reply Last reply Reply Quote 0
                  • COSEDIMARCOC Offline
                    COSEDIMARCO
                    last edited by

                    Hi Fredo
                    attached there's the Italian Translation for SuClock

                    I think i've found a couple english mistakes:

                    "Threshold when clock in displayed in warning mode" --> "Threshold when clock is displayed in warning mode
                    "
                    "ERROR: you can import data from the same current project
                    " --> "ERROR: you can't import data from the same current project
                    "

                    Italian Translation

                    [floatl:2wjeiugn]COSEDIMARCO - The Website[/floatl:2wjeiugn]

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

                      NEW RELEASE: SUCLOCK 1.3a - 08 Oct 11

                      This release fixes problems encountered with Mac OSX Lion and Safari 5.1 (no images in the clock window)

                      Update is published in main post.

                      Fredo

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

                        how does one go about adding time to a model? I already worked on it and forgot to hit the SUClock?

                        is there a way to auto start SUClock with every new model?

                        By: Kristoff Rand
                        Home DesignerUnique House Plans

                        1 Reply Last reply Reply Quote 0
                        • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 1 / 7
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement