|
|||||||
![]() |
|
|
Thread Tools |
|
||||
|
Today I finished the first version of a notifier script.
It basically send an email, or an IRC message or update your Twitter every frame you want to keep tracking. For example you can make Blender send you an email every 100 frames of an animation, a twitter every 3 frames and an IRC message once and a while. Why that? well sometimes you wanna let the computer processing (rendering, baking, ...) while you can take a break, go home, ...). To keep it updated and cross-forums, I will keep the file in my blog. But I would not mind to receive some feedback and comments in this thread. http://blenderecia.orgfree.com/index...nder-notifier/ ps.: Some stuff I would like to see in Blender that would make this script better: - a scriptLink: endFrameCalculation - a Blender.Get("lastframe") - an option to read the console from python ps2.: Please Blender developers, don't discontinue Script Links !!! They need your love and attention . . .
............................................
http://blenderecia.orgfree.com/ my scripts: |2.5| - Paste All - Twitter - |2.49| - IPO simplification - Dynamic text animator - Blender Notifier 1.0 - email, IRC and twitter using Blender - IPO Converter (from Loc, Rot, Scale to dLoc, dRot, dScale) Some artistic work: recent animation project (2009): Life In the Chesapeake Bay - old BGE project (2007): Urban walkthrough project (BGE) |
||||
|
#1
|
||||
|
|
|
||||
|
Quote:
............................................
Nothing to see here ... move along. |
||||
|
#2
|
|
||||
|
Quote:
The problem is, when we finish the EndFrame of the animation/baking, Blender goes to the first frame. That way I can't just subtract 1 from the current frame. Or think about rendering skipping frames. Therefore I would like to access the "last frame" instead of the "current". The other option would be the "endFrameCalculation", a script called before the frame change. Quote:
Thanks for the reply, Dalai
............................................
http://blenderecia.orgfree.com/ my scripts: |2.5| - Paste All - Twitter - |2.49| - IPO simplification - Dynamic text animator - Blender Notifier 1.0 - email, IRC and twitter using Blender - IPO Converter (from Loc, Rot, Scale to dLoc, dRot, dScale) Some artistic work: recent animation project (2009): Life In the Chesapeake Bay - old BGE project (2007): Urban walkthrough project (BGE) |
||||
|
#3
|
|
||||
|
I have a question here.
In the IRC script I'm delaying the closing process, in order to give enough time to the connexion be done: Code:
There is anyway to get away of this?
............................................
http://blenderecia.orgfree.com/ my scripts: |2.5| - Paste All - Twitter - |2.49| - IPO simplification - Dynamic text animator - Blender Notifier 1.0 - email, IRC and twitter using Blender - IPO Converter (from Loc, Rot, Scale to dLoc, dRot, dScale) Some artistic work: recent animation project (2009): Life In the Chesapeake Bay - old BGE project (2007): Urban walkthrough project (BGE) |
||||
|
#4
|
|
||||
|
I don't like this script at all.
Whilst I do see some legitimate use for this script....... defelinto, you may have good intentions with this script. Used correctly it could be handy. Used incorrectly it is a dangerous. Please if you are going to write such a script, keep it to yourself. do not publish it.
............................................
Meta's Material Library's . My Site get python scripts> http://wiki.blender.org/index.php/Extensions:Py/Scripts External Script Bundle Blender 2.49a Packed Collections . Scripts_Bundles blender-2.49b Last edited by Meta-Androcto; 28-Sep-08 at 22:52. |
||||
|
#5
|
|
||||
|
What do you mean by MAY have? It means that I MAY not have as well?
Even though this critique is well come, this kind of insinuation is very offensive. I hope my English is the problem here for not understanding this well. And sorry, but I don't wanna keep what I learn to myself. (And I've already received some positive critiques from artists that can have a good use for that). [And please let's try to focus on the script itself]
............................................
http://blenderecia.orgfree.com/ my scripts: |2.5| - Paste All - Twitter - |2.49| - IPO simplification - Dynamic text animator - Blender Notifier 1.0 - email, IRC and twitter using Blender - IPO Converter (from Loc, Rot, Scale to dLoc, dRot, dScale) Some artistic work: recent animation project (2009): Life In the Chesapeake Bay - old BGE project (2007): Urban walkthrough project (BGE) |
||||
|
#6
|
|
||||
|
Meta-Androcto,
I don't like knifes in the house because some one can use to kill another person. I don't like cars because some people use it to do bad things. I don't like beer because drunkers bla bla bla ... Wake up! If you don't know how to get this better or like you imagine, don't say anything, mainly if you are rude! Dfelinto, keep going man! Great script! "With the rocks they throw me, I will build my castle"
............................................
3D Artist and Animator |
||||
|
#7
|
|
||||
|
dfelinto,
It was not my intention to insult you. Quote:
Quote:
I am entitled to my opinion. mangojambo, Whilst my Paranoia may be excessive in this case, it is not without some merit. You do raise a good point, that much wrong can be done by wrong people. Do you leave your knives point up around the floor or do you put them in a safe place? Do you leave you gun on your door mat or do you keep it safe? The last thing I need is to open a .blend & have it start sending emails. Sorry if anyone thinks I am being excessive here, I do not mean any insult to dfelinto personally.
............................................
Meta's Material Library's . My Site get python scripts> http://wiki.blender.org/index.php/Extensions:Py/Scripts External Script Bundle Blender 2.49a Packed Collections . Scripts_Bundles blender-2.49b |
||||
|
#8
|
|
||||
|
Quote:
About the print issue... I am not sure if there is some simple way to do this. You could look into the way Python handles datastreams (stdout) and try to reroute them. Some guy did something like this at http://www.velocityreviews.com/forum...ns-stdout.html . Alternatively you could execute Blender using terminal and then catch the output by piping it. You can pipe the output of Blender to a text file using "blender > myfile". I noticed that the file is updated only ~after~ you close Blender however. I hope this gives you some clues how to proceed with it. The ircsocket.close() issue is probably best solved by looking how other people have handled it. I am sure there are some scripts doing this around somewhere.
............................................
Nothing to see here ... move along. |
||||
|
#9
|
|
||||
|
Quote:
![]() Thanks MetaAndroid for the concerns ![]() Could you help me testing this patch in a current SVN of Blender? It is an option to open Blender files with Python disabled.
............................................
http://blenderecia.orgfree.com/ my scripts: |2.5| - Paste All - Twitter - |2.49| - IPO simplification - Dynamic text animator - Blender Notifier 1.0 - email, IRC and twitter using Blender - IPO Converter (from Loc, Rot, Scale to dLoc, dRot, dScale) Some artistic work: recent animation project (2009): Life In the Chesapeake Bay - old BGE project (2007): Urban walkthrough project (BGE) Last edited by dfelinto; 15-Oct-08 at 01:02. |
||||
|
#10
|
|
|||
|
What is a "twitter"?
............................................
At some point in life you stop being the man you are and start being the man you always wanted to be. ------ Bruce Springsteen. |
|||
|
#11
|
|
||||
|
Shaba1, twitter is an online system that allow you to send short messages about what you are doing. This is intended to let your friends' network follow your news.
http://twitter.com/ Off course you can use it for whatever you want. In the case of these scripts I really suggest to use the twitter, it is the faster way to send messages from Blender. I still want to take some time to solve the issues I talked above, but only after the mid-terms.
............................................
http://blenderecia.orgfree.com/ my scripts: |2.5| - Paste All - Twitter - |2.49| - IPO simplification - Dynamic text animator - Blender Notifier 1.0 - email, IRC and twitter using Blender - IPO Converter (from Loc, Rot, Scale to dLoc, dRot, dScale) Some artistic work: recent animation project (2009): Life In the Chesapeake Bay - old BGE project (2007): Urban walkthrough project (BGE) |
||||
|
#12
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|