will now add the kicad .rpt output files to the docs dir
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user