will now add the kicad .rpt output files to the docs dir

This commit is contained in:
2025-12-31 14:34:28 +13:00
parent b79b1c2c0d
commit 9163ed6d93

View File

@@ -11,7 +11,7 @@ from os import listdir
from os.path import isfile, join
KICAD_CLI_PATH = "kicad-cli"
TEMP_FILE_PATH = "temp/"
TEMP_FILE_PATH = "docs/"
PCB_IMAGE_OUTPUT_PATH = "res/"
@@ -194,8 +194,8 @@ def main() -> None:
# find all kicad project files to operate on
for path in Path(".").rglob('*.kicad_pro'):
k = KicadProject(path)
k.drc_check()
k.erc_check()
k.drc_check(report_format=OutputReportType.RPT)
k.erc_check(report_format=OutputReportType.RPT)
k.process_bom()
k.create_schmatic_pdf()
k.get_image()