DXF文件读写接口
供用户直接调用的12个子程序调用:
1、 opendxf(xl,yl,drname,lend)
功能:新建DXF文件,
参数:xl,yl,drname,lend 分别为图幅长、宽、图名、图名长度
注意: 接口库中使用了文件通道号990、991、992、993、998、999,
请在程序中不要重复使用
2、 layer(ca1,nc)
功能:在表段和头段中写层信息,
参数:ca1,nc分别为层名、颜色值
注意:必须先赋层名值:ca1="hjk328" 再调用 call layer(ca1,ic)
不能直接call layer("hjk328",ic)
3、 circle(cx,cy,cz,cr)
功能:画圆
参数:cx,cy,cz,cr 分别为圆心的三维坐标和半径
4、 trace(x1,y1,z1,x2,y2,z2,wh)
功能:画轨迹线
参数:x1,y1,z1,x2,y2,z2,wh 分别为轨迹线中线端点三维坐标及线宽
5、 line(x1,y1,z1,x2,y2,z2)
功能: 画单线
参数:x1,y1,z1,x2,y2,z2 分别为线端点三维坐标
6、 poly(PLX,PLY,PLZ,NV,WH)
功能:画复线
参数:PLX,PLY,PLZ,NV,WH分别为复线各拐点三维坐标、拐点数及线宽
7、 point(x1,y1,z1)
功能:画点
参数:x1,y1,z1分别为点的三维坐标
8、 hz(xxt,yyt,zzt,zzh,rrang,ssca,qxj,cca1,len)
功能:中点对正写单行汉字
参数:xxt,yyt,zzt,zzh,rrang,ssca,qx
- 2022-03-24 02:59:46下载
- 积分:1
衬底substrate生成,film growth仿真
This code is used for creating an initial structure made of either substrate atoms or deposited
atoms. It generates three types of structures: rows, columns, and hemispheres. Type, size and
number of objects are determined by the user. The соde generates two files: ibox.txt and
iboxXY_jmol.txt. The file ibox.txt contains coordinates of atoms in “integer” format (i, j, k,
name_of_atom) and may be used as input to NASCAM. The file iboxXY_jmol.txt stores the
same information about the position of the atoms but in Cartesian coordinates (name_of_atom
x, y, z, ) in JMOL format. It may be used for visualization.
If a surface structure made of atoms of both types is needed, then create two files, one for
each type of atom, and then combine these files.
- 2023-04-16 10:55:03下载
- 积分:1