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模型并查看体积、表面积等物理属性的用户。

パッケージ
dsh-preview-stl
互換性
未検証
Cordis ピア範囲
^4.0.1
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/10/23

インストール

$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):

KeyDefaultMeaning
enabledtrueRegister the renderer and the byte route.
routePath/api/preview/stlAuthenticated mesh route. Must stay under /api; otherwise it falls back to the default.
extensions["stl"]Suffixes that open in the 3D preview.
maxBytes536870912Largest STL streamed (512 MiB).
chunkBytes1048576Bytes per ranged read on the host.
unitScale1Millimetres per STL unit; drives size, volume and area.
color#c7d2e2Viewport colour (STL carries no materials).
analysisMaxTriangles400000Above this, skip the watertightness pass instead of freezing the tab.