mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
12 lines
191 B
Python
12 lines
191 B
Python
import pcbnew
|
|
|
|
pcb = pcbnew.GetBoard()
|
|
|
|
for m in pcb.GetModules():
|
|
print m.GetPosition()
|
|
for p in m.GetPads()
|
|
print "p=>",p.GetPosition(),p.GetPadName()
|
|
print p.GetPosition()
|
|
|
|
|