本文主要是介绍RationalDMIS 2020一平面与两偏置圆找正(原点不在偏置圆上),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
如图所示,该零件的特点是两找正孔的连线与坐标轴线不平行,且为间接原点设置。
显然,按常规方法很难找正。
考虑到该类产品在实际测量中并不少见,所以,我们根据图样设计要求,选择了既方便操作又便于推广的最佳拟合坐标系的方法,应用效果非常满意。
具体操作步骤如下:
1.测平面,找正零件坐标系的第一轴;质心置零点
MODE/MAN
F(PLN1)=FEAT/PLANE,CART,9.3707,0.2201,0.0000,0.0000,0.0000,1.0000
$$ Measurement points are created through nominal points
MEAS/PLANE, F(PLN1), 4PTMEAS/CART, -41.1938, -27.1265, 0.0000, 0.0000, 0.0000, 1.0000PTMEAS/CART, -45.9434, 32.9734, 0.0000, 0.0000, 0.0000, 1.0000PTMEAS/CART, 59.4268, 29.2528, 0.0000, 0.0000, 0.0000, 1.0000PTMEAS/CART, 65.1934, -34.2194, 0.0000, 0.0000, 0.0000, 1.0000
ENDMES
D(CRD1) = DATSET/FA(PLN1), ZDIR
D(CRD1) = TRANS/ZORIG, FA(PLN1)
2.测圆1和圆2;
F(CIR1)=FEAT/CIRCLE,INNER,CART,-34.0000,25.0000,-3.0000,0.0000,0.0000,1.0000, 16.0000
$$ Measurement points are created through nominal points
MEAS/CIRCLE, F(CIR1), 4PTMEAS/CART, -34.1697, 32.9982, -3.0000, 0.0212, -0.9998, 0.0000PTMEAS/CART, -26.0136, 24.5343, -3.0000, -0.9983, 0.0582, 0.0000PTMEAS/CART, -33.4840, 17.0167, -3.0000, -0.0645, 0.9979, 0.0000PTMEAS/CART, -41.8287, 23.3533, -3.0000, 0.9786, 0.2058, 0.0000
ENDMES
F(CIR2)=FEAT/CIRCLE,INNER,CART,56.0000,-27.0000,-3.0000,0.0000,0.0000,1.0000, 16.0000
$$ Measurement points are created through nominal points
MEAS/CIRCLE, F(CIR2), 4PTMEAS/CART, 55.4230, -19.0208, -3.0000, 0.0721, -0.9974, 0.0000PTMEAS/CART, 63.8075, -25.2556, -3.0000, -0.9759, -0.2180, -0.0000PTMEAS/CART, 57.0712, -34.9280, -3.0000, -0.1339, 0.9910, 0.0000PTMEAS/CART, 48.0471, -27.8667, -3.0000, 0.9941, 0.1083, 0.0000
ENDMES
3.按图样对圆1和圆2进行(2D)理论坐标值的修改;
4.选圆1、圆2平移和旋转完成最佳拟合坐标系的创建过程。
$$/* Header
DMISMN/'Created by [山涧果子] on 星期三, 七月 07, 2021', 4.0
UNITS/MM, ANGDEC, MMPS
WKPLAN/XYPLAN
PRCOMP/ON
TECOMP/ON
FLY/1.0000
MODE/MAN
SNSET/APPRCH, 2.0000
SNSET/RETRCT, 2.0000
SNSET/DEPTH, 0.0000
SNSET/SEARCH, 10.0000
SNSET/CLRSRF, 20.0000
RECALL/D(MCS)
SNSLCT/S(40-D2)
GEOALG/BF, LSTSQR
GEOALG/ANGLB, DEFALT
GEOALG/CIRCLE, LSTSQR
GEOALG/ARC, LSTSQR
GEOALG/PLANE, LSTSQR
$$
$$
$$*/
MODE/MAN
F(PLN1)=FEAT/PLANE,CART,9.3707,0.2201,0.0000,0.0000,0.0000,1.0000
$$ Measurement points are created through nominal points
MEAS/PLANE, F(PLN1), 4PTMEAS/CART, -41.1938, -27.1265, 0.0000, 0.0000, 0.0000, 1.0000PTMEAS/CART, -45.9434, 32.9734, 0.0000, 0.0000, 0.0000, 1.0000PTMEAS/CART, 59.4268, 29.2528, 0.0000, 0.0000, 0.0000, 1.0000PTMEAS/CART, 65.1934, -34.2194, 0.0000, 0.0000, 0.0000, 1.0000
ENDMES
D(CRD1) = DATSET/FA(PLN1), ZDIR
D(CRD1) = TRANS/ZORIG, FA(PLN1)
F(CIR1)=FEAT/CIRCLE,INNER,CART,-34.0000,25.0000,-3.0000,0.0000,0.0000,1.0000, 16.0000
$$ Measurement points are created through nominal points
MEAS/CIRCLE, F(CIR1), 4PTMEAS/CART, -34.1697, 32.9982, -3.0000, 0.0212, -0.9998, 0.0000PTMEAS/CART, -26.0136, 24.5343, -3.0000, -0.9983, 0.0582, 0.0000PTMEAS/CART, -33.4840, 17.0167, -3.0000, -0.0645, 0.9979, 0.0000PTMEAS/CART, -41.8287, 23.3533, -3.0000, 0.9786, 0.2058, 0.0000
ENDMES
F(CIR2)=FEAT/CIRCLE,INNER,CART,56.0000,-27.0000,-3.0000,0.0000,0.0000,1.0000, 16.0000
$$ Measurement points are created through nominal points
MEAS/CIRCLE, F(CIR2), 4PTMEAS/CART, 55.4230, -19.0208, -3.0000, 0.0721, -0.9974, 0.0000PTMEAS/CART, 63.8075, -25.2556, -3.0000, -0.9759, -0.2180, -0.0000PTMEAS/CART, 57.0712, -34.9280, -3.0000, -0.1339, 0.9910, 0.0000PTMEAS/CART, 48.0471, -27.8667, -3.0000, 0.9941, 0.1083, 0.0000
ENDMES
F(CIR1)=FEAT/CIRCLE,INNER,CART,-34.0000,25.0000,-3.0000,0.0000,0.0000,1.0000, 16.0000
F(CIR2)=FEAT/CIRCLE,INNER,CART,56.0000,-27.0000,-3.0000,0.0000,0.0000,1.0000, 16.0000
DMESW/COMAND,'D(CRD2) = LOCATE/XYDIR, ZAXIS, $FA(CIR1), XYZAXI, $FA(CIR2), XYZAXI'
这篇关于RationalDMIS 2020一平面与两偏置圆找正(原点不在偏置圆上)的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!