Compare commits
2 Commits
4a0e878a73
...
9163ed6d93
| Author | SHA1 | Date | |
|---|---|---|---|
| 9163ed6d93 | |||
| b79b1c2c0d |
@@ -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()
|
||||
|
||||
26
drc.json
26
drc.json
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user