dsh-3d-viewer

Opens STEP/STP/STL/GLB/GLTF models in a sidebar 3D viewer: STEP is tessellated in the browser with OpenCASCADE WASM; the toolbar offers fit/front/top/side/iso orthographic views and a PNG screenshot; inputs are capped at 64 MiB and .gltf files that reference external buffers or textures are rejected.

Overview

Opens STEP/STP/STL/GLB/GLTF models in a sidebar 3D viewer: STEP is tessellated in the browser with OpenCASCADE WASM; the toolbar offers fit/front/top/side/iso orthographic views and a PNG screenshot; inputs are capped at 64 MiB and .gltf files that reference external buffers or textures are rejected.

Installation

Install from GitHub

dsh plugin --profile web add github:yanzhaohui1999/dsh-3d-viewer

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.