pcb线路板怎么算面积
pcb线路板怎么算面积 说的详细点哎?你是要算成本还是什么获得routekeepin的面积。axlCmdRegister("test",'test)
defun( test ()
prog((lVia)
axlClearSelSet()
Shapes_dbid = car(axlDBGetShapes("ROUTE KEEPIN/ALL"))
polyList = axlPolyFromDB(Shapes_dbid,?layer "ETCH/TOP" ?padType 'REGULAR)
tDBUnits = car(axlDBGetDesignUnits())
when(tDBUnits == "mils"
area = car(polyList)->area/1000000*6.45163
)
when(tDBUnits == "millimeters"
area = car(polyList)->area/100
)
str = sprintf(nil "%.2f" area)
axlUIConfirm(strcat("The board area : " str " cm2"))
)) 学习了 学习交流下
页:
[1]