一 概述
BAN格式为微兆公司定义一种板材的形状、材质、纹路、封边及孔槽位信息格式;采用xml表格式;
BAN格式是一种完全开放的格式,并兼容目前市面上多种拆单软件生成的数据;
<MicroDrawBan_XML Version="2.0" Time="" Source="">
<Plane Name="" Material="" Width="400.0000" Depth="600.0000" Hight="0.0000" Dir="" EdgeFBLR="0.0,0.0,0.0,0.0">
<Outline> 外轮廓
<Point Value="400.0000 600.0000 0.0000"/>
<Point Value="0.0000 600.0000 0.0000"/>
<Point Value="0.0000 0.0000 0.0000"/>
<Point Value="400.0000 0.0000 0.0000"/>
<Point Value="400.0000 600.0000 0.0000"/>
</Outline>
孔位信息
<VerticalDrill Name="" Start="40.0000 512.0000 0.0000" End="40.0000 512.0000 -8.0000" Diameter="10.0000" Depth="0.0000"/>
<VerticalDrill Name="" Start="72.0000 512.0000 0.0000" End="72.0000 512.0000 -9.0000" Diameter="8.0000" Depth="0.0000"/>
<VerticalDrill Name="" Start="328.0000 512.0000 0.0000" End="328.0000 512.0000 -9.0000" Diameter="8.0000" Depth="0.0000"/>
<VerticalDrill Name="" Start="360.0000 512.0000 0.0000" End="360.0000 512.0000 -8.0000" Diameter="10.0000" Depth="0.0000"/>
<VerticalDrill Name="" Start="40.0000 34.0000 0.0000" End="40.0000 34.0000 -13.0000" Diameter="15.0000" Depth="0.0000"/>
<VerticalDrill Name="" Start="360.0000 34.0000 0.0000" End="360.0000 34.0000 -13.0000" Diameter="15.0000" Depth="0.0000"/>
水平孔
<SideBottomDrill Name="" Start="40.0000 0.0000 -9.0000" End="40.0000 34.0000 -9.0000" Diameter="8.0000" Depth="0.0000"/>
<SideBottomDrill Name="" Start="360.0000 0.0000 -9.0000" End="360.0000 34.0000 -9.0000" Diameter="8.0000" Depth="0.0000"/>
<SideBottomDrill Name="" Start="72.0000 0.0000 -9.0000" End="72.0000 20.0000 -9.0000" Diameter="8.0000" Depth="0.0000"/>
<SideBottomDrill Name="" Start="328.0000 0.0000 -9.0000" End="328.0000 20.0000 -9.0000" Diameter="8.0000" Depth="0.0000"/>
槽位
<Slot Diameter="7.0000" Depth="-0.0000" Geomtype="50">
<Point Value="20.5000 508.5000 0.0000"/>
<Point Value="20.5000 0.0000 0.0000"/>
</Slot>
</Plane>
</MicroDrawBan_XML>
二 定义说明
面的描述
孔位的描述
槽位的描述
三 测试工具使用