主要应用于铜公(电极),模具等中心对称的工件。
路径:功能操作区
典型的3-2-1创建工件坐标系的步骤如下:
1、测量用于建立零件找正的几何特征,通常测量零件的一个平面
2、测量必要的其他几何特征,用来锁定零件的自由度
3、设为原点,建立坐标系,锁定工件
根据界面提示,在工件上相应的位置测点,然后按“添加/激活坐标系”按钮即可。
注意:一定要勾选创建元素:
用来创建新坐标系的测量点不需要存在数据库.默认情况下,新坐标系建立后它们就丢失掉了.但"创建元素"选项可以用来选择保存这些点.
当选中这个复选框后,就会创建出这些元素同时在自学习模式打开的情况下产生DMIS语句.产生的DMIS语句是可以重复运行的。
操作方法:
在平面上测量4个点,在矩形的每个边顺序各采2点;
坐标系说明:
Z轴:由4个测点确定的平面来确定;
X轴:由第一条边和第三条边的中分线来确定,X轴正方向由第一边上的第1测点到第2测点指向来定;
坐标系原点:Z原点在平面上,XY原点由相对的2边的平分线的交点来确定;
$$/* Header
DMISMN/'Created by [爱科腾瑞科技(北京)有限公司-041520-DEMO] on Tuesday, March 17, 2020', 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(L20-D2.0)
GEOALG/BF, LSTSQR
GEOALG/ANGLB, DEFALT
GEOALG/CIRCLE, LSTSQR
GEOALG/ARC, LSTSQR
GEOALG/PLANE, LSTSQR
$$
$$
$$*/
MODE/MAN
KNPTN1 = VALUE/PRCOMP
KNPTC1 = VALUE/MODE
PRCOMP/ON
MODE/MAN
F(PLN1)=FEAT/PLANE,CART,-0.5813,-0.1518,0.0000,0.0000,0.0000,1.0000
$$ Measurement points are created through nominal points
MEAS/PLANE, F(PLN1), 4
PTMEAS/CART, -21.2446, 10.9426, 1.0000, 0.0000, 0.0000, 1.0000
PTMEAS/CART, -18.6571, -11.5888, 1.0000, 0.0000, 0.0000, 1.0000
PTMEAS/CART, 18.2988, -12.5057, 1.0000, 0.0000, 0.0000, 1.0000
PTMEAS/CART, 19.2776, 12.5445, 1.0000, 0.0000, 0.0000, 1.0000
ENDMES
F(PT1)=FEAT/POINT,CART,-15.0818,-16.0000,-2.5371,0.0000,-1.0000,0.0000
F(PT2)=FEAT/POINT,CART,17.0283,-16.0000,-2.9721,0.0000,-1.0000,0.0000
F(PT3)=FEAT/POINT,CART,23.5000,-11.7921,-1.7680,1.0000,0.0000,0.0000
F(PT4)=FEAT/POINT,CART,23.5000,9.2504,-1.7651,1.0000,0.0000,0.0000
F(PT5)=FEAT/POINT,CART,19.1025,16.0000,-1.0580,0.0000,1.0000,0.0000
F(PT6)=FEAT/POINT,CART,-16.1633,16.0000,-2.2325,0.0000,1.0000,0.0000
F(PT7)=FEAT/POINT,CART,-23.5000,10.1144,-1.8703,-1.0000,0.0000,0.0000
F(PT8)=FEAT/POINT,CART,-23.5000,-5.2558,-2.0616,-1.0000,0.0000,0.0000
PRCOMP/OFF
MEAS/POINT, F(PT1), 1
PTMEAS/CART, -15.0818,-16.0000,-2.5371,0.0000,-1.0000,0.0000
ENDMES
MEAS/POINT, F(PT2), 1
PTMEAS/CART, 17.0283,-16.0000,-2.9721,0.0000,-1.0000,0.0000
ENDMES
MEAS/POINT, F(PT3), 1
PTMEAS/CART, 23.5000,-11.7921,-1.7680,1.0000,0.0000,0.0000
ENDMES
MEAS/POINT, F(PT4), 1
PTMEAS/CART, 23.5000,9.2504,-1.7651,1.0000,0.0000,0.0000
ENDMES
MEAS/POINT, F(PT5), 1
PTMEAS/CART, 19.1025,16.0000,-1.0580,0.0000,1.0000,0.0000
ENDMES
MEAS/POINT, F(PT6), 1
PTMEAS/CART, -16.1633,16.0000,-2.2325,0.0000,1.0000,0.0000
ENDMES
MEAS/POINT, F(PT7), 1
PTMEAS/CART, -23.5000,10.1144,-1.8703,-1.0000,0.0000,0.0000
ENDMES
MEAS/POINT, F(PT8), 1
PTMEAS/CART, -23.5000,-5.2558,-2.0616,-1.0000,0.0000,0.0000
ENDMES
F(LN1)=FEAT/LINE,UNBND,CART,0.9732,-16.0000,-2.7546,0.9999,0.0000,-0.0135,0.0000,0.0000,1.0000
CONST/LINE, F(LN1), BF, FA(PT1), FA(PT2)
F(LN2)=FEAT/LINE,UNBND,CART,1.4696,16.0000,-1.6452,-0.9994,0.0000,-0.0333,0.0000,0.0000,1.0000
CONST/LINE, F(LN2), BF, FA(PT5), FA(PT6)
F(LN3)=FEAT/LINE,UNBND,CART,23.5000,-1.2709,-1.7666,0.0000,1.0000,0.0001,0.0000,0.0000,1.0000
CONST/LINE, F(LN3), BF, FA(PT3), FA(PT4)
F(LN4)=FEAT/LINE,UNBND,CART,-23.5000,2.4293,-1.9660,0.0000,-0.9999,-0.0124,0.0000,0.0000,1.0000
CONST/LINE, F(LN4), BF, FA(PT7), FA(PT8)
F(LN5)=FEAT/LINE,UNBND,CART,0.9732,-16.0000,0.0000,1.0000,0.0000,0.0000,0.0000,0.0000,1.0000
CONST/LINE, F(LN5), PROJLI, FA(LN1), FA(PLN1)
F(LN6)=FEAT/LINE,UNBND,CART,1.4696,16.0000,0.0000,-1.0000,0.0000,0.0000,0.0000,0.0000,1.0000
CONST/LINE, F(LN6), PROJLI, FA(LN2), FA(PLN1)
F(LN7)=FEAT/LINE,UNBND,CART,23.5000,-1.2709,0.0000,0.0000,1.0000,0.0000,0.0000,0.0000,1.0000
CONST/LINE, F(LN7), PROJLI, FA(LN3), FA(PLN1)
F(LN8)=FEAT/LINE,UNBND,CART,-23.5000,2.4293,0.0000,0.0000,-1.0000,0.0000,0.0000,0.0000,1.0000
CONST/LINE, F(LN8), PROJLI, FA(LN4), FA(PLN1)
F(LN9)=FEAT/LINE,UNBND,CART,1.2214,0.0000,0.0000,1.0000,0.0000,0.0000,0.0000,0.0000,1.0000
CONST/LINE, F(LN9), MIDLI, FA(LN5), FA(LN6)
F(LN10)=FEAT/LINE,UNBND,CART,0.0000,0.5792,0.0000,0.0000,1.0000,0.0000,0.0000,0.0000,1.0000
CONST/LINE, F(LN10), MIDLI, FA(LN7), FA(LN8)
F(PT9)=FEAT/POINT,CART,0.0000,0.0000,0.0000,0.0000,0.0000,1.0000
CONST/POINT, F(PT9), INTOF, FA(LN9), FA(LN10)
D(CRD1) = DATSET/FA(PLN1), ZDIR, FA(LN9), XDIR
D(CRD1) = TRANS/XORIG, FA(PT9), YORIG, FA(PT9), ZORIG, FA(PT9)
IF/KNPTN1.EQ.1
PRCOMP/ON
ELSE/KNPTN1.EQ.0
PRCOMP/OFF
ENDIF
IF/KNPTC1.EQ.'AUTO,PROG,MAN'
MODE/AUTO,PROG,MAN
ENDIF
IF/KNPTC1.EQ.'PROG,MAN'
MODE/PROG,MAN
ENDIF
IF/KNPTC1.EQ.'MAN'
MODE/MAN
ENDIF