added compatibility with latest connectivity algo (10607)
This commit is contained in:
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
# annular.py
|
# annular.py
|
||||||
|
|
||||||
___version___="1.5.3"
|
___version___="1.5.4"
|
||||||
#wx.LogMessage("My message")
|
#wx.LogMessage("My message")
|
||||||
mm_ius = 1000000.0
|
mm_ius = 1000000.0
|
||||||
# (consider always drill +0.1)
|
# (consider always drill +0.1)
|
||||||
@ -224,8 +224,11 @@ class annular_check( pcbnew.ActionPlugin ):
|
|||||||
LogMsg+=msg+'\n'
|
LogMsg+=msg+'\n'
|
||||||
|
|
||||||
for module in board.GetModules():
|
for module in board.GetModules():
|
||||||
for pad in module.Pads():
|
try:
|
||||||
#print(pad.GetAttribute())
|
module_Pads=module.PadsList()
|
||||||
|
except:
|
||||||
|
module_Pads=module.Pads()
|
||||||
|
for pad in module_Pads: #print(pad.GetAttribute())
|
||||||
if pad.GetAttribute() == PAD_ATTRIB_STANDARD: #TH pad
|
if pad.GetAttribute() == PAD_ATTRIB_STANDARD: #TH pad
|
||||||
ARv = annring_size(pad)
|
ARv = annring_size(pad)
|
||||||
#print(f_mm(ARv))
|
#print(f_mm(ARv))
|
||||||
|
Reference in New Issue
Block a user