社区活动 技术论坛 [Tips]PC-DMIS测头文件编辑指南(1)
[Tips]PC-DMIS测头文件编辑指南(1)
2013-11-08 09:22 145 0 13
PC-DMIS测头文件编辑指南 V1.0 PC-DMIS软件根目录下的probe.dat文件,决定了PC-DMIS测头系统的图形显示和数据表达。想要在PC-DMIS中使用测头,就要在probe.dat文件中定义。可以使用windows记事本打开这个文件进行定义和编辑。定义测头有特定的格式要求,必须严格遵守。咱们介绍一下。 主要表达方法: Commands: ITEM: begintip endtip ribcount line sphere cutsphere cylinder cone ring comment hotspot opticalcenter connect autojoint manualjoint face solid cadgeom 下面介绍这几个命令: ITEM:TIP2BY20MM M2 第一行ITEM后面出现的第一个名字, 将在测头定义对话框中出现, 之后的M2定义了这个部件的螺纹类型 或者连接类型。 begintip 测针定义开始。 endtip 测针定义结束。 ribcount N N表示行数,2到1000. line x1 y1 z1 x2 y2 z2 x1,y1,z1 是起始点x2,y2,z2 是结束点. sphere x y z d x,y, & z 表示球心坐标,d表示直径。 cutsphere x y z i j k d t b x, y, z,和d 表示的内容与sphere相同, i, j, k 表示垂直于球顶面和底面的矢量。 t, b 定义顶面和底面的位置如下: 顶面 = (x,y,z) + t * (i,j,k) 底面 = (x,y,z) - b * (i,j,k)” cylinder x1 y1 z1 x2 y2 z2 d x1, y1, z1 表示圆柱顶面的位置 x2, y2, z2 表示圆柱底面的位置 d 表示直径。 cone x1 y1 z1 d1 x2 y2 z2 d2 x1, y1, z1表示圆锥顶面的位置, x2, y2, z2表示圆锥底面的位置, d1 表示顶面的直径 d2 表示底面的直径。 ring x1 y1 z1 i1 j1 k1 d1 d2 x1, y1, z1 表示环中心的坐标 i1, j1, k1 相对于当前测头坐标系的环矢量 d1 表示环的外直径, d2表示环的内直径。 comment text 注释。 hotspot x1 y1 z1 i1 j1 k1 d1 t1 type x1, y1, z1 表示测球中心, i1, j1, k1 表示测针矢量, 一般为001, d1 表示测球直径, t1 表示测尖厚度(for disk probe), type 表示测针类型 (ball, shank, disk等)。 光学的部件,引用英文的解释。 opticalcenter x1 y1 z1 i1 j1 k1 sch=1 minf maxf optics_type min_na max_na mag type opticalcenter x1 y1 z1 i1 j1 k1 sch=2 ot magsteps fov1 fov2…fovmagsteps, na1, na2,…namagsteps, auxlensmag type Where x1, y1, z1 are the center location of the center of the probe tip, i1, j1, k1 are the vector of the probe tip, usually 001, sch is the schema number for the optical center data, ot is the optics_type(1:encoder inifinite zoom, 2 is fixed optics, 3:nonencoder zoom, 4:encoder discrete zoom, 5 is turret microscope, 6 is DCC turret microscope), magsteps is the count of fov and numeric aperture values, fov give the X fov size for each mag step or min and max if infinite zoom, na is the numeric aperture for each mag step or those correponding to the min and max fov size if infinite zoom, auxlensmag is the magnification of any attached auxillary lens, and type is the type of probe (ball, shank, disk, camera, etc.). connect x1 y1 z1 I1 j1 k1 take x1,y1,z1 表示连接位置的坐标 , I1, j1, k1 表示连接矢量, 这个矢量根据当前测头系统定义的坐标系,一般指向中心。 take 表示此处的螺纹类型或者连接类型。 autojoint x1 y1 z1 I1 j1 k1 ina inc sa ea label x1, y1, z1 表示当前测头坐标系下连接点的位置 i1, j1, k1 当前测头坐标系下的连接矢量, 从后向前指向起始位置。 ina 表示连接处默认的初始角度, inc 表示连接的增量。 sa 表示连接的起始角度, ea 表示连接的终止角度, label 表示在测头定义对话框中显示的名称。 manualjoint x1 y1 z1 I1 j1 k1 ina inc sa ea label x1, y1, z1 表示当前测头坐标系下连接点的位置 i1, j1, k1 当前测头坐标系下的连接矢量, 从后向前指向起始位置。 ina 表示连接处默认的初始角度, inc 表示连接的增量。 sa 表示连接的起始角度, ea 表示连接的终止角度, label 表示在测头定义对话框中显示的名称。 face N x1 y1 z1 ... xN yN zN N 表示多边形的边数。 从x1, y1, z1 到 xN, yN, zN分别表示 多边形上的各点坐标 。 solid N “solid” 和 “face”一起使用, “N” 表示之后N个“face” 进行阴影处理。 否则以线框出现。 特殊部件,引用英文的解释 cadgeom X Y Z II IJ IK JI JJ JK KI KJ KK Level FileName X Y Z = The coordinate transformation to move the origin of the CAD file to the start point of the drawing for the probe file. II -> KK = Sets of 3 transformation matrices to rotate the CAD csy to the probe csy. If no changes are required, the nominal values would be cadgeom X Y Z 1 0 0 0 1 0 0 0 1 Level FileName Level = The CAD level number as assigned from within PC-DMIS. If no CAD level exists or if there are multiple levels, you may need to create a new level inside PC-DMIS. FileName = A .draw file which is nothing more than a renamed .cad file. Important note: When importing the IGES/STEP/etc. file, there is a registry entry in the OPTION section that needs to be changed. ConvertToFacetedFaces = 1 This is normally 0 and should only be set to 1 when importing a file that will be used to create a DRAW file.
我要回复

