mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-15 10:43:15 +02:00
15 lines
224 B
Python
15 lines
224 B
Python
|
pcb = pcbnew.GetBoard()
|
||
|
|
||
|
m = pcb.m_Modules.item()
|
||
|
|
||
|
while m:
|
||
|
print m.GetPosition()
|
||
|
p = m.m_Pads.item()
|
||
|
while p:
|
||
|
print "p=>",p.GetPosition(),p.GetPadName()
|
||
|
print p.GetPosition()
|
||
|
p = p.Next()
|
||
|
m = m.Next()
|
||
|
|
||
|
|