439436269-ctrl/dsh-preview-stl ↗★ 0
dsh-preview-stl
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-preview-stlドキュメント
README 全文を読む ↗Configuration
Settings → Plugins → STL preview (namespace preview-stl):
| Key | Default | Meaning |
|---|---|---|
enabled | true | Register the renderer and the byte route. |
routePath | /api/preview/stl | 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. |