擅长:python、mysql、java
<p>必须为<code>sys.path</code>变量添加正确的路径。我不知道具体用于搅拌机,但一般来说,您可以按如下方式添加:</p>
<pre><code>sys.path.append(r'.\mymodule') # Relative path
sys.path.append(r'C:\path\to\my\module') # Absolute path
</code></pre>
<p>要使用的脚本取决于运行的条件:如果脚本位于某个(对于Blender)专用脚本文件夹中,则可以使用第一个脚本。如果从<code>Program Files</code>文件夹运行它,请使用绝对路径。在</p>