mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
11 lines
213 B
Python
11 lines
213 B
Python
import pcbnew
|
|
|
|
pcb = pcbnew.GetBoard()
|
|
|
|
for m in pcb.GetModules():
|
|
print m.GetReference(),"(",m.GetValue(),") at ", m.GetPosition()
|
|
for p in m.GetPads()
|
|
print " pad",p.GetPadName(), "at",p.GetPosition()
|
|
|
|
|