概述
对于圆柱的测量,则通过多层圆面采集特征数据。
通过圆柱第一层截面圆心坐标,直径,轴线方向的名义值去测量圆柱。
路径:【基本测量】→【特征测量】→【圆柱】
自动测量圆柱和自动测量圆有很多相同点,不同的是圆柱至少需
要测量两层截面圆。X,Y,Z是圆柱第一层截面圆心坐标,I,J,K指圆柱起始层指向终止层。
“深度1、深度2”:含义如下图所示。深度与选择圆柱的失量方向(红色的箭头)有关,从失量方向开始为深度1(图中为A),深度2(图中为B),AB之间为有效测量长度。
“长度”:显示的是所选圆柱的理论长度。如上图长度表示为L。
测点数—测量圆柱在每一层上测量的点数。
深度1—相对于圆柱顶部的距离。
深度2----相对于圆柱底部的距离。
层—在圆柱深度和结束深度之问测量的层数,每层之间的距离是等分的。推荐8点/2层----15点/3层-----12点/4层。
螺距:对于有螺纹的园柱,我们需要输入螺距,软件会根据螺距数值,进行测点的排列。(比如,每层打四个点的时候,每层相邻的测点会相差1/4个螺距)这是为了使每次测量点得位置能保证在同一个圆柱面上,注意,只能使用球星测针,柱形测针测量螺纹孔是不准的。
$$ NET_DMIS_20160720
$$ MADE IN DE 2023-1-14 17:37:4
INCLUD/DMIS,'NET_DMIS_DEFINES.DMI'
INCLUD/DMIS,'VARDEFINE'
DMESW/COMAND,'PROBE_VAL/INIT'
UNITS/MM,ANGDEC
D(MACHINE)=DATSET/MCS
DMESW/COMAND,'COORDSYS/ALIGN'
WKPLAN/XYPLAN
PRCOMP/ON
PRCOMP/ON
FEDRAT/POSVEL,MMPS,300.0000
ACLRAT/POSACL,MMPSS,100.0000
FEDRAT/MESVEL,MMPS,20.0000
ACLRAT/MESACL,MMPSS,100.0000
SNSET/RETRCT,2.0000
SNSET/SEARCH,5.0000
SNSET/APPRCH,2.0000
DMESW/COMAND,'SNSET/MANRETRCT,2.0000'
DMESW/COMAND,'REPORT/CLEAR'
MODE/MAN
DID(D2L40)=DEVICE/STOR,'D2L40'
OPEN/DID(D2L40),SNS
S(A0B0)=SNSDEF/PROBE,INDEX,POL,0.0,0.0,0.0000,0.0000,1.0000,189.6500,2.0000
SNSLCT/SA(A0B0)
DMESW/COMAND,'SNSET/MANRETRCT,2.0000'
F(平面1)=FEAT/PLANE,CART,21.63858,23.11467,0.00000,0.00000,0.00000,1.00000
MEAS/PLANE,F(平面1),3
PTMEAS/CART,3.0673,58.7184,1.0000,0.0000,0.0000,1.0000
PTMEAS/CART,4.0660,4.5354,1.0000,0.0000,0.0000,1.0000
PTMEAS/CART,57.7824,6.0903,1.0000,0.0000,0.0000,1.0000
ENDMES
DMESW/COMAND,'CONST/SET_PROJ_VEC,FA(平面1),1'
F(直线1)=FEAT/LINE,UNBND,CART,4.87192,0.00000,-2.44597,1.00000,0.00000,0.00000,0.00000,-1.00000,0.00000
MEAS/LINE,F(直线1),2
PTMEAS/CART,4.8719,-1.0000,-2.3886,0.0000,-1.0000,0.0000
PTMEAS/CART,62.5054,-1.0000,-2.5033,0.0000,-1.0000,0.0000
ENDMES
DMESW/COMAND,'CONST/SET_PROJ_VEC,FA(平面1),1'
F(点1)=FEAT/POINT,CART,0.00000,4.22298,-2.45425,-1.00000,0.00000,0.00000
MEAS/POINT,F(点1),1
PTMEAS/CART,-1.0000,4.2230,-2.4543,-1.0000,0.0000,0.0000
ENDMES
DATDEF/FA(平面1),DAT(A_平面1)
DATDEF/FA(直线1),DAT(B_直线1)
DATDEF/FA(点1),DAT(C_点1)
D(坐标系1)=DATSET/DAT(A_平面1),ZDIR,ZORIG,DAT(B_直线1),XDIR,YORIG,DAT(C_点1),XORIG
DMESW/COMAND,'COORDSYS/CAD=PART'
SAVE/DA(坐标系1)
MODE/AUTO,PROG,MAN
SNSET/RETRCT,1.0000
SNSET/APPRCH,1.0000
DMESW/COMAND,'CLEARP/ZDIR,10.0000,ZDIR,10.0000,ON'
F(平面2)=FEAT/PLANE,CART,30.812,49.217,0,0,0,1.00000000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_PLANEPOINTS_1006),AUTOFIGURE,F(平面2),PLANE,CART,LSTSQR,30.812,49.217,0,$
0,0,1.00000000,FALSE,FALSE,FALSE,10.000,"CUR",TRUE,FALSE,POINTS,'12,2.194,6.316,0,0,0,1.00000000,1.701,$
38.962,0,0,0,1.00000000,3.783,62.503,0,0,0,1.00000000,14.804,81.096,0,0,0,1.00000000,21.864,94.716,0,$
0,0,1.00000000,58.618,95.075,0,0,0,1.00000000,60.311,67.464,0,0,0,1.00000000,58.616,39.427,0,0,0,1.00000000,$
61.986,3.792,0,0,0,1.00000000,20.880,4.396,0,0,0,1.00000000,22.880,46.156,0,0,0,1.00000000,42.109,50.705,$
0,0,0,1.00000000',TOUCH,0.300,XYPLAN
F(直线2)=FEAT/LINE,UNBND,CART,3.000,0,-2.000,1.00000000,0,0,0,-1.00000000,0
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_LINE_1007),AUTOFIGURE,F(直线2),LINE_UNBND,CART,3.000,0,-2.000,1.00000000,$
0,0,59.019,FALSE,FALSE,FALSE,10.000,"CUR",TRUE,FALSE,0,-1.00000000,0,4,0,0,0,TOUCH,0.300,XYPLAN,0,0,LINE,$
"","","EXT1","EXT2","EXT3",ENDCAL
F(直线3)=FEAT/LINE,UNBND,CART,0,3.000,-2.000,0,1.00000000,0,-1.00000000,0,0
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_LINE_1007),AUTOFIGURE,F(直线3),LINE_UNBND,CART,0,3.000,-2.000,0,1.00000000,$
0,54.639,FALSE,FALSE,FALSE,10.000,"CUR",TRUE,FALSE,-1.00000000,0,0,4,0,0,0,TOUCH,0.300,XYPLAN,0,0,LINE,$
"","","EXT1","EXT2","EXT3",ENDCAL
F(点2)=FEAT/POINT,CART,0,0,-2.000,0,0,-1.00000000
CONST/POINT,F(点2),INTOF,FA(直线2),FA(直线3)
DATDEF/F(平面2),DAT(A_平面2)
D(坐标系2_S)=DATSET/DAT(A_平面2),ZDIR
D(坐标系2_R)=ROTATE/ZAXIS,FA(直线2),XDIR
D(坐标系2_T)=TRANS/XORIG,FA(点2),YORIG,FA(点2)
D(坐标系2_T)=TRANS/ZORIG,FA(平面2)
SAVE/DA(坐标系2)
GOTO/CART,31.500,31.500,20.000
F(圆柱1)=FEAT/CYLNDR,INNER,CART,31.500,31.500,2.000,0,0,1.00000000,20.000,-8.000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_CYLINDER_1007),AUTOFIGURE,F(圆柱1),CYLNDR,CART,INNER,LSTSQR,31.500,31.500,$
0,0,0,1.00000000,20.000,FALSE,FALSE,FALSE,10.000,"CUR",TRUE,FALSE,1.00000000,0,0,-180.000,180.000,2.000,$
2.000,4,2,TOUCH,CIRCLE,0.300,XYPLAN,"",'9,-8.00000000,0,0,1,1,3.0000,1,0,0.0000',"EXT2","EXT3",ENDCAL
F(圆柱2)=FEAT/CYLNDR,INNER,CART,31.500,31.500,2.000,0,0,1.00000000,20.000,-8.000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_CYLINDER_1007),AUTOFIGURE,F(圆柱2),CYLNDR,CART,INNER,LSTSQR,31.500,31.500,$
0,0,0,1.00000000,20.000,FALSE,FALSE,FALSE,10.000,"CUR",TRUE,FALSE,1.00000000,0,0,-180.000,180.000,2.000,$
2.000,4,2,SCAN,CIRCLE,0.300,XYPLAN,"",'9,-8.00000000,0,0,1,1,3.0000,1,0,0.0000',"EXT2","EXT3",ENDCAL
最后
以上就是无心老师为你收集整理的NETDMIS5.0自动测量圆柱2023的全部内容,希望文章能够帮你解决NETDMIS5.0自动测量圆柱2023所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复