我是靠谱客的博主 斯文楼房,最近开发中收集的这篇文章主要介绍NETDMIS5.0构造一般特征2023,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

NETDMIS5.0构造功能中可以构造一般特征,包括:点、圆、圆槽、平面、球、方槽、直线、圆柱、圆锥等特征,程序编写人员可以通过它来构造自己定义的或是作为理想基准但是无法测量的特征。
在这里插入图片描述
在这里插入图片描述
如图所示,变速箱齿轮,需要测量在指定高度(70mm)上每个齿轮与基准圆直径(102mm)相交的点的位置,此种情况下需要用构造一般特征来将基准圆构造出来

在这里插入图片描述
在这里插入图片描述

$$ 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,22.5266,23.7059,0,0,0,1.00000000
MEAS/PLANE,F(平面1),3
PTMEAS/CART,4.0794,57.6999,0,0,0,1.00000000
PTMEAS/CART,5.8532,6.5685,0,0,0,1.00000000
PTMEAS/CART,57.6471,6.8493,0,0,0,1.00000000
ENDMES
SNSET/DEPTH,0
DMESW/COMAND,'CONST/SET_PROJ_VEC,FA(平面1),1'
F(直线1)=FEAT/LINE,UNBND,CART,5.1593,0,-1.3806,0.99988717,0,-0.01502159,0,-1.00000000,0
MEAS/LINE,F(直线1),2
PTMEAS/CART,5.1593,0,-1.7985,0,-1.00000000,0
PTMEAS/CART,60.7994,0,-1.7985,0,-1.00000000,0
ENDMES
F(1)=FEAT/POINT,CART,0,3.9350,-1.8788,-1.00000000,0,0
MEAS/POINT,COMP,DME,F(1),1
PTMEAS/CART,0,3.9350,-1.8788,-1.00000000,0,0
ENDMES
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/ZORIG,FA(平面1)
D(坐标系1_T)=TRANS/YORIG,FA(直线1)
D(坐标系1_T)=TRANS/XORIG,FA(1)
DMESW/COMAND,'COORDSYS/CAD=PART'
SAVE/DA(坐标系1)
MODE/AUTO,PROG,MAN
SNSET/RETRCT,1.0000
SNSET/APPRCH,1.0000
DMESW/COMAND,'SNSET/MANRETRCT,1.0000'
DMESW/COMAND,'CLEARP/ZDIR,10.0000,ZDIR,10.0000,ON'
F(平面2)=FEAT/PLANE,CART,33.9355,55.8219,0,0,0,1.00000000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_PLANEPOINTS_1006),AUTOFIGURE,F(平面2),PLANE,CART,LSTSQR,33.9355,55.8219,$
0,0,0,1.00000000,FALSE,FALSE,FALSE,10.0000,"CUR",TRUE,FALSE,POINTS,'6,2.4780,8.9903,0,0,0,1.00000000,$
1.7664,59.2987,0,0,0,1.00000000,22.1108,94.7779,0,0,0,1.00000000,57.1146,96.6342,0,0,0,1.00000000,60.8528,$
69.4028,0,0,0,1.00000000,59.2901,5.8277,0,0,0,1.00000000',TOUCH,0.3000,XYPLAN
F(直线2)=FEAT/LINE,BND,CART,4.0000,0,-2.0000,64.0000,0,-2.0000,0,-1.00000000,0
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_LINE_1007),AUTOFIGURE,F(直线2),LINE_BND,CART,4.0000,0,-2.0000,1.00000000,$
0,0,60.0000,FALSE,FALSE,FALSE,10.0000,"CUR",TRUE,FALSE,0,-1.00000000,0,4,0,0,0,TOUCH,0.3000,XYPLAN,0,$
0,LINE,"","","EXT1","EXT2","EXT3",ENDCAL
F(直线3)=FEAT/LINE,BND,CART,0,4.0000,-2.0000,0,59.0000,-2.0000,-1.00000000,0,0
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_LINE_1007),AUTOFIGURE,F(直线3),LINE_BND,CART,0,4.0000,-2.0000,0,1.00000000,$
0,55.0000,FALSE,FALSE,FALSE,10.0000,"CUR",TRUE,FALSE,-1.00000000,0,0,4,0,0,0,TOUCH,0.3000,XYPLAN,0,0,$
LINE,"","","EXT1","EXT2","EXT3",ENDCAL
F(2)=FEAT/POINT,CART,0,0,-2.0000,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)
DMESW/COMAND,'CLEARP/ZDIR,20.0000,ZDIR,10.0000,ON'
F(1)=FEAT/CIRCLE,INNER,CART,31.5000,31.5000,0,0,0,1.00000000,20.0000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_CIRCLE_1007),AUTOFIGURE,F(1),CIRCLE,INNER,CART,LSTSQR,31.5000,31.5000,$
0,0,0,1.00000000,20.0000,-1.00000000,0,0,5,-3.0000,0,0,0,0,360.0000,TOUCH,CIRCLE,0.3000,0,FALSE,FALSE,$
FALSE,10.0000,"CUR",TRUE,FALSE,0,FA(VECBLD),10.0000,2.5000,3,XYPLAN,"",'7,0,0,0,0,3.0000,0,10','0,1,0,$
5.0000',"EXT3",ENDCAL
DMESW/COMAND,'CLEARP/-YDIR,-20.0000,ZDIR,80.0000,ON'
DMESW/COMAND,'MOVE/CLEARPLANE'
S(A90B180)=SNSDEF/PROBE,INDEX,POL,90.0,180.0,0.0000,0.0000,1.0000,189.6500,2.0000
SNSLCT/SA(A90B180)
F(2)=FEAT/CIRCLE,INNER,CART,21.5000,0,-15.0000,0,-1.00000000,0,20.0000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_CIRCLE_1007),AUTOFIGURE,F(2),CIRCLE,INNER,CART,LSTSQR,21.5000,0,-15.0000,$
0,-1.00000000,0,20.0000,0,0,1.00000000,5,-3.0000,0,0,0,0,360.0000,TOUCH,CIRCLE,0.3000,0,FALSE,FALSE,FALSE,$
10.0000,"CUR",TRUE,FALSE,0,FA(VECBLD),10.0000,2.5000,3,XYPLAN,"",'7,0,0,0,0,3.0000,0,10','0,1,0,5.0000',$
"EXT3",ENDCAL
DMESW/COMAND,'MOVE/CLEARPLANE'
GOTO/INCR,200.000000,0.000000,0.000000,1.000000
S(A0B0)=SNSDEF/PROBE,INDEX,POL,0.0,0.0,0.0000,0.0000,1.0000,189.6500,2.0000
SNSLCT/SA(A0B0)
F(3)=FEAT/CIRCLE,OUTER,CART,0,0,70.0000,1.00000000,0,0,102.0000

最后

以上就是斯文楼房为你收集整理的NETDMIS5.0构造一般特征2023的全部内容,希望文章能够帮你解决NETDMIS5.0构造一般特征2023所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(34)

评论列表共有 0 条评论

立即
投稿
返回
顶部