[Bf-python] Py Drivers - Possible feature enhancement.
Martin Poirier
theeth at yahoo.com
Sun Nov 25 16:14:22 CET 2007
--- Campbell Barton <ideasman42 at gmail.com> wrote:
> @Martin, The problem is that even simple operations
> become very long
> winded when you type them into drivers, because the
> syntax is so
> verbose to reference the data you want to operate
> on, before any
> python code happens.
> The alternative is to have a pydriver.py that has
> some nice function
> to do the lookup, like obBone('obnane', 'bonename')
> but that means
> everyone who wants to do a simple operation with 2
> bones for instance,
> needs to go away and come up with their own set of
> macro's for
> functions that blender could probably make easier.
Or, we could have a BpyDriver.py file in bpymodules
that autoimported in pydrivers.
For anything complex, I really think it should be
moved to an external file. There's a limit to
expressions that we really shouldn't be stretching.
Martin
____________________________________________________________________________________
Be a better sports nut! Let your teams follow you
with Yahoo Mobile. Try it now. http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
More information about the Bf-python
mailing list