Files
Nexus/2023/README.md
2025-11-23 20:50:30 +08:00

48 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Nexus Maya 2023 Plugin
## 目录结构
- **shelves/** - 工具架文件 (.mel 格式)
- shelf_Nexus_Modeling.mel - 建模工具架
- shelf_Nexus_Rigging.mel - 绑定工具架
- shelf_Nexus_Animation.mel - 动画工具架
- **scripts/** - Python/MEL 脚本
- userSetup.py - Maya 启动时自动执行
- nexus_test.py - 测试脚本
- modeling_tools/ - 建模工具包
- rigging_tools/ - 绑定工具包
- animation_tools/ - 动画工具包
- **plug-ins/** - Maya 插件文件 (.py 或 .mll)
- nexus_plugin.py - Nexus 插件
- **icons/** - 工具图标
- 工具架按钮使用的图标文件
## 使用方法
1. 在 NexusLauncher 的 config.json 中配置:
```json
"maya_plugin_path": "E:/Zoroot/Dev/NexusLauncher/template/plugins/Nexus"
```
2. 启动 Maya 2023系统将自动
- 加载 Nexus 工具架Nexus_Modeling, Nexus_Rigging, Nexus_Animation
- 执行 userSetup.py
- 设置环境变量
3. 测试:
- 检查是否出现 Nexus 工具架
- 点击测试按钮
- 应出现确认对话框
## 环境变量
启动时自动设置:
- MAYA_SHELF_PATH - 指向 shelves 目录
- MAYA_SCRIPT_PATH - 指向 scripts 目录
- PYTHONPATH - 指向 scripts 目录
- MAYA_PLUG_IN_PATH - 指向 plug-ins 目录
- XBMLANGPATH - 指向 icons 目录