keyshot-mcp 0.5.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,639 +1,521 @@
1
1
  # KeyShot MCP
2
2
 
3
- [![MCP Badge](https://lobehub.com/badge/mcp/truman-t3-keyshot-mcp)](https://lobehub.com/mcp/truman-t3-keyshot-mcp)
4
- [![GitHub Release](https://img.shields.io/github/v/release/truman-t3/keyshot-mcp)](https://github.com/truman-t3/keyshot-mcp/releases)
5
- [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
3
+ [![npm version](https://img.shields.io/npm/v/keyshot-mcp.svg)](https://www.npmjs.com/package/keyshot-mcp)
4
+ [![CI](https://github.com/truman-t3/keyshot-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/truman-t3/keyshot-mcp/actions/workflows/ci.yml)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
6
6
 
7
- English | [中文](#中文说明)
7
+ [English](#english) | [中文](#中文)
8
8
 
9
- A local MCP server for controlling KeyShot Studio through KeyShot headless scripting.
9
+ KeyShot MCP is a local [Model Context Protocol](https://modelcontextprotocol.io/)
10
+ server for inspecting, editing, and rendering KeyShot scenes through KeyShot
11
+ headless scripting. It lets an MCP-compatible AI agent perform repeatable product
12
+ visualization tasks while scenes, models, licenses, and rendered files remain on
13
+ the local computer.
10
14
 
11
- It lets an AI app that supports MCP ask KeyShot to inspect scenes, render images, import models, change materials, adjust cameras, set environments, and save scenes.
15
+ ![KeyShot MCP workflow](assets/workflow.svg)
12
16
 
13
- Optimized for Windows-based KeyShot Studio product visualization workflows.
17
+ ## English
14
18
 
15
- Unlike GUI-only automation scripts, this project targets KeyShot headless workflows and keeps a stable MCP interface for AI agents.
19
+ ### What it can do
16
20
 
17
- ## Who This Is For
21
+ - Inspect scene objects, materials, cameras, model sets, and external references.
22
+ - Import models and optionally center them, place them on the ground, update the
23
+ camera target, and adjust the environment.
24
+ - Render one camera, selected cameras, every camera in a scene, or a sequential
25
+ render queue.
26
+ - Create and update cameras by position, look-at point, distance, field of view,
27
+ focal length, or reusable presets.
28
+ - Apply materials directly or through a local material preset library.
29
+ - Select environments, change brightness, and rotate the active environment.
30
+ - Save edited scenes to a controlled output directory.
18
31
 
19
- - Designers who want AI-assisted KeyShot rendering.
20
- - Developers who want a simple stdio MCP bridge for KeyShot.
21
- - Teams that already have KeyShot licenses configured on their machines.
32
+ ### Requirements and compatibility
22
33
 
23
- This project does not include KeyShot, does not bypass licensing, and does not store license keys.
24
-
25
- ## What It Can Do
26
-
27
- - Check whether KeyShot headless can start.
28
- - Inspect a `.bip` or supported KeyShot scene file.
29
- - Render a scene to an image.
30
- - Batch render multiple named cameras from one scene.
31
- - Automatically discover and render every camera in one scene.
32
- - Import a model into a scene.
33
- - Apply a material to an object.
34
- - Create or update a camera.
35
- - Set an environment when the installed KeyShot version exposes that function.
36
- - Save a scene to a new file.
37
-
38
- ## Example Workflows
39
-
40
- - Batch render multiple camera views from one KeyShot scene.
41
- - Test several material options on the same product model.
42
- - Generate product hero images with consistent resolution and output naming.
43
- - Import a model, apply a material preset, set a camera, and render in one AI instruction.
44
-
45
- ## Workflow
46
-
47
- ![KeyShot MCP Workflow](assets/workflow.svg)
48
-
49
- ## Requirements
50
-
51
- - KeyShot Studio with `keyshot_headless` support.
52
34
  - Node.js 20 or newer.
53
- - A valid KeyShot license already configured on the computer.
54
-
55
- ## Compatibility
56
-
57
- | Platform | KeyShot Version | Node Version | Status |
58
- | --- | --- | --- | --- |
59
- | Windows 11 | KeyShot Studio 2025 / 14.1 | Node 22 | Tested |
60
- | macOS | Not tested | - | Need contributors |
61
- | Linux | Not tested | - | Need contributors |
35
+ - A locally installed and licensed KeyShot version with headless scripting.
36
+ - Windows 11 with KeyShot Studio 2025 / KeyShot 14.1 is tested.
37
+ - Other KeyShot versions may work when they expose the same official scripting
38
+ APIs, but they are not currently verified by this project.
39
+ - KeyShot and its license are not included.
62
40
 
63
- ## Install
64
-
65
- ### Install the published npm package
66
-
67
- ```bash
68
- npm install -g keyshot-mcp
69
- ```
70
-
71
- The current release line is `0.5.0`. The published package is the easiest option
72
- when you only want to use the MCP server. You still need KeyShot Studio and a
73
- local KeyShot license.
74
-
75
- ### Install from source
76
-
77
- ```bash
78
- npm install
79
- npm run build
80
- ```
41
+ ### Install
81
42
 
82
- ### Three MCP configuration options
43
+ The current release is `0.7.0`.
83
44
 
84
- Use exactly one of these approaches:
45
+ #### Option 1: run with npx
85
46
 
86
- **Global npm installation** (`npm install -g keyshot-mcp`):
47
+ This requires no global npm installation:
87
48
 
88
49
  ```json
89
- {"mcpServers":{"keyshot":{"command":"keyshot-mcp","env":{"KEYSHOT_HEADLESS_EXE":"/absolute/path/to/keyshot_headless"}}}}
90
- ```
91
-
92
- **No installation, run with npx**:
93
-
94
- ```json
95
- {"mcpServers":{"keyshot":{"command":"npx","args":["-y","keyshot-mcp@0.5.0"],"env":{"KEYSHOT_HEADLESS_EXE":"/absolute/path/to/keyshot_headless"}}}}
96
- ```
97
-
98
- **Run from a cloned source directory** (after `npm install && npm run build`):
99
-
100
- ```json
101
- {"mcpServers":{"keyshot":{"command":"node","args":["/absolute/path/to/keyshot-mcp/dist/index.js"],"env":{"KEYSHOT_HEADLESS_EXE":"/absolute/path/to/keyshot_headless"}}}}
102
- ```
103
-
104
- ## Copy-Paste Setup Prompt for an Agent
105
-
106
- If you use Codex or another coding agent, you can copy this prompt and let the agent install the MCP server for you:
107
-
108
- ```text
109
- Install KeyShot MCP 0.5.0 from npm and configure it in my MCP client.
110
-
111
- Please:
112
- 1. Find my KeyShot headless executable path.
113
- 2. Add a keyshot MCP server using npx -y keyshot-mcp@0.5.0.
114
- 3. Set KEYSHOT_HEADLESS_EXE to the detected keyshot_headless path.
115
- 4. Test the setup by running the keyshot_status tool.
116
- 5. Tell me the exact config that was added and whether the status check passed.
117
-
118
- Do not store license keys or account passwords. Use my existing local KeyShot license configuration.
119
- ```
120
-
121
- ## Configure
122
-
123
- Set the path to your KeyShot headless executable.
124
-
125
- Windows PowerShell example:
126
-
127
- ```powershell
128
- $env:KEYSHOT_HEADLESS_EXE="C:\Program Files\KeyShot Studio\bin\keyshot_headless.exe"
129
- ```
130
-
131
- macOS/Linux shell example:
132
-
133
- ```bash
134
- export KEYSHOT_HEADLESS_EXE="/Applications/KeyShot Studio.app/Contents/MacOS/keyshot_headless"
50
+ {
51
+ "mcpServers": {
52
+ "keyshot": {
53
+ "command": "npx",
54
+ "args": ["-y", "keyshot-mcp@0.7.0"],
55
+ "env": {
56
+ "KEYSHOT_HEADLESS_EXE": "C:/Program Files/KeyShot Studio/bin/keyshot_headless.exe"
57
+ }
58
+ }
59
+ }
60
+ }
135
61
  ```
136
62
 
137
- Then test startup:
63
+ #### Option 2: install globally
138
64
 
139
65
  ```bash
140
- npm run status
66
+ npm install -g keyshot-mcp@0.7.0
141
67
  ```
142
68
 
143
- ## MCP Client Example
144
-
145
- Add a server like this to your MCP client config:
146
-
147
69
  ```json
148
70
  {
149
71
  "mcpServers": {
150
72
  "keyshot": {
151
- "command": "node",
152
- "args": ["/absolute/path/to/keyshot-mcp/dist/index.js"],
73
+ "command": "keyshot-mcp",
153
74
  "env": {
154
- "KEYSHOT_HEADLESS_EXE": "/absolute/path/to/keyshot_headless"
75
+ "KEYSHOT_HEADLESS_EXE": "C:/Program Files/KeyShot Studio/bin/keyshot_headless.exe"
155
76
  }
156
77
  }
157
78
  }
158
79
  }
159
80
  ```
160
81
 
161
- A generic Codex configuration template is in:
82
+ #### Option 3: run from source
162
83
 
163
- ```text
164
- examples/codex.example.json
84
+ ```bash
85
+ git clone https://github.com/truman-t3/keyshot-mcp.git
86
+ cd keyshot-mcp
87
+ pnpm install
88
+ pnpm build
165
89
  ```
166
90
 
167
- ## Codex Configuration
168
-
169
- For Codex, add a `keyshot` MCP server entry to your Codex MCP configuration and point it to the built server file:
91
+ Configure the MCP client to run the absolute path to `dist/index.js`:
170
92
 
171
93
  ```json
172
94
  {
173
95
  "mcpServers": {
174
96
  "keyshot": {
175
97
  "command": "node",
176
- "args": ["/absolute/path/to/keyshot-mcp/dist/index.js"],
98
+ "args": ["C:/absolute/path/to/keyshot-mcp/dist/index.js"],
177
99
  "env": {
178
- "KEYSHOT_HEADLESS_EXE": "/absolute/path/to/keyshot_headless"
100
+ "KEYSHOT_HEADLESS_EXE": "C:/Program Files/KeyShot Studio/bin/keyshot_headless.exe"
179
101
  }
180
102
  }
181
103
  }
182
104
  }
183
105
  ```
184
106
 
185
- Use `examples/codex.example.json` as a starting point and replace all paths with paths on your own computer.
186
-
187
- ## Prompt Examples
107
+ Restart the MCP client after changing its configuration.
188
108
 
189
- ```text
190
- Render the current KeyShot scene into three views: front, 45-degree perspective, and top-down. Use 1920x1080 resolution and save the outputs to the configured output folder.
191
- ```
109
+ ### Agent installation prompt
192
110
 
193
- ```text
194
- Import the model file at /path/to/model.step, apply a brushed metal material to the main housing, set a 45-degree camera, and render a product hero image.
195
- ```
196
-
197
- ```text
198
- Inspect this KeyShot scene and summarize the available objects, cameras, materials, and renderable outputs.
199
- ```
111
+ The following prompt can be pasted into a coding agent that is allowed to edit
112
+ the MCP client configuration:
200
113
 
201
114
  ```text
202
- List the cameras in this KeyShot scene, create or update a camera named "Hero",
203
- save the scene to a new file, and render one preview from that camera.
204
- ```
115
+ Install KeyShot MCP 0.7.0 and configure it in my MCP client.
116
+
117
+ 1. Find the local KeyShot headless executable.
118
+ 2. Add an MCP server named "keyshot" that runs:
119
+ npx -y keyshot-mcp@0.7.0
120
+ 3. Set KEYSHOT_HEADLESS_EXE to the executable path.
121
+ 4. Keep KEYSHOT_ALLOW_EXTERNAL_OUTPUTS disabled.
122
+ 5. Restart or reload the MCP client, then call keyshot_status.
123
+ 6. Do not upload or publish any KeyShot scenes, models, renders, or license data.
124
+ ```
125
+
126
+ ### Configuration
127
+
128
+ | Variable | Default | Purpose |
129
+ | --- | --- | --- |
130
+ | `KEYSHOT_HEADLESS_EXE` | `keyshot_headless.exe` on Windows | Absolute executable path or a command available on `PATH`. |
131
+ | `KEYSHOT_OUTPUT_DIR` | Package-local `outputs` | Root directory for rendered images and saved scenes. |
132
+ | `KEYSHOT_ALLOW_EXTERNAL_OUTPUTS` | `false` | Allows output paths outside `KEYSHOT_OUTPUT_DIR` when explicitly set to `true`. |
133
+ | `KEYSHOT_TIMEOUT_MS` | `600000` | Timeout for one KeyShot headless process. |
134
+ | `KEYSHOT_LICENSE_ARGS` | empty | Optional additional KeyShot launch arguments. |
135
+ | `KEYSHOT_MATERIAL_PRESETS` | Built-in `presets/materials.json` | Path to a user-managed material preset file. |
136
+ | `KEYSHOT_CAMERA_PRESETS` | Built-in `presets/cameras.json` | Path to a user-managed camera preset file. |
137
+
138
+ Relative output paths are resolved inside `KEYSHOT_OUTPUT_DIR`. Parent traversal,
139
+ adjacent-prefix paths, and symbolic-link escapes are rejected by default. Input
140
+ scene, model, material, and environment paths may be located elsewhere.
141
+
142
+ ### Tools
143
+
144
+ | Tool | Purpose |
145
+ | --- | --- |
146
+ | `keyshot_status` | Verify that KeyShot headless can start and report its version. |
147
+ | `keyshot_inspect_scene` | Inspect objects, cameras, materials, model sets, and references. |
148
+ | `keyshot_list_cameras` | List available camera names. |
149
+ | `keyshot_render` | Render one image. |
150
+ | `keyshot_render_queue` | Run independent render jobs sequentially. |
151
+ | `keyshot_batch_render` | Render a supplied list of named cameras from one scene. |
152
+ | `keyshot_render_all_cameras` | Discover and render every camera in one scene. |
153
+ | `keyshot_import_model` | Import a model with optional composition adjustments. |
154
+ | `keyshot_apply_material` | Apply a library material or material file. |
155
+ | `keyshot_list_material_presets` | List local material presets. |
156
+ | `keyshot_apply_material_preset` | Apply a named material preset. |
157
+ | `keyshot_set_camera` | Create or update camera transform, distance, FOV, or focal length. |
158
+ | `keyshot_list_camera_presets` | List standard and custom camera presets. |
159
+ | `keyshot_apply_camera_preset` | Apply a standard or absolute-coordinate camera preset. |
160
+ | `keyshot_set_environment` | Select or adjust an environment, brightness, or rotation. |
161
+ | `keyshot_save_scene` | Save a scene to a new output path. |
162
+
163
+ The server also exposes a `keyshot_product_render` MCP prompt and a
164
+ `keyshot://workflow` resource.
165
+
166
+ ### Product composition examples
167
+
168
+ Import a model and prepare its initial composition:
205
169
 
206
170
  ```text
207
- Find every camera in this KeyShot scene and render all views to the all-cameras
208
- output folder. Continue if one camera fails and report the result for each view.
171
+ Import C:\models\speaker.obj into KeyShot. Center the geometry, place it on the
172
+ ground, update the camera look-at point and environment, then save the scene as
173
+ speaker-prepared.bip.
209
174
  ```
210
175
 
211
- ## Environment Variables
212
-
213
- - `KEYSHOT_HEADLESS_EXE`: path to `keyshot_headless` or `keyshot_headless.exe`.
214
- - `KEYSHOT_OUTPUT_DIR`: default output folder for renders.
215
- - `KEYSHOT_LICENSE_ARGS`: optional KeyShot headless license arguments. Empty by default.
216
- - `KEYSHOT_TIMEOUT_MS`: operation timeout in milliseconds. Default: `600000`.
217
- - `KEYSHOT_ALLOW_EXTERNAL_OUTPUTS`: allow output paths outside `KEYSHOT_OUTPUT_DIR`. Default: `false`.
218
-
219
- By default every output file must stay inside `KEYSHOT_OUTPUT_DIR`. Relative paths
220
- are placed there automatically. Set the compatibility switch to `true` only when
221
- an external output location is intentional; input scenes and models are unrestricted.
222
-
223
- `samples` and `maxTimeSeconds` select different KeyShot render modes. Provide one
224
- or the other, not both.
225
-
226
- ## MCP Tools
227
-
228
- - `keyshot_status`
229
- - `keyshot_inspect_scene`
230
- - `keyshot_list_cameras`: list available camera names in a scene (handy before batch rendering)
231
- - `keyshot_render`: render a single image
232
- - `keyshot_batch_render`
233
- - `keyshot_render_all_cameras`: discover and render every camera in a scene; continues after individual failures by default
234
- - `keyshot_render_queue`: run several render jobs sequentially (stops at first failure unless `continueOnError`)
235
- - `keyshot_import_model`
236
- - `keyshot_apply_material`
237
- - `keyshot_list_material_presets`: list presets from the material preset library
238
- - `keyshot_apply_material_preset`: apply a named preset from the library to an object
239
- - `keyshot_set_camera`
240
- - `keyshot_set_environment`
241
- - `keyshot_save_scene`
242
-
243
- ### Render every camera automatically
244
-
245
- `keyshot_render_all_cameras` discovers camera names from the open scene and renders
246
- them in one KeyShot headless session. `continueOnError` defaults to `true`, so a
247
- failed camera is reported without blocking the remaining views. Safe duplicate
248
- filenames receive `-2`, `-3`, and later suffixes. Existing files are preserved
249
- unless `overwrite` is set to `true`. KeyShot's internal, non-activatable
250
- `last_active` placeholder is reported and skipped.
251
-
252
- ### Material preset library
253
-
254
- `keyshot_apply_material_preset` reads a small JSON registry so you can reuse named
255
- looks instead of remembering exact KeyShot material names. Default location:
256
- `presets/materials.json` (override with the `KEYSHOT_MATERIAL_PRESETS` env var).
176
+ The corresponding `keyshot_import_model` options are:
257
177
 
258
178
  ```json
259
179
  {
260
- "Brushed Steel": { "materialName": "Steel Brushed", "description": "metal parts" },
261
- "Clear Glass": { "materialPath": "C:/materials/glass_clear.mtl" }
180
+ "centerGeometry": true,
181
+ "snapToGround": true,
182
+ "adjustCameraLookAt": true,
183
+ "adjustEnvironment": true
262
184
  }
263
185
  ```
264
186
 
265
- Each preset must have a `materialName` or a `materialPath`. Use
266
- `keyshot_list_material_presets` to see what is available.
187
+ Create a product camera with one lens control:
267
188
 
268
- ## MCP Prompts and Resources
189
+ ```text
190
+ Set the Product Hero camera to a 55 mm focal length and distance 6, save a new
191
+ scene, then render a PNG preview.
192
+ ```
269
193
 
270
- - Prompt: `keyshot_product_render`
271
- - Resource: `keyshot://workflow`
194
+ `fieldOfView` must be greater than `0` and less than `180`. `focalLength` accepts
195
+ `5` to `200` mm. The two controls are mutually exclusive. `position` and
196
+ `lookAt` are optional, but must be supplied together when changing the transform.
272
197
 
273
- Each tool returns JSON with:
198
+ Rotate the active HDRI or environment:
274
199
 
275
- - `ok`
276
- - `data`
277
- - `outputFiles`
278
- - `warnings`
279
- - `keyshotStdoutTail`
280
- - `error`
200
+ ```text
201
+ Rotate the current KeyShot environment to 45 degrees, save the edited scene,
202
+ and render all cameras.
203
+ ```
281
204
 
282
- ## Notes
205
+ `rotation` accepts values from `0` inclusive to `360` exclusive.
283
206
 
284
- KeyShot's Python `lux` API changes across versions. This server keeps the MCP interface stable and returns a clear error when an installed KeyShot version does not expose a requested headless function.
207
+ For rendering, `samples` and `maxTimeSeconds` select different KeyShot render
208
+ modes and cannot be supplied together.
285
209
 
286
- ## Roadmap
210
+ ### Camera and material presets
287
211
 
288
- - [x] Auto-discover and batch render all cameras in a scene
289
- - [x] Material preset library
290
- - [ ] Camera preset templates
291
- - [x] Sequential render queue
292
- - [x] Safer output directory restrictions
293
- - [ ] More tested KeyShot versions
294
- - [ ] macOS compatibility verification
295
- - [x] Claude Desktop / Cursor / Codex config examples
212
+ The built-in camera library includes Front, Back, Left, Right, Top, Bottom, and
213
+ Isometric views. A custom `KEYSHOT_CAMERA_PRESETS` JSON file may contain standard
214
+ views or absolute `position`, `lookAt`, and optional `up` vectors.
296
215
 
297
- ## Real KeyShot demo
216
+ Material presets are stored in JSON and reference KeyShot library material names
217
+ or local material files. The MCP server reads preset files but does not modify
218
+ them.
298
219
 
299
- ![KeyShot MCP generated cube demo](assets/demo/keyshot-mcp-demo.png)
220
+ ### Reproducible KeyShot smoke test
300
221
 
301
- The demo uses only the generated geometry in `examples/demo`. To reproduce the
302
- status, import, inspect, two-camera creation, save, discovery, and PNG-render workflow locally:
222
+ The repository includes a smoke test built from generated cube geometry in
223
+ `examples/demo`. It verifies startup, import composition, scene inspection,
224
+ camera presets, focal length, field of view, camera distance, environment
225
+ rotation, scene saving, camera discovery, and real PNG rendering:
303
226
 
304
227
  ```bash
305
228
  npm run smoke:keyshot
306
229
  ```
307
230
 
308
- ## License
309
-
310
- MIT
311
-
312
- ---
313
-
314
- # 中文说明
315
-
316
- [English](#keyshot-mcp) | 中文
317
-
318
- 这是一个本地 KeyShot MCP 服务,可以让支持 MCP 的 AI 工具通过 KeyShot 的无界面脚本能力控制 KeyShot Studio。
319
-
320
- 简单说:你可以让 AI 帮你检查 KeyShot 场景、渲染图片、导入模型、替换材质、调整相机、设置环境并保存场景。
321
-
322
- 本项目优先面向 Windows 环境下的 KeyShot Studio 产品渲染自动化流程。
323
-
324
- 与仅面向界面操作的自动化脚本不同,本项目优先面向 KeyShot 无界面工作流,并为 AI Agent 提供稳定的 MCP 工具接口。
325
-
326
- ## 适合谁使用
327
-
328
- - 希望用 AI 辅助 KeyShot 渲染的设计师。
329
- - 想要 KeyShot MCP 桥接工具的开发者。
330
- - 已经在电脑上配置好 KeyShot 授权的团队。
331
-
332
- 这个项目不包含 KeyShot,不绕过 KeyShot 授权,也不会保存许可证密钥。
333
-
334
- ## 能做什么
335
-
336
- - 检查 KeyShot 无界面程序是否能启动。
337
- - 检查 `.bip` 或 KeyShot 支持的场景文件。
338
- - 把场景渲染成图片。
339
- - 从同一个场景批量渲染多个指定相机。
340
- - 自动发现并渲染场景中的全部相机。
341
- - 把模型导入场景。
342
- - 给对象替换材质。
343
- - 创建或更新相机。
344
- - 在当前 KeyShot 版本支持时设置环境。
345
- - 把场景保存为新文件。
346
-
347
- ## 典型使用场景
348
-
349
- - 批量渲染同一个 KeyShot 场景的多个相机视角。
350
- - 对同一个产品模型快速测试多组材质方案。
351
- - 统一输出产品首图、封面图、详情页渲染图。
352
- - 用一句自然语言完成导入模型、替换材质、设置相机、渲染出图。
353
-
354
- ## 工作流程
355
-
356
- ![KeyShot MCP Workflow](assets/workflow.svg)
357
-
358
- ## 使用要求
359
-
360
- - 已安装支持 `keyshot_headless` 的 KeyShot Studio。
361
- - Node.js 20 或更新版本。
362
- - 电脑上已经配置好有效的 KeyShot 授权。
363
-
364
- ## 版本兼容表
365
-
366
- | 平台 | KeyShot 版本 | Node 版本 | 状态 |
367
- | --- | --- | --- | --- |
368
- | Windows 11 | KeyShot Studio 2025 / 14.1 | Node 22 | 已测试 |
369
- | macOS | 未测试 | - | 需要贡献者 |
370
- | Linux | 未测试 | - | 需要贡献者 |
231
+ Generated `.bip` files and test renders remain in the configured local output
232
+ directory. The repository includes one representative result:
371
233
 
372
- ## 安装
234
+ ![KeyShot smoke test render](assets/demo/keyshot-mcp-demo.png)
373
235
 
374
- ### 安装已发布的 npm
236
+ ### Development and tests
375
237
 
376
238
  ```bash
377
- npm install -g keyshot-mcp
239
+ pnpm install
240
+ pnpm check
241
+ pnpm test
242
+ python -m unittest discover -s tests -p "test_*.py"
243
+ npm pack --dry-run
378
244
  ```
379
245
 
380
- 当前发布版本为 `0.5.0`。如果你只是想使用 MCP 服务,直接安装 npm 包最简单。
381
- 电脑仍需要安装 KeyShot Studio,并且已经配置好本地 KeyShot 授权。
246
+ CI runs on Windows and Ubuntu with Node.js 20 and 24. Linux CI validates the MCP
247
+ server, bridge logic, and package; it does not claim that KeyShot itself runs on
248
+ Linux.
382
249
 
383
- ### 从源码安装
250
+ ### Roadmap
384
251
 
385
- ```bash
386
- npm install
387
- npm run build
388
- ```
252
+ - Verify additional KeyShot releases on real installations.
253
+ - Verify macOS installation and headless behavior.
254
+ - Add depth-of-field and additional lens controls when stable headless APIs are
255
+ available.
389
256
 
390
- ### 三种独立配置方式
257
+ ### Star history
391
258
 
392
- 下面三种方式选择一种即可:
259
+ <picture>
260
+ <source media="(prefers-color-scheme: dark)" srcset="assets/star-history-dark.svg">
261
+ <source media="(prefers-color-scheme: light)" srcset="assets/star-history-light.svg">
262
+ <img alt="GitHub star history for truman-t3/keyshot-mcp" src="assets/star-history-light.svg">
263
+ </picture>
393
264
 
394
- **全局 npm 安装**(先运行 `npm install -g keyshot-mcp`):
265
+ The chart uses the actual `starred_at` date for each GitHub star and displays a
266
+ cumulative step line. A weekly GitHub Action updates it only when detailed
267
+ stargazer dates are available.
395
268
 
396
- ```json
397
- {"mcpServers":{"keyshot":{"command":"keyshot-mcp","env":{"KEYSHOT_HEADLESS_EXE":"C:/KeyShot/bin/keyshot_headless.exe"}}}}
398
- ```
269
+ ### License and security
399
270
 
400
- **免安装,直接使用 npx**:
271
+ Released under the [MIT License](LICENSE). See [SECURITY.md](SECURITY.md) for
272
+ security guidance and [CONTRIBUTING.md](CONTRIBUTING.md) for development notes.
273
+ Do not commit KeyShot licenses, private scenes, customer assets, or unpublished
274
+ renders.
401
275
 
402
- ```json
403
- {"mcpServers":{"keyshot":{"command":"npx","args":["-y","keyshot-mcp@0.5.0"],"env":{"KEYSHOT_HEADLESS_EXE":"C:/KeyShot/bin/keyshot_headless.exe"}}}}
404
- ```
405
-
406
- **使用本地源码**(先运行 `npm install && npm run build`):
407
-
408
- ```json
409
- {"mcpServers":{"keyshot":{"command":"node","args":["C:/path/to/keyshot-mcp/dist/index.js"],"env":{"KEYSHOT_HEADLESS_EXE":"C:/KeyShot/bin/keyshot_headless.exe"}}}}
410
- ```
276
+ ---
411
277
 
412
- ## 复制给 Agent 的安装提示词
278
+ ## 中文
413
279
 
414
- 如果你使用 Codex 或其他编程 Agent,可以复制下面这段话,让 Agent 帮你安装和配置 MCP:
280
+ KeyShot MCP 是一个本地运行的
281
+ [Model Context Protocol](https://modelcontextprotocol.io/) 服务,通过 KeyShot
282
+ headless 脚本让兼容 MCP 的 AI Agent 检查、编辑和渲染 KeyShot 场景。场景、模型、
283
+ 许可证和渲染文件均保留在本机。
415
284
 
416
- ```text
417
- 请帮我安装 KeyShot MCP 0.5.0,并添加到我的 MCP 客户端。
285
+ ### 主要功能
418
286
 
419
- 请你:
420
- 1. 查找我电脑上的 KeyShot headless 可执行文件路径。
421
- 2. 使用 npx -y keyshot-mcp@0.5.0 添加 keyshot MCP server。
422
- 3. 把 KEYSHOT_HEADLESS_EXE 设置为检测到的 keyshot_headless 路径。
423
- 4. 用 keyshot_status 工具测试是否配置成功。
424
- 5. 最后告诉我实际添加的配置,以及状态检查是否通过。
287
+ - 检查场景对象、材质、相机、模型集和外部引用。
288
+ - 导入模型,并可选择自动居中、贴地、调整相机观察点和环境。
289
+ - 渲染单个相机、指定相机、场景中的全部相机或顺序渲染队列。
290
+ - 通过位置、观察点、距离、视野角、焦距或预设创建和更新相机。
291
+ - 直接应用材质,或使用本地材质预设库。
292
+ - 选择环境、调整亮度并旋转当前环境。
293
+ - 将修改后的场景保存到受控输出目录。
425
294
 
426
- 不要保存许可证密钥、账号密码或授权信息。直接使用我电脑上已有的 KeyShot 本地授权配置。
427
- ```
295
+ ### 运行要求与兼容性
428
296
 
429
- ## 配置
297
+ - Node.js 20 或更高版本。
298
+ - 本机已安装并获得许可、且支持 headless 脚本的 KeyShot。
299
+ - 已实测:Windows 11、KeyShot Studio 2025 / KeyShot 14.1。
300
+ - 其他 KeyShot 版本在提供相同官方脚本 API 时可能兼容,但本项目尚未完成实机验证。
301
+ - 本项目不包含 KeyShot 软件或许可证。
430
302
 
431
- 需要告诉 MCP 服务 KeyShot 无界面程序在哪里。
303
+ ### 安装
432
304
 
433
- Windows PowerShell 示例:
305
+ 当前版本为 `0.7.0`。
434
306
 
435
- ```powershell
436
- $env:KEYSHOT_HEADLESS_EXE="C:\Program Files\KeyShot Studio\bin\keyshot_headless.exe"
437
- ```
307
+ #### 方式一:使用 npx
438
308
 
439
- macOS/Linux 示例:
309
+ 无需全局安装 npm 包:
440
310
 
441
- ```bash
442
- export KEYSHOT_HEADLESS_EXE="/Applications/KeyShot Studio.app/Contents/MacOS/keyshot_headless"
311
+ ```json
312
+ {
313
+ "mcpServers": {
314
+ "keyshot": {
315
+ "command": "npx",
316
+ "args": ["-y", "keyshot-mcp@0.7.0"],
317
+ "env": {
318
+ "KEYSHOT_HEADLESS_EXE": "C:/Program Files/KeyShot Studio/bin/keyshot_headless.exe"
319
+ }
320
+ }
321
+ }
322
+ }
443
323
  ```
444
324
 
445
- 然后测试能否启动:
325
+ #### 方式二:全局安装
446
326
 
447
327
  ```bash
448
- npm run status
328
+ npm install -g keyshot-mcp@0.7.0
449
329
  ```
450
330
 
451
- ## MCP 客户端配置示例
452
-
453
- 把类似下面的配置加到你的 MCP 客户端里:
454
-
455
331
  ```json
456
332
  {
457
333
  "mcpServers": {
458
334
  "keyshot": {
459
- "command": "node",
460
- "args": ["/absolute/path/to/keyshot-mcp/dist/index.js"],
335
+ "command": "keyshot-mcp",
461
336
  "env": {
462
- "KEYSHOT_HEADLESS_EXE": "/absolute/path/to/keyshot_headless"
337
+ "KEYSHOT_HEADLESS_EXE": "C:/Program Files/KeyShot Studio/bin/keyshot_headless.exe"
463
338
  }
464
339
  }
465
340
  }
466
341
  }
467
342
  ```
468
343
 
469
- 通用 Codex 配置模板在:
344
+ #### 方式三:从源码运行
470
345
 
471
- ```text
472
- examples/codex.example.json
346
+ ```bash
347
+ git clone https://github.com/truman-t3/keyshot-mcp.git
348
+ cd keyshot-mcp
349
+ pnpm install
350
+ pnpm build
473
351
  ```
474
352
 
475
- ## Codex 配置
476
-
477
- 如果你使用 Codex,请在 Codex 的 MCP 配置里添加一个 `keyshot` 服务,并指向构建后的服务文件:
353
+ MCP 客户端配置为运行 `dist/index.js` 的绝对路径:
478
354
 
479
355
  ```json
480
356
  {
481
357
  "mcpServers": {
482
358
  "keyshot": {
483
359
  "command": "node",
484
- "args": ["/absolute/path/to/keyshot-mcp/dist/index.js"],
360
+ "args": ["C:/absolute/path/to/keyshot-mcp/dist/index.js"],
485
361
  "env": {
486
- "KEYSHOT_HEADLESS_EXE": "/absolute/path/to/keyshot_headless"
362
+ "KEYSHOT_HEADLESS_EXE": "C:/Program Files/KeyShot Studio/bin/keyshot_headless.exe"
487
363
  }
488
364
  }
489
365
  }
490
366
  }
491
367
  ```
492
368
 
493
- `examples/codex.example.json` 是通用配置模板。使用时请把里面的路径换成自己电脑上的路径。
369
+ 修改配置后请重启或重新加载 MCP 客户端。
494
370
 
495
- ## 提示词示例
496
-
497
- ```text
498
- 把当前 KeyShot 场景渲染成三个视角:正视图、45 度透视图和俯视图。分辨率为 1920x1080,并保存到默认输出文件夹。
499
- ```
500
-
501
- ```text
502
- 导入 /path/to/model.step,给主体外壳应用拉丝金属材质,设置 45 度相机,并渲染一张产品主视觉图。
503
- ```
371
+ ### 复制给 Agent 的安装提示词
504
372
 
505
- ```text
506
- 检查当前 KeyShot 场景,并总结场景中的对象、相机、材质和可渲染输出。
507
- ```
373
+ 下面的提示词适用于有权限修改 MCP 客户端配置的编程 Agent:
508
374
 
509
375
  ```text
510
- 列出当前 KeyShot 场景中的相机,创建或更新一个名为“Hero”的相机,
511
- 把场景保存为新文件,并用这个相机渲染一张预览图。
512
- ```
376
+ 请帮我安装 KeyShot MCP 0.7.0,并添加到我的 MCP 客户端。
377
+
378
+ 1. 查找本机 KeyShot headless 可执行文件。
379
+ 2. 添加名为 keyshot 的 MCP server,运行:
380
+ npx -y keyshot-mcp@0.7.0
381
+ 3. 将 KEYSHOT_HEADLESS_EXE 设置为可执行文件路径。
382
+ 4. 保持 KEYSHOT_ALLOW_EXTERNAL_OUTPUTS 关闭。
383
+ 5. 重启或重新加载 MCP 客户端,然后调用 keyshot_status。
384
+ 6. 不要上传或发布任何 KeyShot 场景、模型、渲染图或许可证数据。
385
+ ```
386
+
387
+ ### 配置项
388
+
389
+ | 环境变量 | 默认值 | 用途 |
390
+ | --- | --- | --- |
391
+ | `KEYSHOT_HEADLESS_EXE` | Windows 上为 `keyshot_headless.exe` | KeyShot headless 绝对路径,或系统 `PATH` 中的命令。 |
392
+ | `KEYSHOT_OUTPUT_DIR` | 包内 `outputs` | 渲染图和已保存场景的根目录。 |
393
+ | `KEYSHOT_ALLOW_EXTERNAL_OUTPUTS` | `false` | 明确设为 `true` 时允许写入输出根目录之外。 |
394
+ | `KEYSHOT_TIMEOUT_MS` | `600000` | 单个 KeyShot headless 进程的超时时间。 |
395
+ | `KEYSHOT_LICENSE_ARGS` | 空 | 可选的 KeyShot 启动参数。 |
396
+ | `KEYSHOT_MATERIAL_PRESETS` | 内置 `presets/materials.json` | 自定义材质预设 JSON 路径。 |
397
+ | `KEYSHOT_CAMERA_PRESETS` | 内置 `presets/cameras.json` | 自定义相机预设 JSON 路径。 |
398
+
399
+ 相对输出路径会自动放入 `KEYSHOT_OUTPUT_DIR`。默认拒绝 `..`、相邻同名前缀目录和
400
+ 软链接逃逸。输入场景、模型、材质和环境文件可位于其他目录。
401
+
402
+ ### MCP 工具
403
+
404
+ | 工具 | 用途 |
405
+ | --- | --- |
406
+ | `keyshot_status` | 检查 KeyShot headless 是否可启动并读取版本。 |
407
+ | `keyshot_inspect_scene` | 检查对象、相机、材质、模型集和外部引用。 |
408
+ | `keyshot_list_cameras` | 列出场景中的相机名称。 |
409
+ | `keyshot_render` | 渲染一张图片。 |
410
+ | `keyshot_render_queue` | 顺序执行多个独立渲染任务。 |
411
+ | `keyshot_batch_render` | 渲染用户指定的一组相机。 |
412
+ | `keyshot_render_all_cameras` | 自动发现并渲染场景中的全部相机。 |
413
+ | `keyshot_import_model` | 导入模型并可选择自动构图。 |
414
+ | `keyshot_apply_material` | 应用材质库名称或材质文件。 |
415
+ | `keyshot_list_material_presets` | 列出本地材质预设。 |
416
+ | `keyshot_apply_material_preset` | 应用指定材质预设。 |
417
+ | `keyshot_set_camera` | 创建或更新相机变换、距离、视野角或焦距。 |
418
+ | `keyshot_list_camera_presets` | 列出标准和自定义相机预设。 |
419
+ | `keyshot_apply_camera_preset` | 应用标准视角或绝对坐标相机预设。 |
420
+ | `keyshot_set_environment` | 选择环境并调整亮度或旋转角度。 |
421
+ | `keyshot_save_scene` | 将场景保存到新的输出路径。 |
422
+
423
+ 服务还提供 `keyshot_product_render` MCP 提示词和 `keyshot://workflow` 资源。
424
+
425
+ ### 产品构图示例
426
+
427
+ 导入模型并完成初始构图:
513
428
 
514
429
  ```text
515
- 自动找出这个 KeyShot 场景里的全部相机,把所有视角渲染到 all-cameras 文件夹。
516
- 某个相机失败时继续处理其他相机,最后告诉我每个视角的结果。
430
+ C:\models\speaker.obj 导入 KeyShot,自动居中、贴地、调整相机观察点和环境,
431
+ 然后保存为 speaker-prepared.bip。
517
432
  ```
518
433
 
519
- ## 环境变量
520
-
521
- - `KEYSHOT_HEADLESS_EXE`:`keyshot_headless` 或 `keyshot_headless.exe` 的路径。
522
- - `KEYSHOT_OUTPUT_DIR`:默认渲染输出文件夹。
523
- - `KEYSHOT_LICENSE_ARGS`:可选的 KeyShot 无界面许可证参数,默认留空。
524
- - `KEYSHOT_TIMEOUT_MS`:单次操作超时时间,单位毫秒,默认 `600000`。
525
- - `KEYSHOT_MATERIAL_PRESETS`:材质预设库 JSON 文件路径,默认 `presets/materials.json`。
526
- - `KEYSHOT_ALLOW_EXTERNAL_OUTPUTS`:是否允许写到默认输出目录之外,默认 `false`。
527
-
528
- 默认情况下,所有输出图片和场景都必须写入 `KEYSHOT_OUTPUT_DIR`,相对路径会自动放入该目录。
529
- 只有确实需要写到外部目录时才设置为 `true`;输入场景和模型路径不受此限制。
530
-
531
- `samples` 和 `maxTimeSeconds` 是两种不同的 KeyShot 渲染模式,请二选一,不要同时传入。
532
-
533
- ## MCP 工具
534
-
535
- - `keyshot_status`:检查 KeyShot 是否能启动。
536
- - `keyshot_inspect_scene`:检查场景内容。
537
- - `keyshot_list_cameras`:列出场景中所有相机名称(批量渲染前很有用)。
538
- - `keyshot_render`:渲染单张图片。
539
- - `keyshot_batch_render`:批量渲染多个相机视角。
540
- - `keyshot_render_all_cameras`:自动发现并渲染场景中的全部相机,默认单个视角失败后继续。
541
- - `keyshot_render_queue`:顺序执行多个渲染任务(默认遇错即停,设置 `continueOnError` 可继续)。
542
- - `keyshot_import_model`:导入模型。
543
- - `keyshot_apply_material`:替换材质。
544
- - `keyshot_list_material_presets`:列出材质预设库中的预设。
545
- - `keyshot_apply_material_preset`:把预设库中的某个命名材质应用到物体上。
546
- - `keyshot_set_camera`:设置相机。
547
- - `keyshot_set_environment`:设置环境。
548
- - `keyshot_save_scene`:保存场景。
549
-
550
- ### 自动渲染全部相机
551
-
552
- `keyshot_render_all_cameras` 会在同一次 KeyShot 无界面运行中自动读取场景相机并逐个渲染。
553
- `continueOnError` 默认是 `true`,因此单个相机失败不会阻止其他视角;同名安全文件会自动添加
554
- `-2`、`-3` 等编号。除非设置 `overwrite: true`,否则不会覆盖已有图片。KeyShot 内部不能激活的
555
- `last_active` 占位项会被列出并跳过。
556
-
557
- ### 材质预设库
558
-
559
- `keyshot_apply_material_preset` 会读取一个小的 JSON 注册表,让你用"好记的名字"复用材质,
560
- 而不必记住 KeyShot 里精确的材质名。默认位置:`presets/materials.json`
561
- (可用环境变量 `KEYSHOT_MATERIAL_PRESETS` 覆盖)。
434
+ 对应的 `keyshot_import_model` 参数:
562
435
 
563
436
  ```json
564
437
  {
565
- "拉丝钢": { "materialName": "Steel Brushed", "description": "金属件默认材质" },
566
- "透明玻璃": { "materialPath": "C:/materials/glass_clear.mtl" }
438
+ "centerGeometry": true,
439
+ "snapToGround": true,
440
+ "adjustCameraLookAt": true,
441
+ "adjustEnvironment": true
567
442
  }
568
443
  ```
569
444
 
570
- 每个预设必须包含 `materialName` 或 `materialPath`。用 `keyshot_list_material_presets` 查看有哪些预设。
445
+ 设置产品相机:
571
446
 
572
- ## MCP 提示词和资源
447
+ ```text
448
+ 把 Product Hero 相机设为 55 mm 焦距、距离 6,保存新场景并渲染 PNG 预览图。
449
+ ```
573
450
 
574
- - 提示词:`keyshot_product_render`
575
- - 资源:`keyshot://workflow`
451
+ `fieldOfView` 必须大于 `0` 且小于 `180`;`focalLength` 支持 `5–200 mm`,
452
+ 两者不能同时使用。`position` `lookAt` 可不填写,但修改相机位置时必须成对提供。
576
453
 
577
- 每个工具都会返回 JSON,包含:
454
+ 旋转当前 HDRI 或环境:
578
455
 
579
- - `ok`:是否成功。
580
- - `data`:主要结果。
581
- - `outputFiles`:生成的文件。
582
- - `warnings`:警告信息。
583
- - `keyshotStdoutTail`:KeyShot 输出摘要。
584
- - `error`:错误信息。
456
+ ```text
457
+ 把当前 KeyShot 环境旋转到 45 度,保存场景,然后渲染全部相机。
458
+ ```
585
459
 
586
- ## 说明
460
+ `rotation` 支持大于等于 `0` 且小于 `360` 的数值。
587
461
 
588
- KeyShot Python `lux` API 会随版本变化。这个 MCP 会尽量保持对外工具名称稳定;如果当前 KeyShot 版本不支持某个无界面功能,会返回明确错误,而不是假装成功。
462
+ 渲染参数 `samples` `maxTimeSeconds` 对应不同的 KeyShot 渲染模式,不能同时使用。
589
463
 
590
- ## 路线图
464
+ ### 相机与材质预设
591
465
 
592
- - [x] 自动发现并批量渲染场景中的所有相机
593
- - [x] 材质预设库
594
- - [ ] 相机预设模板
595
- - [x] 顺序渲染队列
596
- - [x] 更安全的输出目录限制
597
- - [ ] 测试更多 KeyShot 版本
598
- - [ ] 验证 macOS 兼容性
599
- - [x] 补充 Claude Desktop / Cursor / Codex 配置示例
466
+ 内置相机库包含 Front、Back、Left、Right、Top、Bottom 和 Isometric 七个标准视角。
467
+ 自定义 `KEYSHOT_CAMERA_PRESETS` JSON 可使用标准视角,也可提供绝对 `position`、
468
+ `lookAt` 和可选 `up` 向量。
600
469
 
601
- ## 真实 KeyShot Demo
470
+ 材质预设通过 JSON 引用 KeyShot 材质库名称或本地材质文件。MCP 只读取预设文件,
471
+ 不会自动修改它们。
602
472
 
603
- ![KeyShot MCP 自动生成的立方体 Demo](assets/demo/keyshot-mcp-demo.png)
473
+ ### 可复现的 KeyShot smoke test
604
474
 
605
- Demo 只使用 `examples/demo` 中项目自己生成的几何体,不包含客户模型或第三方素材。
606
- 设置好 `KEYSHOT_HEADLESS_EXE` 后可复现状态检查、导入、检查场景、创建两个相机、自动发现、保存和真实 PNG 渲染:
475
+ 仓库提供基于 `examples/demo` 生成立方体几何体的 smoke test,用于验证 KeyShot
476
+ 启动、导入构图、场景检查、相机预设、焦距、视野角、相机距离、环境旋转、场景保存、
477
+ 相机发现和真实 PNG 渲染:
607
478
 
608
479
  ```bash
609
480
  npm run smoke:keyshot
610
481
  ```
611
482
 
612
- ## 测试
483
+ 生成的 `.bip` 和测试渲染图只保留在配置的本地输出目录。仓库中包含一张代表性结果:
613
484
 
614
- 项目带了两套测试,不依赖真实的 KeyShot 也能跑:
485
+ ![KeyShot smoke test 渲染图](assets/demo/keyshot-mcp-demo.png)
615
486
 
616
- - **TypeScript 测试(Vitest)**:覆盖配置读取、参数校验(schemas)、结果封装,以及用"假 KeyShot"跑通一次成功路径并验证 `work/tmp` 临时文件会被清理。
487
+ ### 开发与测试
617
488
 
618
- ```bash
619
- npm install
620
- npm test
621
- ```
489
+ ```bash
490
+ pnpm install
491
+ pnpm check
492
+ pnpm test
493
+ python -m unittest discover -s tests -p "test_*.py"
494
+ npm pack --dry-run
495
+ ```
622
496
 
623
- - **Python bridge 测试(unittest)**:用假的 `lux` 对象验证 `import_model` 会真正打开基础场景、`set_camera` 在拿不到相机对象时不会崩溃并回退到 `lux` API。
497
+ CI Windows Ubuntu 上使用 Node.js 20、24 运行。Linux CI 验证 MCP 服务、
498
+ 桥接逻辑和 npm 包,不代表 KeyShot 软件已在 Linux 上通过实机测试。
624
499
 
625
- ```bash
626
- python tests/test_bridge.py
627
- ```
500
+ ### 路线图
628
501
 
629
- ## 开源协议
502
+ - 在更多 KeyShot 正式版本上完成实机验证。
503
+ - 验证 macOS 安装和 headless 行为。
504
+ - 在 headless API 稳定支持后增加景深和更多镜头控制。
630
505
 
631
- MIT
506
+ ### 星标趋势
632
507
 
633
- ## Star History / 星标趋势
508
+ <picture>
509
+ <source media="(prefers-color-scheme: dark)" srcset="assets/star-history-dark.svg">
510
+ <source media="(prefers-color-scheme: light)" srcset="assets/star-history-light.svg">
511
+ <img alt="truman-t3/keyshot-mcp 的 GitHub 星标趋势" src="assets/star-history-light.svg">
512
+ </picture>
634
513
 
635
- ![Star History Chart](assets/star-history.svg)
514
+ 趋势图使用每颗 GitHub Star 的真实 `starred_at` 日期绘制累计阶梯线。GitHub Actions
515
+ 每周检查一次,并且只在能够取得逐星日期时更新。
636
516
 
637
- This chart is generated from GitHub stargazer data and refreshed by GitHub Actions.
517
+ ### 许可证与安全
638
518
 
639
- 这张图由 GitHub star 数据生成,并通过 GitHub Actions 定时刷新。
519
+ 项目采用 [MIT License](LICENSE)。安全说明见 [SECURITY.md](SECURITY.md),开发说明
520
+ 见 [CONTRIBUTING.md](CONTRIBUTING.md)。请勿提交 KeyShot 许可证、私有场景、客户素材
521
+ 或未公开渲染图。