<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">@Chris, Agree, Python should be wrapping a C API, custom functions in<br>

the PyAPI should be added with care - for functionality that&#39;s only<br>
relevant to the py api.<br>
To me it looks like RNA already does this well when it comes to accessing data.<br>
- Adding support for other languages is an advantage too, but Id<br>
rather leave that alone for now :)<br>
</blockquote><div><br>Would it not be a good idea to take this a step further and make the Python engine into a separate plug-in for Blender?&nbsp; I&#39;m thinking in terms of how LightWave and 3dsmax have the notion of &quot;Global&quot; plug-ins that get loaded at startup and stay resident for the lifetime of the application.&nbsp; Scripting engines are then just global plug-ins that call into the built-in C (C++ in the case of Max) API&#39;s and expose as much functionality to the scripting language as possible.<br>
<br>I see a lot of advantages to this in terms of adding other scripting languages.&nbsp; <br><br>For Python, there&#39;s also the bonus that experimental changes to the Python API could be released in binary form between official Blender releases.<br>
<br>Finally, there&#39;s a &quot;ginormous&quot; bonus in terms of &quot;unexpected advances.&quot;&nbsp; I.e., by having a global plug-in type and a sufficient C API for a scripting engine, there are surely things that people will come up with that we would never imagine otherwise.&nbsp; I&#39;d list examples, but I cannot imagine them :-)<br>
<br>I&#39;d be willing to make a MS Script Engine plug-in on Windows to allow VBScript and (MS) JavaScript.&nbsp; Obviously this would only work under Windows, so minus points on that, but it would help the fairly large population of Windows users more easily automate things if they already know BASIC.<br>
<br>I&#39;ve done this experimentally under LightWave, since their LScript language leaves a lot to be desired, and it&#39;s not a huge effort given a good C API to build on.<br><br>I would imagine that Mozilla&#39;s JavaScript implementation should be fairly easy to implement as well.<br>
<br>-- Early Ehlinger, President, ResPower, Inc.<br></div></div>