<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
I am also interested in this approach.<br>
I was trying build animation sequences in Python.<br>
I was able to get an animation working but ran into problems when I
tried to use packages and libraries to organize my functions.<br>
<br>
I was never able to find documentation about how to build libraries
of Python classes that could be included in Blender scripts.<br>
<br>
Ron<br>
<br>
On 13/12/2010 11:29 AM, Karl wrote:
<blockquote
cite="mid:AANLkTi=MisWa2uHwV8N-Zk43CneYHHP4r1Kd+OZZ9Sdt@mail.gmail.com"
type="cite">Hello!
<div><br>
</div>
<div>First and foremost, as I just joined this mailing list I have
little knowledge if my question has been already answered in
some point of time or not. Something in this vein was discussed
here in 2008: <a moz-do-not-send="true"
href="http://lists.blender.org/pipermail/bf-python/2008-January/005123.html">http://lists.blender.org/pipermail/bf-python/2008-January/005123.html</a>
.</div>
<div><br>
</div>
<div>I am a graduate student in computer science, currently
working on a project that utilises Blender and Python in order
to programmatically create what are basically Blender games. For
the last two months I have studied both the Blender Python API
and the Game Engine API, and found to my disappointment that
while it is possible to create objects from the bottom up, there
is no way to create new sensors, controllers or actuators. I
realize that there is a chance I might have missed some
important documentation or tutorial, so if this is the case,
feel free to correct me. </div>
<div><br>
</div>
<div>Now to my question: are there any plans to create
functions/modules in the Blender Python API to allow the
creation of logic bricks (i.e. sensors, controllers, actuators)?</div>
<div><br>
</div>
<div>From the discussion I referred to above, the an argument
against this change was that there was no use for this
functionality. I would argue against this, as with this
capability it is possible to create fully working games by
writing a Python script to be interpreted by Blender.
Furthermore, if what I understand about the Blender Python API
is correct, then it should also easily be possible to create a
scene using Blender and then programmatically add the necessary
logic bricks with a Python script. This does away with the
connect-the-dots approach that - while clever - makes it
difficult to do more complex programming.</div>
<div><br>
</div>
<div>Again, I am sorry if this topic has been covered somewhere:
while the internet is full of Blender tutorials, they have
mostly to do with the artistic aspect and it seems to be
difficult to find information about topics such as this.</div>
<div><br>
</div>
<div>All the best,</div>
<div>Karl Potisepp</div>
<div><br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Bf-python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Bf-python@blender.org">Bf-python@blender.org</a>
<a class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/bf-python">http://lists.blender.org/mailman/listinfo/bf-python</a>
</pre>
</blockquote>
<br>
</body>
</html>