Maya being as ridiculous as it is, sometimes a batch render just won’t do.
This happens from time to time, with for example fluids even though you cache them and everything. I had just this problem on a project the other day, and even though it isn’t much of a script some none-programmer might find this useful.
Copy-paste into a Python tab:
import maya.cmds as cmds for frame in range(1849,1850): cmds.currentTime( frame, edit=True ) a = cmds.Mayatomr( pv=True ) print "Frame done! Outputtet to:", a print "All done! Give me more!!!!"
Notes:
-To use, indent the follow lines with tab once pasted into your python-tab: cmds.currentTime…, a=…, print “Frame done….
-It renders from (including) to (excluding) the frame you tell it in the range statement.
-It will take the render settings from the renderGlobals/renderSettings and use. Even renumbering.
-You can abort by hitting escape a hell of a lot of times.
cheers
I almost exclusively use spotlight for opening programs..(yeahyeah.. quicklsilver and all that fancypants… I just want it to be as simple as possible and have as few processes running as possible..) Recently Safari disappeared from the list, which has been quite annoying. Luckily it is quite easy to force a re-index of your drive:
sudo mdutil -E /
mdutil is for manipulating your spotlight index-file.
-E tell it to erase and rebuild the index file.
/ tell it to do it to the boot-drive.
And after 1.5 hours you are done! Hooray!
Want to be able to tell the difference between directories and other files at a glance?
Want to avoid cirkus-color-hell like other Unix-systems defaults to?
With this method it is possible to just make the directories bold so they differ slightly from the other files.
It’s all going down in the “~/.bash_profile”-file.
For a subtle highlight of the text put this into it:
LSCOLORS The value of this variable describes what color to usefor which attribute when colors are enabled withCLICOLOR. This string is a concatenation of pairs of theformat fb, where f is the foreground color and b is thebackground color.The color designators are as follows:
- a black
- b red
- c green
- d brown
- e blue
- f magenta
- g cyan
- h light grey
- A bold black, usually shows up as dark grey
- B bold red
- C bold green
- D bold brown, usually shows up as yellow
- E bold blue
- F bold magenta
- G bold cyan
- H bold light grey; looks like bright white
- x default foreground or background
Note that the above are standard ANSI colors. The actualdisplay may differ depending on the color capabilities ofthe terminal in use.The order of the attributes are as follows:
- 1. directory
- 2. symbolic link
- 3. socket
- 4. pipe
- 5. executable
- 6. block special
- 7. character special
- 8. executable with setuid bit set
- 9. executable with setgid bit set
- 10. directory writable to others, with sticky bit
- 11. directory writable to others, without sticky
- bit
The default is “exfxcxdxbxegedabagacad”, i.e. blue fore-ground and default background for regular directories,black foreground and red background for setuid executa-bles, etc.
Do you hate that you can’t option right and left to skid across words in the Terminal?
No? Then you never used it, or are comming straight out of win-hell.
To change it:
- Open Terminal.
- Open prefs
- Go to settings tab in the top.
- Go to Keyboard
- Press +
- Choose your keycombo for skidding backwards in the panels.
- Go to the text area. Press: Esc-button on your keyboard followed by the b-button.
- The text-area should read \033b
- Press ok
- Do the same for forwards but press f instead of b.
Cheers!
Time for a little update.
Rewrote parts of the code. Initially it was just a bunch of messy slam-code, but I have now cleaned up a bit. Still not perfect but I don’t think I will do any more about it.
Things that have been corrected/added:
-Double digit date display.
-The creation method now calls the update method so there is no inconsistency between them anymore.
Todo for next release:
-The update method looks for events for the entire day. E.g. an event that occurred 3 hours ago, but on the current day, is still listed. The correct procedure should be to list events that hasn’t started yet.
I have attached the calendar as a zip. Both files are necessary to install it as a wall-paper.
As usual I will not guarantee that your cell phone doesn’t light up in flames, explode or get’s hijacked by seagulls.. you are totally on your own here.
Here you go:
-Aske
So I got myself a new cheap phone (SonyEricsson Naite), cause I really can’t afford the Iphone
Anyways I’m terrible at remembering stuff that I have to attend too so I’m using ICal alot..
Sony Ericsson “recently” released a plugin for ISync that allows you to sync your mobile calendar and contacts effortless with ICal. Hooray!
While playing with my phone I figured out that it’s now possible to have applications running as your background/wallpaper.
So I thought it would be kinda nice with a small app that just listed your next three events from your calendar. Seems easy enough? Yeah right… try to have a look at the java ME API doc’s and say that again =(
Debugging was hell as well because I couldn’t figure out any smarter way than to actually build and transfer it to my phone every time I had to test something which involved events in the calendar.. There probably is a fancier way but I couldn’t figure it out.
Anyhow I ended up slam-coding a mess of classes with a VERY bad design but it works nevertheless.. As far as I can tell the garbage-collector covers my errors but the next days of testing will hopefully prove that..
Leave a comment if you want a copy. Formatted for Danish atm. and absolutely NO guarantee that your phone won’t light up in flames when using it..
Most notably I changed the face of the random google girl to now being my girlfriend.
My initial idea with the long tentacle was that it should dissolve into flowers towards the end. With that little extra touch I know have the ambiguous stories, with the batter maybe fighting a monster or maybe just smashing some flower-loving hippies..
Also played a little bit with the thought of adding a strong color to the end of the long tentacle. Still not sure about that though.
A good friend of mine, made a suggestion that I should wrap the white flowers around the tentacles, which really worked out great I think.
To-do list:
- Add hair in front of Sofie’s face.
- Add/redo white flowers on long tentacle.
- Possibly relight bat-guy, cause I’m not really sure wether I like him or not right now.
Allrighty. I’ll get this baby rolling with a little project of mine.
I’m going to make some curtains for our flat. It’s going to be these “panel” curtains from Ikea, I’ll use as a base.
http://www.ikea.com/us/en/catalog/products/70120990
I’ll try to do a stencil-graffiti across 4 of these panels. Right now I’m still in the design phase, so here goes my initial sketch.
I like to keep the first sketch small, and basic, just to get a feel for proportions that is easy and fast to edit.
Be sure to check out PaperMonsters blog on graffiti. He makes some awesome stencils and it’s really there him I got the idea from.