439436269-ctrl/dsh-preview-stl ↗★ 0

dsh-preview-stl

STL三维网格模型交互预览工具 适合需要在侧边栏预览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

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.