|
发表于 2014-1-23 16:50:50
|
显示全部楼层
startPoint = car(padList)->xy
poly1_list=axlDBCreateShape( car(axlPolyExpand(axlPolyFromDB( car(axlGetSelSet())) clearance 'NONE )), t,padLayer,nil,nil ))
endPoint = cadr(padList)->xy
poly2_list=axlDBCreateShape( car(axlPolyExpand(axlPolyFromDB( cadr(axlGetSelSet())) clearance 'NONE )), t,padLayer,nil,nil ))
if(createLayer == "ALL"
then
foreach(pad car(padList)->pads
when(pad->type == "REGULAR" && pad->layer == "ETCH/TOP"
padRadius = xCoord(cadr(pad->bBox))
)
);end foreach
else
foreach(pad car(padList)->pads
when(pad->type == "ANTI" && pad->layer == padLayer
padRadius = xCoord(cadr(pad->bBox))
)
);end foreach
);end if
antiPath = axlDBCreateRectangle(list(startPoint endPoint) t)
poly3_list=axlDBCreateShape( car(axlPolyExpand(axlPolyFromDB(antiPath) clearance 'NONE )), t,padLayer,nil,nil ))
axlPolyOperation(poly1_list poly2_list poly3_list 'AND)
請教下第三塊怎麼做 |
|