Insect walk script 0.4

:smiley: First of all, many, many thanks to Martin for his Track_axis.py script!!

Here is a script to have an insect walk, following the movements of a proxy (a bit like Walk-O-Matic):
http://perso.wanadoo.fr/ml.wibaux/insect-walk-0.4.py
Main functionalities of the script

  • Generates the body and leg tip empties, and writes the corresponding IPOs (generates both position and rotation of the leg tip empties, allowing for best result: see constraints in the example below and in the tutorial).
  • Allows for different proxies (animate them in the same blend, get animated insect crowds).
  • Allows for 6 and 8 legged insect, with body description.
  • GUI.
  • Does not work in 2.28 or 2.28a: I can’t fix the crash caused by object.link(ipo) :frowning:

Here is an example blend, with small HowTo: http://perso.wanadoo.fr/ml.wibaux/ant-0.3.blend.
An example MPG1 http://perso.wanadoo.fr/ml.wibaux/ant-walk.mpg
<EDIT>
And a tutorial http://perso.wanadoo.fr/ml.wibaux/index.html
</EDIT>
Documentation a bit later.

Laurent

hey looks kewl :slight_smile:
let me test it when I’m at home

Cool!

I’m glad I could be of some help :slight_smile: (though that script is not longer needed now due the the addition of the Lock Track constraint in tuhopuu and soon in 2.29).

Since we have access to the armature in the new API, is there a way you could add the IPOs directly to the bones instead of going through emptys?

Martin

I want to learn how to write python scripts as soon as I have the time.
But this script is floored me. Ahhh. Could these same princples that you use in your script be altered to automactically control car wheel rotaion with a "proxy object for the wheels, or a human biped walk or any proxy with series of motion fuctions assigned to it?

I have been missing out on alot of cool stuff around here.

Here is an animation of a script I just put together. The object is parented to a moving empty, this is the only IPO controlled object in the scene. The wheel spinning and the z-axle spinning are generated from the script.

http://www.gvc.net/~jmatthews/extractor/examples/wheelscript/0001_0112.avi

does it also support speed? but anyways… can we have it? or is it already released?

has been implemented by the Walk-O-Matic script (see the Script List Effort sticky post on this forum).

Laurent

Well, I have not managed to understand how to use the new API for IPOs and have failed to find examples (there were talks on the forum of having a snippet library?). :-?
The other thing is that the new API does not allow you to build armatures, only to modify them.

though that script is not longer needed now due the the addition of the Lock Track constraint in tuhopuu and soon in 2.29

Is there a build for Windows of tuhopuu somewhere?
When is 2.29 due out ?

Laurent

has been implemented by the Walk-O-Matic script (see the Script List Effort sticky post on this forum).

Laurent[/quote]

Thanks for the tip!

Look here-

https://blenderartists.org/forum/viewtopic.php?t=14924

Here is a tutorial http://perso.wanadoo.fr/ml.wibaux

Laurent

So… has anyone done something like this for people?

Besides %| Walk-o-Matic, I mean. %|