CLI command design

design

Generates machine-consumable design JSON from Altium schematic or project inputs.

Usage

altium-cruncher design project.PrjPcb -o output/design
altium-cruncher design schematic.SchDoc

Arguments

file accepts .SchDoc or .PrjPcb. When omitted, the command attempts project auto-detection in the current directory. -o selects the output directory.

Output

The command writes AltiumDesign.to_json() output containing netlist data, component records, hierarchy, SVG IDs, and lookup indexes. Future output naming should use the shared output path template resolver.

Tests

L3 verifies Hydroscope project design JSON generation, confirms substantial component and net counts, and checks that SVG ID indexes are present. Additional contract tests should pin the JSON schema.