dsh-dwg-preview: Directly Preview DWG/DXF Engineering Drawings in the DSH Sidebar
dsh-dwg-preview is a DSH client plugin maintained by linanbuan. When opening .dwg or .dxf files in the workspace, it displays vector SVGs in the document preview on the right. The host decodes DWG via LibreDWG (WASM) and renders it through lib/dxf2svg.mjs; the browser only displays the result, supporting panning and Ctrl/⌘ scroll wheel zoom. Installation is available via the desktop plugin page, the Agent's install_bundle, or `dsh plugin add`. This is a read-only preview with a 64 MB per-file limit and is not an official plugin. Code is MIT licensed; the DWG dependency uses GPL-3.0 libredwg-web.
Read More