I've no idea if a script like this exists, and I was too lazy to search, so I wrote one.
It's still very crude, I haven't had the time to polish it up, and it has some minor glitches - like the order of the layers won't be entirely correct if there's more than one layer in the image, but other than that it works ok.
Now, what it does is, basically: it takes the current layer, and makes X rotated copies of it, so that the layer is rotated a full 360 - in other words, if you select 36 layers, they are stepped at 10 degrees, and so on.
What is it useful for? Of course for making directional brushes! Manually copying and rotating a 100 (the maximum allowed by the .gih format) copies of a layer is very tiresome, so if you want to make cool brushes that follow the direction of the cursor, this is the way to do it.
Now, like I said, it's still at development phase, and I haven't had the time to polish it up (if someone wants to do it, be my guest, otherwise I'll get to it when I have the chance) so there's still a glitch in the layer ordering if you have more than one layers in the image. It's not a big glitch and the script is still useful.
Those who have made their own brushes know that colourless brushes need to be saved as a grayscale image, and transparency is marked by white colour (ie. the value channel is inverted and used as alpha for the brush) so the script automatically fills any transparent areas of the copies with white, if the image is a grayscale image. If it's an RGB image, it won't do that, since multicolour brushes are handled differently.
Anyway, I mainly wrote this script for myself, but then I thought others might find it useful too, so here it is:
http://www.fileden.com/files/2010/2/7/2 ... rotator.pyIt installs in filter/distorts.