Time Tracker addon

(carbon2) #1

updated for 2.80

get it here: https://github.com/uhlik/bpy

Here is simple time tracker inside blender. After you install and enable it, it will log loaded and saved files and time spent of file until it is saved. All ui is inside addon preferences (see screenshot).

Here you can enable / disable logging, clear data collected so far, set custom data path (.csv) and see short summary of collected data and open individual project directories in file browser. The project name is determined by directory name where the blend is. For example if you have project in directory named “MyNewOutstandingProject” and all blends are inside subdirectory “models”, set level number to 1 and you will see project name in results. 0 is directory directly above blend, 1 is one directory above blend, and so on. If you are like me and all your projects have the same subdirectory structure, sent directory level and you are good to go.

change log:
0.2.0 updated for 2.80
0.1.0 added simple ui
0.0.8 ui tweaks, more advanced options, minor bugfixes
0.0.7 fixed performance and sorting, added tracking of files which were closed without saving once a minute (can be enabled in preferences: check Track Scene Update)
0.0.6 first release


(pavelsimana) #2

Perfect addon, thanks!

Blender 2.71, win7 x64 -> all ok

(kakachiex2) #3

wow nice specially for commercial work for clients that pay per hour

(carbon2) #4

yes, that’s why i made this :slight_smile:

(carbon2) #5

new version, see the first post

(Bernardo) #6

really useful script, I was looking for something like this! :slight_smile:

Thank you!

(carbon2) #7

thanks :slight_smile:
and meanwhile, updated to 0.0.8, see change log in first post

(carbon2) #8

and please tell me everyone on which system it works, so i can remove warning notice…

edit: primarily showing project directory, this is the main thing which might not work

(kwikker) #9

macintosh os lion 10.7.5 works.

(see360) #10

Wow! Wish I had seen this a week ago. I spent the last week teaching myself python just to add a time tracker button. One thing I want on mine is a pause button right in the UI for when I step away from the project or take a phone call. If you add a few features I could use your addon more than any other!

(antoni4040) #11

Nice addon, works on Linux as well :slight_smile:
Thanks a lot!

(carbon2) #12

hello, thanks for suggestion. i’ve just added big on/off toggle to view3d > properties, get new version in the first post… what other new features are on your mind?

(tirbelain) #14

This is almost exactly what I was looking for. One feature that would be great to have is an automatic activity tracking (because clicking that button is sooooo inconvenient ;)). E.g. by checking every minute (or any other adjustable time period) whether there were user inputs and if not, automatically disable the tracking.
Another feature that would be nice is a (total) render time tracking to see how much time you spent on rendering vs. editing.

However, nice addon. :slight_smile:

(blend rend) #15

Addon is not working on Blender 2.77. Can you fix?

(carbon2) #16

you mean “ERROR: See Console” message? i forgot to specify utf8 encoding, fixed now. please try it. if it still not working, please provide more info. thanks

(blend rend) #17

Oh Yes, i have forgotten. I hope this helps. The utf-8 encoding is saved, but the addon is not working. Thank you:)


(carbon2) #18

how you installed the addon? this is very strange error. maybe deactivate addon, save prefs, quit blender, delete addon file (system_time_tracker.py), copy paste again new one, start blender and activate… do not remove csv file (system_time_tracker.csv), or you lose tracking data

(blend rend) #19

I have the code saved into a textfile with UTF 8. Then i have renamed the Extention into “.py” and installed regular.

(carbon2) #20

erm, go here https://raw.githubusercontent.com/uhlik/bpy/master/system_time_tracker.py and save right from your browser

(blend rend) #21

This works, thank you :o I have no idea why. The Code is the same.