概述
第一基准为顶部平面,第二基准轴是通过两圆圆心的直线,第三基准是左边圆的圆心投影点。
平面 (平面 1) 测量顶部平面,圆 (圆 1) 测量左边孔,圆 (圆 2) 测量右边孔
$$ NET_DMIS_20160720
$$ MADE IN DE 2023-2-10 14:10:20
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)
GEOALG/PLANE,LSTSQR
F(平面1)=FEAT/PLANE,CART,15.4699,14.7297,0,0,0,1.00000000
MEAS/PLANE,F(平面1),4
PTMEAS/CART,-12.1890,39.7249,0,0,0,1.00000000
PTMEAS/CART,-12.7187,-15.8654,0,0,0,1.00000000
PTMEAS/CART,41.6693,-17.2670,0,0,0,1.00000000
PTMEAS/CART,45.1182,52.3263,0,0,0,1.00000000
ENDMES
SNSET/DEPTH,0
GEOALG/CIRCLE,LSTSQR
DMESW/COMAND,'CONST/SET_PROJ_VEC,FA(平面1),1'
F(圆1)=FEAT/CIRCLE,INNER,CART,0,0,-1.5505,0.06381236,-0.05233602,0.99658864,10.0000
MEAS/CIRCLE,F(圆1),4
PTMEAS/CART,0.1671,4.9972,-1.5505,-0.03341764,-0.99944147,0
PTMEAS/CART,4.8894,-1.0459,-1.5505,-0.97787922,0.20917032,0
PTMEAS/CART,0.1817,-4.9967,-1.5505,-0.03632723,0.99933995,0
PTMEAS/CART,-4.8764,-1.1045,-1.5505,0.97529668,0.22089905,0
ENDMES
SNSET/DEPTH,0
GEOALG/CIRCLE,LSTSQR
DMESW/COMAND,'CONST/SET_PROJ_VEC,FA(平面1),1'
F(圆2)=FEAT/CIRCLE,INNER,CART,31.1770,0,-1.5667,0.09592836,-0.06955678,0.99295499,10.0000
MEAS/CIRCLE,F(圆2),4
PTMEAS/CART,30.8237,4.9875,-1.5667,0.07065702,-0.99750067,0
PTMEAS/CART,35.2029,2.9651,-1.5667,-0.80518644,-0.59302176,0
PTMEAS/CART,31.2865,-4.9988,-1.5667,-0.02191421,0.99975985,0
PTMEAS/CART,26.2214,-0.6650,-1.5667,0.99111660,0.13299578,0
ENDMES
DMESW/COMAND,'CONST/SET_PROJ_VEC,FA(XY),1'
F(直线1)=FEAT/LINE,UNBND,CART,0,0,-1.5722,1.00000000,0,0,0,-1.00000000,0
CONST/LINE,F(直线1),BF,FA(圆1),FA(圆2)
DATDEF/F(平面1),DAT(A_平面1)
D(坐标系1_S)=DATSET/DAT(A_平面1),ZDIR
D(坐标系1_R)=ROTATE/ZAXIS,FA(直线1),XDIR
D(坐标系1_T)=TRANS/XORIG,FA(圆1),YORIG,FA(圆1)
D(坐标系1_T)=TRANS/ZORIG,FA(平面1)
SAVE/DA(坐标系1)
最后
以上就是怕孤单白昼为你收集整理的NETDMIS5.0平面/圆/圆建坐标系2023的全部内容,希望文章能够帮你解决NETDMIS5.0平面/圆/圆建坐标系2023所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复