XYX365 发表于 2013-7-10 11:45:32

xieh_17 发表于 2013-7-10 11:21 static/image/common/back.gif
这些都不是判断是否为slot孔的关键参数,在有些情况下有bug,其它主要是判断Hole type参数,或者Slot siz ...

這些代碼是取Pad的相關資料,沒有判斷slot的功能,
你的Allegro的版本是多少?

XYX365 发表于 2013-7-10 13:24:20

xieh_17 发表于 2013-7-10 11:21 static/image/common/back.gif
这些都不是判断是否为slot孔的关键参数,在有些情况下有bug,其它主要是判断Hole type参数,或者Slot siz ...

Hole type参数 -> 版本為16.2以上才有
Slot size X/Slot size Y参数才是比较准确的 ->nDrillWidth = dPadstack->drillFigureWidth and nDrillHeight = dPadstack->drillFigureHeight

還可以判斷 tDrillName = dPadstack->drillFigureName 的名稱 Oblong_X 或 Oblong_Y

xieh_17 发表于 2013-7-11 08:33:09

XYX365 发表于 2013-7-10 13:24 static/image/common/back.gif
Hole type参数 -> 版本為16.2以上才有
Slot size X/Slot size Y参数才是比较准确的 ->nDrillWidth = d ...

感谢XYX365大大的回复。
我的版本是15.2
看来只有用drillFigureWidth/drillFigureHeight and drillFigureName来判断了,谢谢!
页: 1 [2]
查看完整版本: 求助:如何判断PCB中是否有slot槽孔存在?