SuperAPI AI Directory

cadcraft-cli

Coding & development

View repository

Updated 11-04 23:01

About this skill

CADCraft CLI

First run cadcraft-cli --version and cadcraft-cli commands to confirm the actually available commands. This CLI is a standalone executable of CADCraft; the skill package does not install or bundle it. It can be installed from the official CADCraft release, or built from the source repository. Do not download binaries from unverified sources.

Common entry points:

cadcraft-cli info drawing.dxf
cadcraft-cli run --metric --cmd 'circle {"center":[10,10],"radius":4}' --save output.dxf --export preview.png
cadcraft-cli run input.dxf --script 'LINE 0,0 10,0\n' --save output.dxf
cadcraft-cli convert input.dxf output.svg

--cmd accepts a command ID and JSON parameters;--script uses interactive command-line syntax. The actual parameters of complex commands are obtained through the same version of cadcraft-cli commands or MCP list_commands . Source drawings and output files should be kept separate unless the user explicitly requests overwriting. After generation, use info to check the file, and if necessary open it in a new process and export a preview.

info only indicates that CADCraft can read the file; geometry, layers, annotations, layouts, and PDF visual results still need to be checked item by item according to the task. DWG goes through the native acadrust↔DXF bridge; Web builds do not support DWG. For corrupted input, command errors, or conversion failures, record the exit code and error, and do not treat previous files as new results.