Everything got reset to direct connect so I used a script to find all the footprints I put reliefs on last rev
27 lines
560 B
Python
27 lines
560 B
Python
from kipy import KiCad
|
|
from kipy.util.units import to_mm
|
|
|
|
def main():
|
|
|
|
try:
|
|
kicad = KiCad()
|
|
except BaseException as e:
|
|
print(f"Not connected to KiCad: {e}")
|
|
exit()
|
|
|
|
board = kicad.get_board()
|
|
|
|
footprints = board.get_footprints()
|
|
|
|
for footprint in footprints:
|
|
for pad in footprint.definition.pads:
|
|
if (pad.padstack.zone_settings.zone_connection == 3):
|
|
print (footprint.reference_field.text.value) # Print Refdes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main() |