50 lines
1.4 KiB
Markdown
50 lines
1.4 KiB
Markdown
# MG-Picker Studio Module
|
|
|
|
MG-Picker Studio 动画选择器工具的简化模块版本。
|
|
|
|
## 目录结构
|
|
|
|
```
|
|
mgpicker/
|
|
├── __init__.py # 模块入口,提供 start() 函数
|
|
├── MGPicker_Program/ # 核心程序文件
|
|
│ ├── Plug-ins/ # Maya 插件文件 (.mll)
|
|
│ ├── UI/ # 用户界面 MEL 脚本
|
|
│ ├── Python/ # Python 支持文件
|
|
│ ├── AutoSourced/ # 自动加载的脚本
|
|
│ ├── CodeSnippets/ # 代码片段
|
|
│ ├── CommandButtonPresets/ # 命令按钮预设
|
|
│ ├── Templates/ # Picker 模板
|
|
│ └── ...
|
|
├── MGPicker_Help/ # 帮助文档
|
|
├── Sample_Pickers/ # 示例 Picker 文件
|
|
└── MGPicker_UserConfig/ # 用户配置目录
|
|
```
|
|
|
|
## 使用方法
|
|
|
|
### 在 Python 中启动
|
|
|
|
```python
|
|
import animation_tools.mgpicker
|
|
animation_tools.mgpicker.start()
|
|
```
|
|
|
|
### 在 MEL 中启动
|
|
|
|
```mel
|
|
python("import animation_tools.mgpicker; animation_tools.mgpicker.start()");
|
|
```
|
|
|
|
## 插件说明
|
|
|
|
- 插件文件位于 `MGPicker_Program/Plug-ins/` 目录
|
|
- Maya 2023 使用 `MGPicker_2023x64.mll`
|
|
- 插件会在启动时自动加载
|
|
|
|
## 原始信息
|
|
|
|
- **作者**: Miguel (Wenfeng Gao)
|
|
- **网站**: http://mgland.com
|
|
- **邮箱**: mgtoolspro@gmail.com
|