We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
hye oded,您可以使用 MEL 或 python 脚本来控制对象并执行简单的操作,
您可以通过 Maya api 使用 C++ 或 Python 来创建复杂任务或重型任务,例如创建变形器、使用新命令扩展 mel。
对于 mel 脚本编写的资源,我推荐“gnomon Mel 基础”视频教程
;对于 api,
如果您可以进行任何脚本编写或 api 编程并且了解一些 python, 我推荐“完整的 Maya 编程”一书,
您可以轻松地使用 python 进行编程/编写脚本,这比 mel 或 c++ 更容易,
希望对您有所帮助:D
hye oded, you can use MEL or python scripting for control objects and doing simple actions,
and you can use the c++ or Python via maya api to create complex tasks or heavy duty tasks, like creating deformers, expanding mel with new commands.
for resources in mel scripting i recommend "gnomon Mel fundemental" video tutor
and for the api i recommend "Complete Maya Programming" book
if you could do any scripting or api programming and you know some python,
you can easily program/script with python which is way easier than mel or c++
hope that will help you :D
有几个用于梅尔编程的应用程序,但它们所做的只是为您提供语法着色,也许还有自动完成功能。没有更先进的东西存在,这也没关系,因为 mel 是一种非常非常糟糕的语言:除了在 Maya 的脚本编辑器中进行快速破解之外,它确实没有任何好处。你绝对应该使用Python。
您可以使用外部 IDE(例如 Eclipse 或 WingIDE)来控制 Maya,但这很棘手
http://www.wingware.com/doc/howtos/maya
您是否会进行 Python 脚本或 API 开发时,一定要看看 PyMel,它比 Maya 的本机 Pyhon 实现有了巨大的改进。
There are a couple of apps for mel programming, but all they do is give you syntax coloring and maybe autocomplete. Nothing more advanced exists, which is just as well, because mel is just a terrible, terrible language: It really isnt good for anything other than quick hacks in Maya's script editor. You definitively should use Python.
You can use an external IDE, like Eclipse or WingIDE to control Maya, but it's tricky
http://www.wingware.com/doc/howtos/maya
Whether youll be doing Python scripting or API development, definitively have a look at PyMel, which is a vast improvment over Maya's native Pyhon implementation.
如果您在 Windows 上,您可以使用 PyScripter,要配置它,您必须显示自动完成功能,您必须按照以下步骤
如果您无法通过步骤2添加,您可以手动添加通过
转到“工具”> 添加编辑 python_init.py 中的启动脚本添加两行
导入系统
sys.path.append("D:\Program Files (x86)\Autodesk\Maya2012\devkit\other\pymel\extras\completion\py")
按照上述步骤将使您能够用 python 编写并以编程方式控制内部对象Maya.. 来自 IDE 外部...(这也为您提供了代码自动完成功能)
if you are on windows you can use PyScripter, to configure it you have to show autocomplete you have to follow these steps
if you are not able to add by step 2, you can manually add by
going to Tools > Edit Startup Scripts in python_init.py add the two lines
import sys
sys.path.append("D:\Program Files (x86)\Autodesk\Maya2012\devkit\other\pymel\extras\completion\py")
following above steps will give you ability to write in python and programmatically control you object inside maya.. externally from IDE... (this also give you the code autocomplete feature)