439436269-ctrl/dsh-stl-preview ↗★ 0
dsh-stl-preview
Preview STL meshes inside DeepSeek Harness: the right-Sidebar document preview renders the triangles in a dependency-free WebGL viewport and reports size, volume, surface area and watertightness. 适合需要快速查看STL模型、分析尺寸、体积及水密性的3D打印用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:439436269-ctrl/dsh-stl-previewConfiguration
Settings → Plugins → STL preview (namespace stl-preview):
| Key | Default | Meaning |
|---|---|---|
enabled | true | Register the renderer and the byte route. |
routePath | /api/stl-preview | Authenticated mesh route. Must stay under /api; otherwise it falls back to the default. |
extensions | ["stl"] | Suffixes that open in the 3D preview. |
maxBytes | 536870912 | Largest STL streamed (512 MiB). |
chunkBytes | 1048576 | Bytes per ranged read on the host. |
unitScale | 1 | Millimetres per STL unit; drives size, volume and area. |
color | #c7d2e2 | Viewport colour (STL carries no materials). |
analysisMaxTriangles | 400000 | Above this, skip the watertightness pass instead of freezing the tab. |