Mrdifferent2022/dsh-cad-design

Lets the agent do mechanical design by writing CadQuery code for 3D parts or ezdxf code for 2D drawings, validating the geometry, rendering a preview and exporting STEP, IGES, STL, 3MF or DXF.

Backends are pluggable adapters behind a capability-routing registry, auto-detected from the script's imports or pinned with the backend parameter or backendPriority config. The tool chain is validate, render, iterate, export: the preview reports volume and bounding box facts alongside the image so the agent can check a design numerically before exporting, and exports land as STEP, IGES, STL, 3MF or DXF ready for CAM. The ezdxf adapter carries repairs for common LLM drafting defects — missing TEXT align points, CJK font fallback and white-on-white preview colours. OpenSCAD and FreeCAD adapters are on the roadmap, and the README is precise about commercial CAD: 'compatible with CATIA/SolidWorks/NX' here means exchanging STEP, IGES and DXF files, not a COM bridge.

Tools & Capabilities ★ 1
View on GitHub ↗

Install

dsh plugin --profile web add dsh-cad-design

The npm line from the README; dsh-cad-design@0.2.0 resolves its registry repository to this repo. A tarball line is documented for local installs. The README warns that npm also hosts LAU-MARS's dsh-cad, which is a CAD viewer and complementary rather than the same package.

Compatibility

dsh 0.x with an explicit --profile, and the profile must carry a surface bundle — the shipped web profile is the usual choice, while a freshly created custom profile contains only @deepseek-ai/dsh-base and runs headless with no UI. Boot a profile with dsh --profile <name> and no surface argument. Backends need the CadQuery adapter (OpenCASCADE kernel) for 3D solids and the ezdxf adapter for 2D drawings; cad_doctor does an environment self-check after install.

Details

Alternatives

shimingming520/dsh-audiogen · mingzeng21/dsh-obsidian · OpenTritium/dsh-codex-shim

More plugins in Tools & Capabilities

Browse more in Tools & Capabilities

Guides for Tools & Capabilities plugins