Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对搅拌机脚本一无所知,但是当我尝试导入 .Py 脚本时,它提出了这一行并说存在语法错误。
print 'Bone ', self.name
我过去做过一些其他的编程语言(如 VB 和 SB),但我希望你们中的一个人能启发我了解正在发生的事情。
完整的代码在这里
当前的 Blender 包括 Python 3.3。在 Python 3.3 中,print是一个函数,而不是一个语句。将其更改为:
print
print('Bone ', self.name)
您很可能需要对代码进行许多其他此类更改,这些代码显然是为在 Python 2.x 下运行而编写的。