Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/assalas/pcb-designer-ai-agent
/ functions
Functions
37 in github.com/assalas/pcb-designer-ai-agent
⨍
Functions
37
◇
Types & classes
10
↓ 12 callers
Function
_find_first_float
(pattern: str, text: str)
src/pcbai/steps/datasheet_package_extractor.py:41
↓ 8 callers
Function
_generate_quad_pads
(pins: int, pitch: float, pad_l: float, pad_w: float, row_y: float, row_x: float, start_num: int, vertical: bo
src/pcbai/steps/footprint_qfn_qfp.py:49
↓ 6 callers
Method
write
(self, name: str, content: str)
src/pcbai/steps/footprint_qfn_qfp.py:42
↓ 3 callers
Function
generate_soic
(params: SoicParams)
src/pcbai/steps/footprint_generator.py:83
↓ 2 callers
Function
generate_bom
(requirements: Dict)
src/pcbai/steps/bom_generator.py:21
↓ 2 callers
Function
generate_qfn
(params: QfnParams)
src/pcbai/steps/footprint_qfn_qfp.py:68
↓ 2 callers
Function
generate_qfp
(params: QfpParams)
src/pcbai/steps/footprint_qfn_qfp.py:103
↓ 2 callers
Function
generate_smd_rc
(params: SmdRcParams)
src/pcbai/steps/footprint_generator.py:47
↓ 2 callers
Function
parse_requirements
Very basic placeholder that extracts target keywords. In the future, use an LLM to extract structured requirements.
src/pcbai/steps/requirements_parser.py:6
↓ 2 callers
Method
write
(self, name: str, content: str)
src/pcbai/steps/footprint_generator.py:40
↓ 1 callers
Function
_find_first_int
(pattern: str, text: str)
src/pcbai/steps/datasheet_package_extractor.py:56
↓ 1 callers
Function
_to_mm
(val: float, unit: str)
src/pcbai/steps/datasheet_package_extractor.py:30
↓ 1 callers
Function
bom_to_schematic
Create a simple SKiDL netlist if SKiDL is available. Returns a textual netlist (XML) or a message if SKiDL isn't installed.
src/pcbai/steps/skidl_schematic.py:11
↓ 1 callers
Function
extract_package_params_from_pdf
Heuristic extractor: searches textual datasheets for package tables/notes. Returns a best-effort guess for QFN/QFP packages. Use human-in-the-loo
src/pcbai/steps/datasheet_package_extractor.py:66
↓ 1 callers
Function
get_logger
(name: str = "pcbai", level: int = logging.INFO)
src/pcbai/core/logger.py:5
↓ 1 callers
Function
main
PCB AI Agent CLI
src/pcbai/pipeline/cli.py:23
↓ 1 callers
Function
save_guess_json
(guess: PackageGuess, out_json: str)
src/pcbai/steps/datasheet_package_extractor.py:112
↓ 1 callers
Function
write_kicad_mod_smd_rc
(outdir: str, params: SmdRcParams)
src/pcbai/steps/footprint_generator.py:128
↓ 1 callers
Function
write_kicad_mod_soic
(outdir: str, params: SoicParams)
src/pcbai/steps/footprint_generator.py:134
Method
__init__
(self, libdir: str)
src/pcbai/steps/footprint_qfn_qfp.py:38
Method
__init__
(self, libdir: str)
src/pcbai/steps/footprint_generator.py:36
Function
bom
Generate a toy BOM from a natural language description.
src/pcbai/pipeline/cli.py:30
Method
complete
(self, prompt: str, **kwargs)
src/pcbai/llm/provider.py:9
Method
complete
(self, prompt: str, **kwargs)
src/pcbai/llm/provider.py:14
Function
export_gerbers
(board_file: str, outdir: str)
src/pcbai/steps/gerber_exporter.py:9
Function
extract_package
Extract package parameters from a datasheet PDF (heuristic).
src/pcbai/pipeline/cli.py:94
Function
fetch_datasheet
(mpns: List[str], outdir: str)
src/pcbai/steps/datasheet_fetcher.py:15
Function
footprint
Generate a KiCad footprint (.kicad_mod).
src/pcbai/pipeline/cli.py:63
Function
load_guess_json
(path: str)
src/pcbai/steps/datasheet_package_extractor.py:118
Function
route_pcb
Placeholder router result. Future: integrate with KiCad pcbnew or external routers.
src/pcbai/steps/pcb_router.py:6
Function
synthesize
Run a minimal end-to-end synthesis: parse → BOM → SKiDL netlist → (placeholder GERBER export).
src/pcbai/pipeline/cli.py:107
Function
synthesize_schematic
Return a toy netlist structure. In the future, use SKiDL to create real netlists from parameterized templates.
src/pcbai/steps/schematic_synthesizer.py:8
Function
test_generate_smd_rc_basic
()
tests/test_footprint_generator.py:4
Function
test_generate_soic_even_pins
()
tests/test_footprint_generator.py:11
Function
test_generate_soic_odd_pins_error
()
tests/test_footprint_generator.py:17
Function
test_qfn_pad_count
()
tests/test_qfn_qfp.py:4
Function
test_qfp_pad_count
()
tests/test_qfn_qfp.py:10