• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[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.
  • F Offline
    fredo6
    last edited by 30 May 2011, 15:13

    @cosedimarco said:

    • had the opportuny to export statistics in other formats such as HTML or tabbed TXT? I'd like to paste them in my blog posts.

    No problem, this is simple to do.

    @cosedimarco said:

    • Track usage of all your plugins.

    SUClock only tracks 'interactive' plugins, that is those based on the Sketchup::Tools class, typically where you can click and do things in the screenport UI.
    All my plugins are enabled in their latest version.

    By the way, interactive scripts written by other writers can easily be tracked too.
    They just need to insert a single line of code in the activate() method of their tool

    
    def activate
       ....
       LibFredo6.register_ruby 'Name of the Plugin' if defined?(LibFredo6.register_ruby)
       ....
    end
    
    

    Fredo

    1 Reply Last reply Reply Quote 0
    • C Offline
      COSEDIMARCO
      last edited by 30 May 2011, 15:32

      Ok. Thanks a lot. πŸ˜„

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

      1 Reply Last reply Reply Quote 0
      • S Offline
        SketchUpNoobie
        last edited by 3 Jun 2011, 15:11

        @unknownuser said:

        NEW RELEASE: SUCLOCK 1.2a - 03 May 11

        Nice! Thanks. πŸ‘

        It's June though. πŸ˜‰

        --

        SketchUpNoobie: the complete noob in all things SketchUp.

        1 Reply Last reply Reply Quote 0
        • F Offline
          fredo6
          last edited by 3 Jun 2011, 15:27

          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
          • S Offline
            spence
            last edited by 3 Jun 2011, 19:05

            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 4 Jun 2011, 00:30

              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
              • F Offline
                fredo6
                last edited by 4 Jun 2011, 07:33

                @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 4 Jun 2011, 10:19

                  thank You! very nice and useful script!

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

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    COSEDIMARCO
                    last edited by 5 Jun 2011, 14:22

                    Thanks for export! πŸ˜„

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

                    1 Reply Last reply Reply Quote 0
                    • halroachH Offline
                      halroach
                      last edited by 6 Jun 2011, 11:42

                      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
                      • C Offline
                        COSEDIMARCO
                        last edited by 6 Jun 2011, 17:52

                        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
                        • F Offline
                          fredo6
                          last edited by 8 Oct 2011, 06:44

                          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 4 Jan 2012, 00:49

                            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 6 Jan 2012, 13:53

                              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
                              • F Offline
                                fredo6
                                last edited by 6 Jan 2012, 14:59

                                @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 6 Jan 2012, 15:51

                                  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 6 Jan 2012, 20:11

                                    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 16 Apr 2012, 05:09

                                      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 4 Jul 2012, 15:25

                                        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
                                        • F Offline
                                          fredo6
                                          last edited by 4 Jul 2012, 19:41

                                          @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
                                          • 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