登陆后才能评论

登录
所有回贴(13)
PC-DMIS测头文件编辑指南 V1.0 PC-DMIS软件根目录下的probe.dat文件,决定了PC-DMIS测头系统的图形显示和数据表达。想要在PC-DMIS中使用测头,就要在probe.dat文件中定义。可以使用windows记事本打开这个文件进行定义和编辑。定义测头有特定的格式要求,必须严格遵守。咱们介绍一下。 主要表达方法: Commands: ITEM: begintip endtip ribcount line sphere cutsphere cylinder cone ring comment hotspot opticalcenter connect autojoint manualjoint face solid cadgeom 下面介绍这几个命令: ITEM:TIP2BY20MM M2 第一行ITEM后面出现的第一个名字, 将在测头定义对话框中出现, 之后的M2定义了这个部件的螺纹类型 或者连接类型。 begintip 测针定义开始。 endtip 测针定义结束。 ribcount N N表示行数,2到1000. line x1 y1 z1 x2 y2 z2 x1,y1,z1 是起始点x2,y2,z2 是结束点. sphere x y z d x,y, & z 表示球心坐标,d表示直径。 cutsphere x y z i j k d t b x, y, z,和d 表示的内容与sphere相同, i, j, k 表示垂直于球顶面和底面的矢量。 t, b 定义顶面和底面的位置如下: 顶面 = (x,y,z) + t * (i,j,k) 底面 = (x,y,z) - b * (i,j,k)” cylinder x1 y1 z1 x2 y2 z2 d x1, y1, z1 表示圆柱顶面的位置 x2, y2, z2 表示圆柱底面的位置 d 表示直径。 cone x1 y1 z1 d1 x2 y2 z2 d2 x1, y1, z1表示圆锥顶面的位置, x2, y2, z2表示圆锥底面的位置, d1 表示顶面的直径 d2 表示底面的直径。 ring x1 y1 z1 i1 j1 k1 d1 d2 x1, y1, z1 表示环中心的坐标 i1, j1, k1 相对于当前测头坐标系的环矢量 d1 表示环的外直径, d2表示环的内直径。 comment text 注释。 hotspot x1 y1 z1 i1 j1 k1 d1 t1 type x1, y1, z1 表示测球中心, i1, j1, k1 表示测针矢量, 一般为001, d1 表示测球直径, t1 表示测尖厚度(for disk probe), type 表示测针类型 (ball, shank, disk等)。 光学的部件,引用英文的解释。 opticalcenter x1 y1 z1 i1 j1 k1 sch=1 minf maxf optics_type min_na max_na mag type opticalcenter x1 y1 z1 i1 j1 k1 sch=2 ot magsteps fov1 fov2…fovmagsteps, na1, na2,…namagsteps, auxlensmag type Where x1, y1, z1 are the center location of the center of the probe tip, i1, j1, k1 are the vector of the probe tip, usually 001, sch is the schema number for the optical center data, ot is the optics_type(1:encoder inifinite zoom, 2 is fixed optics, 3:nonencoder zoom, 4:encoder discrete zoom, 5 is turret microscope, 6 is DCC turret microscope), magsteps is the count of fov and numeric aperture values, fov give the X fov size for each mag step or min and max if infinite zoom, na is the numeric aperture for each mag step or those correponding to the min and max fov size if infinite zoom, auxlensmag is the magnification of any attached auxillary lens, and type is the type of probe (ball, shank, disk, camera, etc.). connect x1 y1 z1 I1 j1 k1 take x1,y1,z1 表示连接位置的坐标 , I1, j1, k1 表示连接矢量, 这个矢量根据当前测头系统定义的坐标系,一般指向中心。 take 表示此处的螺纹类型或者连接类型。 autojoint x1 y1 z1 I1 j1 k1 ina inc sa ea label x1, y1, z1 表示当前测头坐标系下连接点的位置 i1, j1, k1 当前测头坐标系下的连接矢量, 从后向前指向起始位置。 ina 表示连接处默认的初始角度, inc 表示连接的增量。 sa 表示连接的起始角度, ea 表示连接的终止角度, label 表示在测头定义对话框中显示的名称。 manualjoint x1 y1 z1 I1 j1 k1 ina inc sa ea label x1, y1, z1 表示当前测头坐标系下连接点的位置 i1, j1, k1 当前测头坐标系下的连接矢量, 从后向前指向起始位置。 ina 表示连接处默认的初始角度, inc 表示连接的增量。 sa 表示连接的起始角度, ea 表示连接的终止角度, label 表示在测头定义对话框中显示的名称。 face N x1 y1 z1 ... xN yN zN N 表示多边形的边数。 从x1, y1, z1 到 xN, yN, zN分别表示 多边形上的各点坐标 。 solid N “solid” 和 “face”一起使用, “N” 表示之后N个“face” 进行阴影处理。 否则以线框出现。 特殊部件,引用英文的解释 cadgeom X Y Z II IJ IK JI JJ JK KI KJ KK Level FileName X Y Z = The coordinate transformation to move the origin of the CAD file to the start point of the drawing for the probe file. II -> KK = Sets of 3 transformation matrices to rotate the CAD csy to the probe csy. If no changes are required, the nominal values would be cadgeom X Y Z 1 0 0 0 1 0 0 0 1 Level FileName Level = The CAD level number as assigned from within PC-DMIS. If no CAD level exists or if there are multiple levels, you may need to create a new level inside PC-DMIS. FileName = A .draw file which is nothing more than a renamed .cad file. Important note: When importing the IGES/STEP/etc. file, there is a registry entry in the OPTION section that needs to be changed. ConvertToFacetedFaces = 1 This is normally 0 and should only be set to 1 when importing a file that will be used to create a DRAW file.
2013-11-08 09:22
回复
取消
提交
:g貌似用不到,不过总比不知道的好:Z
2013-11-08 12:26
回复
取消
提交
这个还是有用的, 目前我们用的都是标准件, 但是当2X40的测针断了后其实自己可以修修的,然后上面的就会用到了
2013-11-08 14:08
回复
取消
提交
貌似用不到,不过了解下也不错
2013-11-08 16:26
回复
取消
提交
牛,楼主很是的牛。顶起来!!!!
2013-11-08 20:35
回复
取消
提交
在新的PC-DMIS 2013 MR1版本,新增一个全图形化的测头组件构造器,不再需要文本编辑了。 [align=left][color=black][font=方正细黑一简体][size=12pt]在自定义测头构造器对话框中,我们可以在“组件构造器中”创建圆柱[/size][/font][/color][color=black][font=Arial][size=12pt]/[/size][/font][/color][color=black][font=方正细黑一简体][size=12pt]椎体[/size][/font][/color][color=black][font=Arial][size=12pt]/[/size][/font][/color][color=black][font=方正细黑一简体][size=12pt]球[/size][/font][/color][color=black][font=Arial][size=12pt]/[/size][/font][/color][color=black][font=方正细黑一简体][size=12pt]盘[/size][/font][/color][color=black][font=Arial][size=12pt]/[/size][/font][/color][color=black][font=方正细黑一简体][size=12pt]多边形等测头组件[/size][/font][/color][color=black][font=Arial][size=12pt]CAD[/size][/font][/color][color=black][font=方正细黑一简体][size=12pt],并可在“装配”复选框中将不同的组件按照需求装配成一体。此外,还可以利用“[/size][/font][/color][color=black][font=Arial][size=12pt]CAD[/size][/font][/color][color=black][font=方正细黑一简体][size=12pt]组件”框导入已有的测头[/size][/font][/color][color=black][font=Arial][size=12pt]CAD[/size][/font][/color][color=black][font=方正细黑一简体][size=12pt]组件,用以进行自由装配。[/size][/font][/color] [/align][align=left][color=black][font=方正细黑一简体][size=12pt]其中,构造“多边形”测头组件时,多边形体每个侧面都增加了装配的联接点,在不需要联接的方向,可双击该面上的红点,取消空连接。[/size][/font][/color][/align] [attachimg]3835[/attachimg] [attachimg]3836[/attachimg]
2014-03-10 14:28
回复
取消
提交
景松刚
顶起来!!!!
2014-03-10 14:33
回复
取消
提交
好贴,收藏,防止以后会用到。。
2014-03-10 15:00
回复
取消
提交
好贴,收藏,防止以后会用到。
2015-08-17 17:06
回复
取消
提交
兰辉
这个还是有用的, 目前我们用的都是标准件, 但是当2X40的测针断了后其实自己可以修修的,然后上面的就会用到
2015-10-31 17:20
回复
取消
提交
在线咨询
关注我们

海克斯康制造智能

电话咨询
400-6580-400

热线电话(工作时间8:30-17:30)

关注我们 电话咨询 在线咨询

海克斯康制造智能