altium monkey v2026.11.26 · gobblerito
On This Page (6)

acr pcb-svg

Generate config-driven PCB SVG layer outputs and explicit composed views using pcb.svg.config.a1.

PropertyValue
Commandacr pcb-svg (or altium-cruncher pcb-svg)
CategoryPCB & Schematic Visualization
Config Filepcb.svg.config / pcb.svg.jsonc (pcb.svg.config.a1; inherits sibling fab.jsonc read-only)
Workflow GuideRendering & Design Review: acr pcb-svg

Usage

text
acr pcb-svg [-h] [-o OUTPUT] [--config CONFIG] [--doc PCBDOC] [--views PCB_VIEWS] [--layers PCB_LAYERS] [--scale PCB_SVG_SCALE] [--clean-output] [--export {board,layers,bundle,outline}] [--timings TIMINGS] [--warnings {summary,all,none}] [--warning-report WARNING_REPORT] [--cache-dir CACHE_DIR] [--no-cache] [--workers WORKERS] [--no-color] [file]

Arguments And Options

Positional Arguments

ArgumentRequiredDescription
fileNoPcbDoc or PrjPcb file (optional if auto-detected in CWD)

Options

FlagDefaultDescription
-o, --output <OUTPUT>—output directory (default: ./output/pcb-svg)
--config <CONFIG>—path to pcb.svg.config.a1 JSON/JSONC config. If omitted, pcb-svg uses pcb.svg.config next to each input file, creating a template when missing.
--doc, --pcbdoc <PCBDOC>—with .PrjPcb input, select a specific PcbDoc by filename, stem, or relative path
--views, --pcb-views <PCB_VIEWS>—comma-separated view names plus layers, all, or none
--layers, --pcb-layers <PCB_LAYERS>—comma-separated physical PCB layers for layer outputs
--scale <PCB_SVG_SCALE>—display scale multiplier for SVG width/height attrs (default: 10)
--clean-output, --pcb-clean-outputFalsereserved for output cleanup; current renderer overwrites configured outputs
--export, --pcb-export <PCB_EXPORT>'board'legacy compatibility option; output selection is config-driven (choices: board, layers, bundle, outline)
--timings <TIMINGS>—write SVG job/layer/view wall timings and cache outcomes as JSON
--warnings <WARNING_MODE>'summary'nonfatal warning presentation at completion (default: summary) (choices: summary, all, none)
--warning-report <WARNING_REPORT>—write complete deterministic toon.warning_report.a0 JSON
--cache-dir <CACHE_DIR>—persistent model/SVG cache directory (default: OS user cache/altium-cruncher/svg-models)
--no-cacheFalsedisable persistent model/SVG caching; retain reuse within this command
--workers <WORKERS>4maximum concurrent native STEP tessellations or component illustrations (default: 4; 1 runs serially)
--no-colorFalsedisable ANSI colors and spinners in console output

Examples

powershell
# Render configured PCB SVG views (auto-creates pcb.svg.config on first run)
acr pcb-svg board.PcbDoc -o out/pcb_svg --workers 4

# Use an explicit config path and select specific layers
acr pcb-svg board.PcbDoc --config pcb.svg.jsonc --views layers --layers TOP,PIN1_TOP,PAD_LABELS_TOP -o out/pcb_svg
altium-monkey v2026.11.26 · gobblerito·Docs updated 2026.11.29 17:55 UTC (0665053)