On This Page (5)
CLI: Rendering & Design Review
These acr commands produce high-fidelity PCB SVGs, 3D-projected assembly illustrations, schematic SVGs / Paint IR A0 bundles, and agent-first design review packages for single-board and multi-board systems.
Commands At A Glance
| Command | Purpose | Primary Inputs |
|---|---|---|
acr pcb-svg | Configurable physical & virtual PCB SVG compositor with HLR illustrations, fitted designators, and pad labels | .PcbDoc or .PrjPcb |
acr toon | Turnkey top/bottom illustrated PCB assembly SVG presets | .PcbDoc or .PrjPcb |
acr sch-svg | Export logical or compiled physical schematic SVGs | .SchDoc, .SchLib, or .PrjPcb |
acr sch-ir | Export Schematic Paint IR A0 JSON display lists | .SchDoc, .PrjPcb, or folder |
acr svg | Combined schematic + PCB SVG export wrapper | .PrjPcb, .SchDoc, .SchLib, or .PcbDoc |
acr design (design-review, dr) | Generate an agent-first design-review bundle for single-board or multi-board projects | .SchDoc, .PrjPcb, or .PrjMbd |
acr pcb-svg And acr toon
pcb-svg and toon share the FabView draw pipeline, substrate & solder-mask film compositing, 3D STEP hidden-line-removal (HLR) illustrations, auto-fitted assembly designators, cutouts, Pin 1 markers, diode/passive polarity overlays, pad designator labels (PAD_LABELS_TOP / PAD_LABELS_BOTTOM), and persistent model/artwork disk caching:
# Render configured PCB SVG views (auto-creates pcb.svg.config / --config path on first run)
acr pcb-svg board.PcbDoc --config pcb.svg.jsonc -o out/pcb_svg --workers 4
# Generate an editable toon.config / toon.jsonc template, or render built-in top/bottom presets
acr toon --write-config toon.jsonc
acr toon board.PcbDoc -o out/toonNotable defaults and overlay features:
- Clean assembly views by default: Both built-in
top_assy_viewandbottom_assy_viewdefault tostyles.silkscreen_designators.enabled: falseso raw silkscreen reference designators do not collide with fittedASSEMBLY_DESIGNATORS_TOP/ASSEMBLY_DESIGNATORS_BOTTOMlabels. - All 17 virtual layers & unified
"virtual_layers"config: Include any virtual layer token inviews[].layersor--views layers --layers ...— includingPAD_LABELS_TOP/PAD_LABELS_BOTTOM(aliasesPAD_LABEL_TOP/PAD_LABEL_BOTTOM),PIN1_TOP/BOTTOM,DIODES_TOP/BOTTOM,CAPACITORS_TOP/BOTTOM,INDUCTORS_TOP/BOTTOM,RESISTORS_TOP/BOTTOM,CUTOUTS,ASSEMBLY_OUTLINES_TOP/BOTTOM, andASSEMBLY_DESIGNATORS_TOP/BOTTOM.pcb.svg.config(pcb.svg.config.a1) accepts the exact same"virtual_layers"sub-struct asfab.jsoncandvdoc.jsonc(includingvisibility_modeand all 8*_SYMBOL/visibility parameters), andacr pcb-svg,acr toon, andacr drautomatically inherit a siblingfab.jsonc's"virtual_layers"rules read-only without letting Gerber-only*.enabled: falseflags hide SVG views. See Virtual Fab Layers. - Unclipped framing (
global.canvas.bounds): Choose"all_geometry"(withmargin_mm) to keep overhanging connectors and 3D STEP silhouettes uncropped, or"board_outline"to frame tightly to the board profile. - Runtime controls:
--workers <N>: worker count for STEP tessellation and HLR projection (default4).--cache-dir <DIR>/--no-cache: control persistent model and artwork caching across runs and variants.--warnings summary|all|noneand--warning-report <FILE>: summarize or write structured non-fatal rendering diagnostics.--timings <FILE>: write per-view and cache timing diagnostics as JSON.- Variant support: automatically loads sibling
.PrjPcbmetadata without parsing schematics, hides DNP component bodies and designators, and applies parameter overrides.
acr sch-svg, acr sch-ir, And acr svg
# Render schematic sheets or symbols via Paint IR A0
acr sch-svg project.PrjPcb -o out/sch_svg
# Export raw Schematic Paint IR A0 JSON for downstream viewers (output directory)
acr sch-ir sheet.SchDoc -o out/sch_ir
# Combined schematic + PCB SVG export
acr svg project.PrjPcb -o out/svgacr design (Aliases: design-review, dr)
Builds a clean, agent-first design-review bundle for standalone .SchDoc, single-board .PrjPcb, or multi-board .PrjMbd systems:
README.md,design_review_manifest.json,design_review_report.jsonreview_summary.json— compact LLM-first index of sheets, components, nets, notes, and PCB pointers (plus system-level inter-board module instances, connector matings, and cross-board nets for.PrjMbdsystems)bom.csv,notes.json, and authoritativecompilation.jsonschematics/<Sheet>.svg+<Sheet>.layout.json— schematic SVGs named to match the Altium.SchDocfiles (repeated channels append__<Channel>), paired with SVG-space bounding boxes for sub-circuit croppingpcb/—pnp.csv,board_summary.json(physical stackup, geometry, drills, planes/polygons, schematic-to-PCB reconciliation),routing_context.json, and fast black-and-white copper-layer SVG plots (pcb/layers/*.svg, with board outline, cutouts, drills, and slots) plus assembly/polarity review overlays- Multi-board
.PrjMbdbundles: organizes per-board schematic and PCB review trees cleanly alongside the system-wide netlist and cross-board reconciliation summary so agents can trace any signal from one board's schematic pin across the inter-board connector into the mating board.
# Single-board project review bundle
acr dr project.PrjPcb -o out/review
# Multi-board system review bundle (.PrjMbd)
acr dr system.PrjMbd -o out/system_review
# Include raw parsed schematic source JSONs for deep debugging
acr dr project.PrjPcb --include-source-docs -o out/review