cadcraft
CADCraft
Operate CADCraft through its structured automation interface. Preserve the user's requested drafting workflow and target drawing.
Protocol reference
Read the relevant sections of references/control-protocol.md before constructing calls. This is the downloaded upstream protocol, captured on 2026-10-12.
Source: CADCraft control protocol.
Useful sections: the method table (top of the document), Panel docking, Command-line replies, and Interface language. Relative links inside the downloaded document (e.g. localization.md) refer to upstream documentation; resolve them against https://github.com/storytold/cadcraft/blob/main/docs/ when needed. The document is short and does not list individual drawing commands: discover them at runtime with engine.commands instead of inventing command IDs or parameters.
Locate the executables
cadcraft and cadcraft-cli may not be on PATH even when CADCraft is installed. Discover them before assuming anything is missing, and never invent a path — search for it: