NETDMIS5.0脱机编程指导2023
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了NETDMIS5.0脱机编程指导2023相关的知识,希望对你有一定的参考价值。
一.脱机编程的步骤
- 转换图档并导入测量软件(使用UG,中望3D等三维软件处理);
- 建立工件坐标系(粗建坐标系 + 精建坐标系)
- 拾取测量点;
- 测量点评价;
- 编辑报告并保存程式;
二.图档转换和导入
- 图档转换 - 将工件坐标系转换到与加工坐标系保持一致:
UG(导出IGES / STP 格式)
中望3D导出iges/ step格式 - 导入测量软件
通过菜单文件 - 导入 - IGES/STP/CAD 选项导入
三.工件坐标系介绍
- 粗建坐标系(面-线-点)
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)
SNSET/RETRCT,2.0000
SNSET/APPRCH,2.0000
GEOALG/PLANE,LSTSQR
F(平面1)=FEAT/PLANE,CART,21.3314,23.6959,0,0,0,1.00000000
MEAS/PLANE,F(平面1),3
PTMEAS/CART,2.7135,59.8533,0,0,0,1.00000000
PTMEAS/CART,3.1945,5.2143,0,0,0,1.00000000
PTMEAS/CART,58.0862,6.0201,0,0,0,1.00000000
ENDMES
SNSET/DEPTH,0
F(直线1)=FEAT/LINE,UNBND,CART,3.7585,0,-2.7356,0.99999833,0,-0.00182514,0,-1.00000000,0
MEAS/LINE,F(直线1),2
PTMEAS/CART,3.7585,0,-2.7356,0,-1.00000000,0
PTMEAS/CART,63.5754,0,-2.8448,0,-1.00000000,0
ENDMES
F(点1)=FEAT/POINT,CART,0,4.0403,-2.3324,-1.00000000,0,0
MEAS/POINT,COMP,DME,F(点1),1
PTMEAS/CART,0,4.0403,-2.3324,-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)
- 安全参数设置
1)切换程序运行程式为自动
2)按F7打开程度安全参数设置菜单——安全平面设置
运行程序过程中的安全平面的定义和选择。
切换“预设平面”——设置安全空间
点击“定义平面”,运行程序过程中的安全平面的定义和选择。
激活平面轴: 选择当前要激活的安全平面。 ( 如: +Z)
偏移值: 从当前坐标系原点位置开始到工件上表面, 再增加一个预设平面的偏置量。
3. 精建坐标系(面-线-线)
四.拾取测量点
进入模拟采点 ,在模型上拾取,点击键盘END按键,开始拾取测量点,取点要求:
》先取分中点,再取其它加工点;
》取点要考虑报告保存分页;
》点尽可能分布开;
》取完点应进行碰撞模拟;
注释:
取完测量点增加以下命令,可使测量后机器移动到安全位置
DMESW/COMAND,MOVE/CLEARPLANE
GOTO/INCR,30.000000,0.000000,0.000000,1.000000
五.评价测量点
评价点轮廓度(T值)
$$ NET_DMIS_20160720
$$ MADE IN DE 2023-2-9 12:59:58
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,1.0000
SNSET/SEARCH,5.0000
SNSET/APPRCH,1.0000
DMESW/COMAND,SNSET/MANRETRCT,2
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)
SNSET/RETRCT,2.0000
SNSET/APPRCH,2.0000
GEOALG/PLANE,LSTSQR
F(平面1)=FEAT/PLANE,CART,21.3314,23.6959,0,0,0,1.00000000
MEAS/PLANE,F(平面1),3
PTMEAS/CART,2.7135,59.8533,0,0,0,1.00000000
PTMEAS/CART,3.1945,5.2143,0,0,0,1.00000000
PTMEAS/CART,58.0862,6.0201,0,0,0,1.00000000
ENDMES
SNSET/DEPTH,0
F(直线1)=FEAT/LINE,UNBND,CART,3.7585,0,-2.7356,0.99999833,0,-0.00182514,0,-1.00000000,0
MEAS/LINE,F(直线1),2
PTMEAS/CART,3.7585,0,-2.7356,0,-1.00000000,0
PTMEAS/CART,63.5754,0,-2.8448,0,-1.00000000,0
ENDMES
F(点1)=FEAT/POINT,CART,0,4.0403,-2.3324,-1.00000000,0,0
MEAS/POINT,COMP,DME,F(点1),1
PTMEAS/CART,0,4.0403,-2.3324,-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
DMESW/COMAND,CLEARP/ZDIR,10.0000,ZDIR,10.0000,ON
F(平面2)=FEAT/PLANE,CART,33.8474,45.5466,0,0,0,1.00000000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_PLANEPOINTS_1006),AUTOFIGURE,F(平面2),PLANE,CART,LSTSQR,33.8474,45.5466,$
0,0,0,1.00000000,FALSE,FALSE,FALSE,10.0000,"CUR",TRUE,FALSE,POINTS,10,3.0891,7.2973,0,0,0,1.00000000,$
2.5412,58.0741,0,0,0,1.00000000,23.4273,93.6888,0,0,0,1.00000000,56.2408,94.0270,0,0,0,1.00000000,59.2998,$
64.3258,0,0,0,1.00000000,59.9439,23.9119,0,0,0,1.00000000,60.0540,5.7200,0,0,0,1.00000000,16.2519,8.1476,$
0,0,0,1.00000000,16.1637,49.7285,0,0,0,1.00000000,41.4625,50.5450,0,0,0,1.00000000,TOUCH,0.3000,XYPLAN
F(直线2)=FEAT/LINE,BND,CART,4.0000,0,-2.0000,62.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,58.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,58.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,54.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)
F(点3)=FEAT/POINT,CART,2.6647,6.8217,0,0,0,1.00000000
MEAS/POINT,COMP,DME,F(点3),1
DMESW/COMAND,MOVE/CLEARPLANE
PTMEAS/CART,2.6647,6.8217,0,0,0,1.00000000
ENDMES
F(点4)=FEAT/POINT,CART,1.9081,59.1710,0,0,0,1.00000000
MEAS/POINT,COMP,DME,F(点4),1
DMESW/COMAND,MOVE/CLEARPLANE
PTMEAS/CART,1.9081,59.1710,0,0,0,1.00000000
ENDMES
F(点5)=FEAT/POINT,CART,22.6701,93.8983,0,0,0,1.00000000
MEAS/POINT,COMP,DME,F(点5),1
DMESW/COMAND,MOVE/CLEARPLANE
PTMEAS/CART,22.6701,93.8983,0,0,0,1.00000000
ENDMES
F(点6)=FEAT/POINT,CART,58.9308,94.9525,0,0,0,1.00000000
MEAS/POINT,COMP,DME,F(点6),1
DMESW/COMAND,MOVE/CLEARPLANE
PTMEAS/CART,58.9308,94.9525,0,0,0,1.00000000
ENDMES
F(点7)=FEAT/POINT,CART,61.7370,53.8588,0,0,0,1.00000000
MEAS/POINT,COMP,DME,F(点7),1
DMESW/COMAND,MOVE/CLEARPLANE
PTMEAS/CART,61.7370,53.8588,0,0,0,1.00000000
ENDMES
F(点8)=FEAT/POINT,CART,60.3701,3.5341,0,0,0,1.00000000
MEAS/POINT,COMP,DME,F(点8),1
DMESW/COMAND,MOVE/CLEARPLANE
PTMEAS/CART,60.3701,3.5341,0,0,0,1.00000000
ENDMES
F(点9)=FEAT/POINT,CART,74.2494,14.5208,-7.2365,0.72144623,0,0.69247046
MEAS/POINT,COMP,DME,F(点9),1
DMESW/COMAND,MOVE/CLEARPLANE
PTMEAS/CART,74.2494,14.5208,-7.2365,0.72144623,0,0.69247046
ENDMES
F(点10)=FEAT/POINT,CART,95.5247,27.6237,-17.7735,0.11358025,0,0.99352883
MEAS/POINT,COMP,DME,F(点10),1
DMESW/COMAND,MOVE/CLEARPLANE
PTMEAS/CART,95.5247,27.6237,-17.7735,0.11358025,0,0.99352883
ENDMES
F(点11)=FEAT/POINT,CART,94.5460,57.7510,-17.6476,0.14154147,0,0.98993233
MEAS/POINT,COMP,DME,F(点11),1
DMESW/COMAND,MOVE/CLEARPLANE
PTMEAS/CART,94.5460,57.7510,-17.6476,0.14154147,0,0.98993233
ENDMES
F(点12)=FEAT/POINT,CART,76.3373,48.0786,-9.2391,0.66179110,0,0.74968829
MEAS/POINT,COMP,DME,F(点12),1
DMESW/COMAND,MOVE/CLEARPLANE
PTMEAS/CART,76.3373,48.0786,-9.2391,0.66179110,0,0.74968829
ENDMES
F(点13)=FEAT/POINT,CART,95.4967,93.0919,-17.7703,0.11437932,0,0.99343715
MEAS/POINT,COMP,DME,F(点13),1
DMESW/COMAND,MOVE/CLEARPLANE
PTMEAS/CART,95.4967,93.0919,-17.7703,0.11437932,0,0.99343715
ENDMES
F(点14)=FEAT/POINT,CART,74.6706,89.1113,-7.6678,0.70941148,0,0.70479455
MEAS/POINT,COMP,DME,F(点14),1
DMESW/COMAND,MOVE/CLEARPLANE
PTMEAS/CART,74.6706,89.1113,-7.6678,0.70941148,0,0.70479455
ENDMES
DMESW/COMAND,MOVE/CLEARPLANE
T(点轮廓度)=TOL/PROFP,-0.0200,0.0200
DMESW/COMAND,OUTPUT/UNIT,DIMENSION/MM
DMESW/COMAND,OUTPUT/UNIT,ANGLE/ANGDEC
DMESW/COMAND,OUTPUT/VECTOR,OFF
OUTPUT/FA(点3),TA(点轮廓度)
T(点轮廓度)=TOL/PROFP,-0.0200,0.0200
DMESW/COMAND,OUTPUT/UNIT,DIMENSION/MM
DMESW/COMAND,OUTPUT/UNIT,ANGLE/ANGDEC
DMESW/COMAND,OUTPUT/VECTOR,OFF
OUTPUT/FA(点4),TA(点轮廓度)
T(点轮廓度)=TOL/PROFP,-0.0200,0.0200
DMESW/COMAND,OUTPUT/UNIT,DIMENSION/MM
DMESW/COMAND,OUTPUT/UNIT,ANGLE/ANGDEC
DMESW/COMAND,OUTPUT/VECTOR,OFF
OUTPUT/FA(点5),TA(点轮廓度)
T(点轮廓度)=TOL/PROFP,-0.0200,0.0200
DMESW/COMAND,OUTPUT/UNIT,DIMENSION/MM
DMESW/COMAND,OUTPUT/UNIT,ANGLE/ANGDEC
DMESW/COMAND,OUTPUT/VECTOR,OFF
OUTPUT/FA(点6),TA(点轮廓度)
T(点轮廓度)=TOL/PROFP,-0.0200,0.0200
DMESW/COMAND,OUTPUT/UNIT,DIMENSION/MM
DMESW/COMAND,OUTPUT/UNIT,ANGLE/ANGDEC
DMESW/COMAND,OUTPUT/VECTOR,OFF
OUTPUT/FA(点7),TA(点轮廓度)
T(点轮廓度)=TOL/PROFP,-0.0200,0.0200
DMESW/COMAND,OUTPUT/UNIT,DIMENSION/MM
DMESW/COMAND,OUTPUT/UNIT,ANGLE/ANGDEC
DMESW/COMAND,OUTPUT/VECTOR,OFF
OUTPUT/FA(点8),TA(点轮廓度)
T(点轮廓度)=TOL/PROFP,-0.0200,0.0200
DMESW/COMAND,OUTPUT/UNIT,DIMENSION/MM
DMESW/COMAND,OUTPUT/UNIT,ANGLE/ANGDEC
DMESW/COMAND,OUTPUT/VECTOR,OFF
OUTPUT/FA(点9),TA(点轮廓度)
T(点轮廓度)=TOL/PROFP,-0.0200,0.0200
DMESW/COMAND,OUTPUT/UNIT,DIMENSION/MM
DMESW/COMAND,OUTPUT/UNIT,ANGLE/ANGDEC
DMESW/COMAND,OUTPUT/VECTOR,OFF
OUTPUT/FA(点10),TA(点轮廓度)
T(点轮廓度)=TOL/PROFP,-0.0200,0.0200
DMESW/COMAND,OUTPUT/UNIT,DIMENSION/MM
DMESW/COMAND,OUTPUT/UNIT,ANGLE/ANGDEC
DMESW/COMAND,OUTPUT/VECTOR,OFF
OUTPUT/FA(点11),TA(点轮廓度)
T(点轮廓度)=TOL/PROFP,-0.0200,0.0200
DMESW/COMAND,OUTPUT/UNIT,DIMENSION/MM
DMESW/COMAND,OUTPUT/UNIT,ANGLE/ANGDEC
DMESW/COMAND,OUTPUT/VECTOR,OFF
OUTPUT/FA(点12),TA(点轮廓度)
T(点轮廓度)=TOL/PROFP,-0.0200,0.0200
DMESW/COMAND,OUTPUT/UNIT,DIMENSION/MM
DMESW/COMAND,OUTPUT/UNIT,ANGLE/ANGDEC
DMESW/COMAND,OUTPUT/VECTOR,OFF
OUTPUT/FA(点13),TA(点轮廓度)
T(点轮廓度)=TOL/PROFP,-0.0200,0.0200
DMESW/COMAND,OUTPUT/UNIT,DIMENSION/MM
DMESW/COMAND,OUTPUT/UNIT,ANGLE/ANGDEC
DMESW/COMAND,OUTPUT/VECTOR,OFF
OUTPUT/FA(点14),TA(点轮廓度)
GOTO/INCR,30.000000,0.000000,0.000000,1.000000
NETDMIS5.0边界点检测2023
在模型上获得薄壁件的理论数据以便测量薄壁件的变形情况。 ( 一次只获得一个边缘点的坐标)
边界点适用于测量棱边的检测,常用于钣金件边缘的检测。
“ 模式” : 辅助点的测点数设置。 一个点辅助面测量一个点, 确定了边缘点的实际深度;两个点测量一条线, 确定了边缘点的实际深度和边缘点在其截面上的矢量方向; 三个点测量一个平面, 确定了边缘点的实际深度和边缘点的矢量方向。
$$ NET_DMIS_20160720
$$ MADE IN DE 2023-2-23 9:25:24
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,1.0000
SNSET/SEARCH,5.0000
SNSET/APPRCH,1.0000
DMESW/COMAND,SNSET/MANRETRCT,1.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)
FEDRAT/MESVEL,MMPS,2.0000
SNSET/RETRCT,2.0000
SNSET/APPRCH,2.0000
DMESW/COMAND,SNSET/MANRETRCT,2.0000
GEOALG/PLANE,LSTSQR
F(平面1)=FEAT/PLANE,CART,31.2650,39.5919,0,0,0,1.00000000
MEAS/PLANE,F(平面1),4
PTMEAS/CART,3.7540,55.2894,0,0,0,1.00000000
PTMEAS/CART,2.7995,4.3170,0,0,0,1.00000000
PTMEAS/CART,60.3669,5.1633,0,0,0,1.00000000
PTMEAS/CART,58.1395,93.5981,0,0,0,1.00000000
ENDMES
SNSET/DEPTH,0
DMESW/COMAND,CONST/SET_PROJ_VEC,FA(平面1),1
F(直线1)=FEAT/LINE,UNBND,CART,3.6651,0,-2.2385,0.99998102,0,-0.00616102,0,-1.00000000,0
MEAS/LINE,F(直线1),2
PTMEAS/CART,3.6651,0,-2.4232,0,-1.00000000,0
PTMEAS/CART,63.6273,0,-2.4232,0,-1.00000000,0
ENDMES
F(点1)=FEAT/POINT,CART,0,4.3945,-2.5726,-1.00000000,0,0
MEAS/POINT,COMP,DME,F(点1),1
PTMEAS/CART,0,4.3945,-2.5726,-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,CLEARP/ZDIR,10.0000,ZDIR,10.0000,ON
F(平面2)=FEAT/PLANE,CART,32.4057,47.9193,0,0,0,1.00000000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_PLANEPOINTS_1006),AUTOFIGURE,F(平面2),PLANE,CART,LSTSQR,32.4057,47.9193,$
0,0,0,1.00000000,FALSE,FALSE,FALSE,0,"CUR",TRUE,FALSE,POINTS,9,2.4645,6.4585,0,0,0,1.00000000,3.1419,$
59.2458,0,0,0,1.00000000,22.8566,94.6659,0,0,0,1.00000000,58.4447,96.4369,0,0,0,1.00000000,61.7202,66.2279,$
0,0,0,1.00000000,60.3207,4.3748,0,0,0,1.00000000,21.8357,6.4613,0,0,0,1.00000000,20.9073,50.4742,0,0,$
0,1.00000000,39.9595,46.9280,0,0,0,1.00000000,TOUCH,0.3000,XYPLAN
GEOALG/CIRCLE,LSTSQR
DMESW/COMAND,CONST/SET_PROJ_VEC,FA(XY),1
F(圆8)=FEAT/CIRCLE,INNER,CART,31.5000,31.5000,-3.0000,0,0,1.00000000,36.0000
CONST/CIRCLE,F(圆8),BF,FA(圆2),FA(圆3),FA(圆4),FA(圆5),FA(圆6),FA(圆7)
F(直线2)=FEAT/LINE,BND,CART,4.0000,0,-2.0000,63.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,59.0000,FALSE,FALSE,FALSE,0,"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,58.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,54.0000,FALSE,FALSE,FALSE,0,"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)
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,-180.0000,180.0000,TOUCH,CIRCLE,0.3000,0,FALSE,$
FALSE,FALSE,0,"CUR",TRUE,FALSE,0,FA(VECBLD),10.0000,2.5000,3,XYPLAN,"",7,1,0,0,0,3.0000,0,10,0,1,0,$
5.0000,"EXT3",ENDCAL
F(圆2)=FEAT/CIRCLE,INNER,CART,31.5000,49.5000,0,0,0,1.00000000,10.0000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_CIRCLE_1007),AUTOFIGURE,F(圆2),CIRCLE,INNER,CART,LSTSQR,31.5000,49.5000,$
0,0,0,1.00000000,10.0000,-1.00000000,0,0,5,-3.0000,0,0,0,-180.0000,180.0000,TOUCH,CIRCLE,0.3000,0,FALSE,$
FALSE,FALSE,0,"CUR",TRUE,FALSE,0,FA(VECBLD),10.0000,2.5000,3,XYPLAN,"",7,1,0,0,0,3.0000,0,10,0,1,0,$
5.0000,"EXT3",ENDCAL
F(圆3)=FEAT/CIRCLE,INNER,CART,15.9115,40.5000,0,0,0,1,10.0000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_CIRCLE_1007),AUTOFIGURE,F(圆3),CIRCLE,INNER,CART,LSTSQR,15.9115,40.5000,$
0,0,0,1,10.0000,-0.5,-0.8660254,0,5,-3.0000,0,0,0,-180.0000,180.0000,TOUCH,CIRCLE,0.3000,0,FALSE,FALSE,$
FALSE,0,"CUR",TRUE,FALSE,0,FA(VECBLD),10.0000,2.5000,3,XYPLAN,"",7,1,0,0,0,3.0000,0,10,0,1,0,5.0000,$
"EXT3",ENDCAL
F(圆4)=FEAT/CIRCLE,INNER,CART,15.9115,22.5000,0,0,0,1,10.0000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_CIRCLE_1007),AUTOFIGURE,F(圆4),CIRCLE,INNER,CART,LSTSQR,15.9115,22.5000,$
0,0,0,1,10.0000,0.5,-0.8660254,0,5,-3.0000,0,0,0,-180.0000,180.0000,TOUCH,CIRCLE,0.3000,0,FALSE,FALSE,$
FALSE,0,"CUR",TRUE,FALSE,0,FA(VECBLD),10.0000,2.5000,3,XYPLAN,"",7,1,0,0,0,3.0000,0,10,0,1,0,5.0000,$
"EXT3",ENDCAL
F(圆5)=FEAT/CIRCLE,INNER,CART,31.5000,13.5000,0,0,0,1,10.0000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_CIRCLE_1007),AUTOFIGURE,F(圆5),CIRCLE,INNER,CART,LSTSQR,31.5000,13.5000,$
0,0,0,1,10.0000,1,0,0,5,-3.0000,0,0,0,-180.0000,180.0000,TOUCH,CIRCLE,0.3000,0,FALSE,FALSE,FALSE,0,"CUR",$
TRUE,FALSE,0,FA(VECBLD),10.0000,2.5000,3,XYPLAN,"",7,1,0,0,0,3.0000,0,10,0,1,0,5.0000,"EXT3",ENDCAL
F(圆6)=FEAT/CIRCLE,INNER,CART,47.0885,22.5000,0,0,0,1,10.0000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_CIRCLE_1007),AUTOFIGURE,F(圆6),CIRCLE,INNER,CART,LSTSQR,47.0885,22.5000,$
0,0,0,1,10.0000,0.5,0.8660254,0,5,-3.0000,0,0,0,-180.0000,180.0000,TOUCH,CIRCLE,0.3000,0,FALSE,FALSE,$
FALSE,0,"CUR",TRUE,FALSE,0,FA(VECBLD),10.0000,2.5000,3,XYPLAN,"",7,1,0,0,0,3.0000,0,10,0,1,0,5.0000,$
"EXT3",ENDCAL
F(圆7)=FEAT/CIRCLE,INNER,CART,47.0885,40.5000,0,0,0,1,10.0000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_CIRCLE_1007),AUTOFIGURE,F(圆7),CIRCLE,INNER,CART,LSTSQR,47.0885,40.5000,$
0,0,0,1,10.0000,-0.5,0.8660254,0,5,-3.0000,0,0,0,-180.0000,180.0000,TOUCH,CIRCLE,0.3000,0,FALSE,FALSE,$
FALSE,0,"CUR",TRUE,FALSE,0,FA(VECBLD),10.0000,2.5000,3,XYPLAN,"",7,1,0,0,0,3.0000,0,10,0,1,0,5.0000,$
"EXT3",ENDCAL
F(点3)=FEAT/POINT,CART,81.2846,48.0055,-12.8864,0.52044052,0,0.85389793
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_POINT_1007),AUTOFIGURE,F(点3),POINT,CART,DME,81.2846,48.0055,-12.8864,$
0.52044052,0,0.85389793,0,0,0,FALSE,FALSE,FALSE,10.0000,"CUR",TRUE,FALSE,1,FA(VECBLD),2.0000,2.5000,3,$
XYPLAN,"","EXT1","EXT2","EXT3",ENDCAL
F(边缘点1)=FEAT/EDGEPT,CART,13.7088,85.0449,0,-0.86542734,0.50103446,0,0,0,1.00000000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_POINTEDGE_1006),AUTOFIGURE,F(边缘点1),EDGEPT,CART,13.7088,85.0449,0,-0.86542734,$
0.50103446,0,0,0,0,0,1.00000000,2.0000,2.0000,5.0000,5.0000,3,1.0000,XYPLAN
F(边缘点2)=FEAT/EDGEPT,CART,8.3980,75.8718,0,-0.86542734,0.50103446,0,0,0,1.00000000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_POINTEDGE_1006),AUTOFIGURE,F(边缘点2),EDGEPT,CART,8.3980,75.8718,0,-0.86542734,$
0.50103446,0,0,0,0,0,1.00000000,2.0000,2.0000,5.0000,5.0000,2,1.0000,XYPLAN
以上是关于NETDMIS5.0脱机编程指导2023的主要内容,如果未能解决你的问题,请参考以下文章