generated from nickdante8/hw-heater-on-oil
13 lines
338 B
Python
13 lines
338 B
Python
import re
|
|
import sys
|
|
|
|
def parse_kicad_sch(filepath):
|
|
with open(filepath, 'r') as f:
|
|
data = f.read()
|
|
|
|
# Very rudimentary parsing, but let's just find the connections.
|
|
# It might be easier to use kicad-cli or python kicad libraries if available.
|
|
print("Use schematic parser")
|
|
|
|
parse_kicad_sch("CMD-7.kicad_sch")
|