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打印用户。

Package
dsh-stl-preview
Compatibility
Unverified
Cordis peer range
^4.0.1
Version
0.1.0
License
MIT
Last updated
Oct 21, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:439436269-ctrl/dsh-stl-preview

Configuration

Settings → Plugins → STL preview (namespace stl-preview):

KeyDefaultMeaning
enabledtrueRegister the renderer and the byte route.
routePath/api/stl-previewAuthenticated 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.