|
本帖最后由 GSO_library 于 2016-5-30 16:28 编辑
多谢!能帮我看下吗? 按钮执行程序如下, 是不是pad_list1这块有问题?
- sh1=axlFormGetField(testForm "hsize")
- he=atof( sh1 )
- sw1=axlFormGetField(testForm "wsize")
- w1=atof( sw1 )
- q=20
- pad_list1=nil
- pad_list1=cons(make_axlPadStackPad(
- ?layer "TOP", ?type 'REGULAR, ?figure 'RECTANGLE, ?figureSize he:w1) pad_list1)
-
- pad_list1=cons(make_axlPadStackPad(?layer "TOP", ?type 'THERMAL, ?figure 'RECTANGLE,
- ?figureSize he+q:w1+q) pad_list1)
- pad_list1=cons(make_axlPadStackPad(?layer "TOP", ?type 'ANTIPAD, ?figure 'RECTANGLE,
- ?figureSize he+q:w1+q) pad_list1)
- pad_list1=cons(make_axlPadStackPad(?layer "SOLDERMASK_TOP", ?type 'REGULAR, ?figure 'RECTANGLE,
- ?figureSize he:w1) pad_list1)
- pad_list1=cons(make_axlPadStackPad(?layer "PASTEMASK_TOP", ?type 'REGULAR, ?figure 'RECTANGLE,
- ?figureSize he:w1) pad_list1)
-
- axlDBCreatePadStack(axlFormGetField(testForm "padname2"), nil, pad_list1 t)
- axlPadstackToDisk(axlFormGetField(testForm "padname2"))
复制代码
|
|