Cinema 4D 插件集成 Claude AI

Cinema 4D 插件集成 Claude AI

Cinema 4D 插件,结合 Claude AI 实现提示驱动的 3D 建模与场景操作。

快速入门

  1. 克隆仓库 克隆项目到本地:git clone https://github.com/ttiimmaacc/cinema4d-mcp.git

  2. 安装依赖 进入项目目录并运行 pip install -e .

  3. 设置插件c4d_plugin/mcp_server_plugin.pyp 文件复制到 Cinema 4D 插件目录。

    • macOS: /Users/USERNAME/Library/Preferences/Maxon/Maxon Cinema 4D/plugins/
    • Windows: C:\Users\USERNAME\AppData\Roaming\Maxon\Maxon Cinema 4D\plugins\
  4. 启动服务器 在 Cinema 4D 中启用插件并启动 Socket Server。

  5. 配置 Claude Desktop 修改配置文件(macOS 路径:~/Library/Application Support/Claude/claude_desktop_config.json),添加以下内容:

    "mcpServers": {
      "cinema4d": {
        "command": "python3",
        "args": ["/path/to/cinema4d-mcp/main.py"]
      }
    }
    
  6. 测试功能 运行 python main.py 或使用测试工具 tests/mcp_test_harness_gui.py 验证命令执行。

更多详细信息,请参考 README 文档。