TotalDMIS专业、灵活、高效的DMIS编程开发平台
1)通过德国PTB"高斯-最小二乘法"认证
2)通过德国PTB"切比雪夫-最小区域法"认证
有些DMIS软件系统因为设计原因, 在切换坐标系后会影响到理论值的正确性. 例如下面的DMIS程序:
DMISMN/'Test',05.0
UNITS/MM,ANGDEC
RECALL/D(MCS)
$$定义一个初始坐标系
D(Crd1) = ROTATE/XAXIS,45.0000
$$定义一个圆元素
F(Cir1)=FEAT/CIRCLE,INNER,CART,100, 200, 300, 0.0, 0.0, 1.0, 30
FA(Cir1)=FEAT/CIRCLE,INNER,CART,100.03, 200.02, 300.45, 0.0, 0.0, 1.0, 30
$$定义第二个坐标系
D(Crd2) = TRANS/XORIG,FA(Cir1),YORIG,FA(Cir1),ZORIG,FA(Cir1)
$$定义输出的公差
T(CORTOL1)=TOL/CORTOL,XAXIS,-0.1, 0.1
T(CORTOL2)=TOL/CORTOL,YAXIS,-0.1, 0.1
T(CORTOL3)=TOL/CORTOL,ZAXIS,-0.1, 0.1
V(TEXT)=VFORM/ALL
DISPLY/TERM,V(TEXT)
OUTPUT/FA(Cir1),TA(CORTOL1),TA(CORTOL2),TA(CORTOL3)
ENDFIL
特征圆Cir1的X,Y,Z坐标公差正确的值应该都是0.0, 而有的DMIS软件系统会因为坐标系的原因, 计算的X,Y,Z坐标公差为错误的0.03, 0.02, 0.45
这些有问题的DMIS软件必须要在计算公差之前, 重新定义一遍特征的理论值后才能正确计算公差. 这就需要用户重新计算理论值, 这样做不仅麻烦,易错, 而且程序也会变得复杂臃肿
TotalDMIS严格遵循DMIS标准, 无需用户对DMIS代码进行任何的添加和修改. 即可计算出正确的公差值.
DMISMN/'MyInspection',05.0
UNITS/MM,ANGDEC
WKPLAN/XYPLAN
MODE/PROG, MAN
PRCOMP/ON
$$Definition of an Initial Reference System
$$定义一个初始坐标系
RECALL/D(MCS)
D(INITIAL) = ROTATE/ZAXIS,20.0000
D(INITIAL) = ROTATE/YAXIS,50.0000
D(INITIAL) = ROTATE/XAXIS,60.0000
$$Definition of an feature to send to output
$$定义一个用于输出的元素
F(C_1)=FEAT/CIRCLE,INNER,CART,318.9920,-201.4900,25.0000,0.00000000,0.00000000,1.00000000,8.5000
FA(C_1)=FEAT/CIRCLE,INNER,CART,318.934,-201.35,24.987,0.00000000,0.00000000,1.00000000,8.5000
$$Definition of second Reference System
$$定义第二个坐标系
D(SECOND_REFERENCE) = TRANS/XORIG,FA(C_1),YORIG,FA(C_1),ZORIG,FA(C_1)
$$Definition of some tolerance for Output
$$定义用于输出的公差
T(CORTOL_1)=TOL/CORTOL,XAXIS,-0.1000,0.1000
T(CORTOL_2)=TOL/CORTOL,YAXIS,-0.1000,0.1000
T(CORTOL_3)=TOL/CORTOL,ZAXIS,-0.1000,0.1000
$$Output on Terminal
$$输出到终端
V(TEXT)=VFORM/ALL
DISPLY/TERM,V(TEXT)
$$Output in Second Reference System without definition
$$在第二个坐标系下输出无需重新定义
TEXT/OUTFIL,'The feature has the correct Nominal in Both Reference Systems Without Re-Definit'
RECALL/D(SECOND_REFERENCE)
OUTPUT/FA(C_1),TA(CORTOL_1),TA(CORTOL_2),TA(CORTOL_3)
ENDFIL