Anonymous 发表于 2013-7-8 10:18:59

pcb线路板怎么算面积

pcb线路板怎么算面积

Vrona 发表于 2013-7-8 21:53:12

说的详细点哎?你是要算成本还是什么

xieh_17 发表于 2013-7-9 11:34:48

获得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"))
))

werkey 发表于 2025-4-8 14:27:18

学习了

allegro小王子 发表于 2026-1-30 09:18:09

学习交流下
页: [1]
查看完整版本: pcb线路板怎么算面积