Compare commits

..

2 Commits

Author SHA1 Message Date
9163ed6d93 will now add the kicad .rpt output files to the docs dir 2025-12-31 14:34:28 +13:00
b79b1c2c0d not needed 2025-12-31 14:33:19 +13:00
2 changed files with 3 additions and 29 deletions

View File

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

View File

@@ -1,26 +0,0 @@
{
"$schema": "https://schemas.kicad.org/drc.v1.json",
"coordinate_units": "mm",
"date": "2025-12-31T01:11:53+1300",
"kicad_version": "9.0.6",
"schematic_parity": [],
"source": "test.kicad_pcb",
"unconnected_items": [],
"violations": [
{
"description": "Board has malformed outline (no edges found on Edge.Cuts layer)",
"items": [
{
"description": "PCB",
"pos": {
"x": 0.0,
"y": 0.0
},
"uuid": "7690956f-7cf1-4850-b24e-2c34f81a5616"
}
],
"severity": "error",
"type": "invalid_outline"
}
]
}