Loading...
Loading...
Compare original and translation side by side
.zenSpiI2cUartModule("path.zen")pcb doc specpcb doc spec --listpcb doc spec/<section>@stdlib/generics/ResistorCapacitorLedload("@stdlib/interfaces.zen", "Power", "Ground", "Spi", "I2c", ...).zenSpiI2cUartModule("path.zen")pcb doc specpcb doc spec --listpcb doc spec/<section>@stdlib/generics/ResistorCapacitorLedload("@stdlib/interfaces.zen", "Power", "Ground", "Spi", "I2c", ...)pcb scan.pdfhttp(s)pcb scan <input>pcb scan ./TPS54331.pdf
pcb scan https://www.ti.com/lit/gpn/tca9554pcb scan.pdfhttp(s)pcb scan <input>pcb scan ./TPS54331.pdf
pcb scan https://www.ti.com/lit/gpn/tca9554undefinedundefined
```bash
pcb build [PATH] # Build and validate (default: cwd)
pcb fmt [PATH] # Format .zen files (default: cwd)
pcb bom <FILE> -f json # Generate BOM as JSON with availability data
pcb fork add <URL> # Fork dependency for local dev
pcb fork remove <URL> # Remove fork
```bash
pcb build [PATH] # 构建并验证(默认:当前工作目录)
pcb fmt [PATH] # 格式化.zen文件(默认:当前工作目录)
pcb bom <FILE> -f json # 生成包含供货数据的JSON格式BOM
pcb fork add <URL> # 复刻依赖包用于本地开发
pcb fork remove <URL> # 移除复刻的依赖包pcb search -m registry:modules buck -f json
pcb search -m registry:components usb-c -f json
pcb search -m web:components STM32F103C8T6 -f json
pcb new component --component-id <ID> --part-number <MPN> --manufacturer <MFR>pcb search -m registry:modules ... -f jsonpcb search -m registry:components ... -f jsonpcb search -m web:components ... -f jsoncomponent_idpcb new component --component-id ...--part-number--manufacturerpcb search -m registry:modules buck -f json
pcb search -m registry:components usb-c -f json
pcb search -m web:components STM32F103C8T6 -f json
pcb new component --component-id <ID> --part-number <MPN> --manufacturer <MFR>pcb search -m registry:modules ... -f jsonpcb search -m registry:components ... -f jsonpcb search -m web:components ... -f jsoncomponent_idpcb new component --component-id ...--part-number--manufacturer| Tool | Use |
|---|---|
| Read structured KiCad symbol metadata ( |
| Strict full-write of symbol metadata. Input becomes the full metadata state (unset fields/properties are removed). Supports |
| RFC 7396 JSON Merge Patch update for metadata. Use for incremental edits (object keys set/replace, |
pcb mcp evalread_kicad_symbol_metadatawrite_kicad_symbol_metadatamerge_kicad_symbol_metadatametadata.primaryReferenceprimary.referenceValueprimary.valueFootprintprimary.footprintDatasheetprimary.datasheetDescriptionprimary.descriptionki_keywordsprimary.keywords.kicad_symki_fp_filtersprimary.footprint_filters.kicad_symcustom_propertieski_descriptionprimary.descriptionDescriptionDescriptionmetadata_patch: {custom_properties: {ki_keywords: "powerline transceiver CAN"}}metadata_patch: {primary: {keywords: ["powerline", "transceiver", "CAN"]}}| 工具 | 用途 |
|---|---|
| 从 |
| 严格全量写入符号元数据。输入内容将成为完整的元数据状态(未设置的字段/属性会被移除)。支持 |
| 基于RFC 7396 JSON合并补丁更新元数据。用于增量编辑(对象键设置/替换, |
pcb mcp evalread_kicad_symbol_metadatawrite_kicad_symbol_metadatamerge_kicad_symbol_metadatametadata.primaryReferenceprimary.referenceValueprimary.valueFootprintprimary.footprintDatasheetprimary.datasheetDescriptionprimary.descriptionki_keywordsprimary.keywords.kicad_symki_fp_filtersprimary.footprint_filters.kicad_symcustom_propertieski_descriptionDescriptionprimary.descriptionDescriptionmetadata_patch: {custom_properties: {ki_keywords: "powerline transceiver CAN"}}metadata_patch: {primary: {keywords: ["powerline", "transceiver", "CAN"]}}pcb doc spec # Full language specification
pcb doc spec --list # List all spec sections
pcb doc spec/<section> # Read specific section (e.g., spec/io, spec/module)
pcb doc packages # Dependency management docs
pcb doc docs_bringup # Guide on writing bringup docs in markdown
pcb doc docs_changelog # Guide on writing a changelog after every changepcb doc --package @stdlib # Standard library docs
pcb doc --package @stdlib --list # List files as tree
pcb doc --package @stdlib/generics # Filter to subdirectory
pcb doc --package github.com/diodeinc/registry/module/<xyz>@0.1.0 # Remote packagepcb doc spec # 完整语言规范
pcb doc spec --list # 列出所有规范章节
pcb doc spec/<section> # 查看特定章节(例如spec/io、spec/module)
pcb doc packages # 依赖管理文档
pcb doc docs_bringup # 关于用markdown编写调试文档的指南
pcb doc docs_changelog # 关于每次更改后编写变更日志的指南pcb doc --package @stdlib # 标准库文档
pcb doc --package @stdlib --list # 以树形结构列出文件
pcb doc --package @stdlib/generics # 筛选子目录
pcb doc --package github.com/diodeinc/registry/module/<xyz>@0.1.0 # 远程包文档No house cap found for ...No house resistor found for ...mpnmanufacturerpcb bom <FILE> -f jsonavailability_tier"plenty""limited""insufficient"offersNo house cap found for ...No house resistor found for ...mpnmanufacturerpcb bom <FILE> -f jsonavailability_tier"plenty""limited""insufficient"offers