RationalDMIS 2020  自动测量圆_3d


整圆方法一:


1、定义圆,用CAD线型在3D取圆


    在数模中需要的圆边框上用鼠标左键点击一次,即可选取圆。


RationalDMIS 2020  自动测量圆_3d_02


2、选中圆,右键,自动测量


RationalDMIS 2020  自动测量圆_数模_03

RationalDMIS 2020  自动测量圆_右键_04


附注:自动测量点数设置


RationalDMIS 2020  自动测量圆_右键_05


RationalDMIS 2020  自动测量圆_数模_06


整圆方法二:


1、定义圆,用CAD线型在3D取圆


RationalDMIS 2020  自动测量圆_3d_07


2、将圆拖到测量窗口


RationalDMIS 2020  自动测量圆_右键_08


3、鼠标滚轮设置点数,生成测量点,生成DMIS/测量


RationalDMIS 2020  自动测量圆_3d_09


整圆方法三:圆元素右键产生测量点


  元素数据区提供了丰富的右键功能,其中“产生测量点”可以拓展界面测点管理功能,丰富测量手段,满足个性化测量需求。


圆右键产生测量点有两个选项:‘产生测量点’和‘产生测量点II’。


1.圆右键产生测量点


RationalDMIS 2020  自动测量圆_右键_10


起始点:设置起始点的位置


   起始点:激活后可以用“即点即测”工具在数模或圆图形上点击调整起始点位置


类型:设置内/外圆属性


顺时针方向:设置顺时针或逆时针方向测量


全角度:设置测量点的范围(测量的角度范围。当为非整圆时可设置此参数。


点数目:设置测量点的数目


导程:测量螺纹孔时使用(当圆位于螺旋柱面上时可使用此功能


RationalDMIS 2020  自动测量圆_3d_11

RationalDMIS 2020  自动测量圆_数模_12


2.圆右键产生测量点II


 对于FDC和UCC驱动来说,产生测量点II的最大优势是能够生成真圆弧GOTO路径

RationalDMIS 2020  自动测量圆_数模_13

RationalDMIS 2020  自动测量圆_数模_14


开始角:测量的开始位置


结束角:测量的结束位置


产生方法:设置起始点的位置


点数:设置测量点数


方向元素:支持拖放平面元素


深度:设置测量点的深度

RationalDMIS 2020  自动测量圆_右键_15


半圆测量:


1、定义圆,用CAD线型在3D取圆


RationalDMIS 2020  自动测量圆_数模_16


2、圆右键--产生测量点


RationalDMIS 2020  自动测量圆_数模_17


3、修改全角度和点数,点击产生测量点


RationalDMIS 2020  自动测量圆_数模_18


4、修改点的起始点位置


方法一:


鼠标拖动灰色圆区域转动


RationalDMIS 2020  自动测量圆_数模_19

RationalDMIS 2020  自动测量圆_3d_20


方法二:


(1)光标点亮起始点位置


(2)用在几何元素上创建按钮,在数模上取点,点击产生测量点


RationalDMIS 2020  自动测量圆_3d_21

RationalDMIS 2020  自动测量圆_右键_22


5、点击生成DMIS或测量


RationalDMIS 2020  自动测量圆_右键_23

$$/*  Header

DMISMN/'Created by [山涧果子]  

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(L30D2)

GEOALG/BF, LSTSQR

GEOALG/ANGLB, DEFALT

GEOALG/CIRCLE, LSTSQR

GEOALG/ARC, LSTSQR

GEOALG/PLANE, LSTSQR

$$

$$

$$*/

MODE/MAN

F(PLN1)=FEAT/PLANE,CART,33.8373,33.3120,0.0000,0.0000,0.0000,1.0000

$$ Measurement points are created through nominal points

MEAS/PLANE, F(PLN1), 4

  PTMEAS/CART,  7.6554, 53.3446, 0.0000, 0.0000, 0.0000, 1.0000

  PTMEAS/CART,  5.5068,  7.2957, 0.0000, 0.0000, 0.0000, 1.0000

  PTMEAS/CART, 58.9283,  5.3789, 0.0000, 0.0000, 0.0000, 1.0000

  PTMEAS/CART, 63.2589, 67.2285, 0.0000, 0.0000, 0.0000, 1.0000

ENDMES

F(LN1)=FEAT/LINE,BND,CART,2.7358,0.0000,-2.9911,63.1883,0.0000,-2.6502,0.0000,-1.0000,0.0000

$$ Measurement points are created through nominal points

MEAS/LINE, F(LN1), 2

  PTMEAS/CART,  2.7358, 0.0000, -2.9911, -0.0000, -1.0000, -0.0000

  PTMEAS/CART, 63.1883, 0.0000, -2.6502, -0.0000, -1.0000, -0.0000

ENDMES

F(PT1)=FEAT/POINT,CART,0.0000,3.8419,-2.9192,-1.0000,0.0000,0.0000

MEAS/POINT, F(PT1), 1

  PTMEAS/CART, 0.0000,3.8419,-2.9192,-1.0000,0.0000,0.0000

ENDMES

D(CRD1) = DATSET/FA(PLN1), ZDIR, ZORIG, FA(LN1), XDIR, YORIG, FA(PT1), XORIG

D(CRD1) = TRANS/ZORIG, -0, YORIG, -0, XORIG, -0

$$ Set.CAD2PCS.CADM_1

MODE/PROG,MAN

$$ MACRO: EASI_CLEARPLN_GOTO

$$ FUNCTION: CLEARANCE SURFACE IMPLEMENTATION

$$      Move machine CLEAR SURFACE DIST above the current clear surface 

$$ plane and then move machine parallel to the clear surface plane 

$$ ALL Macro parameters are in PCS and Current UNITS

$$ Last update: 3-1-04 Add mode checking. only works in PROG MODE

$$ Last update: 8-24-04 Clear position is based on the surface of

$$

$$ This sample DMIS Macro is provided by External-Array Software, Inc.

$$ It should be modified for your own use. There is no guarantee for

$$ the quality of this Macro. November, 2003


M(EASI_CLEARPLN_GOTO) = MACRO/ISNOM, TARX, TARY, TARZ

DECL/LOCAL, REAL, CCX, CCY, CCZ, CCI, CCJ, CCK

DECL/LOCAL, REAL, CURX, CURY, CURZ, TD, CLRDIST, SDIAM

DECL/LOCAL, CHAR, 255, CLRLABEL, FLABEL, MMODE, SNAME


MMODE = VALUE/MODE

CLRLABEL = VALUE/SNSET, CLRSRF


IF/ ( (LEN(CLRLABEL) .GT. 0) .AND. (MMODE .EQ. 'PROG,MAN') )

CLRDIST = VALUE/SNSET, CLRSRF, DIST

FLABEL = ASSIGN/'FA'

IF/ ISNOM .EQ. 0

FLABEL = ASSIGN/'F'

ENDIF


CCX = OBTAIN/FLABEL(@CLRLABEL), 3

CCY = OBTAIN/FLABEL(@CLRLABEL), 4

CCZ = OBTAIN/FLABEL(@CLRLABEL), 5

CCI = OBTAIN/FLABEL(@CLRLABEL), 6

CCJ = OBTAIN/FLABEL(@CLRLABEL), 7

CCK = OBTAIN/FLABEL(@CLRLABEL), 8


SNAME = VALUE/SNSLCT

SDIAM = OBTAIN/SS(SNAME), 8

CCX = ASSIGN/CCX + CCI * SDIAM/2

CCY = ASSIGN/CCY + CCJ * SDIAM/2

CCZ = ASSIGN/CCZ + CCK * SDIAM/2


CURX = VALUE/GOTOM, XAXIS

CURY = VALUE/GOTOM, YAXIS

CURZ = VALUE/GOTOM, ZAXIS


TD = ASSIGN/(CURX - CCX) * CCI + (CURY - CCY) * CCJ + (CURZ - CCZ) * CCK

IF/ TD .LT. CLRDIST

TD = ASSIGN/(CLRDIST - TD)

GOTO/CURX+CCI*TD, CURY+CCJ*TD, CURZ+CCK*TD

ENDIF


TD = ASSIGN/(TARX - CCX) * CCI + (TARY - CCY) * CCJ + (TARZ - CCZ) * CCK

IF/ TD .LT. CLRDIST

TD = ASSIGN/(CLRDIST - TD)

GOTO/TARX+CCI*TD, TARY+CCJ*TD, TARZ+CCK*TD

ENDIF

ENDIF


ENDMAC

SNSET/APPRCH, 2.0000

SNSET/RETRCT, 2.0000

SNSET/DEPTH, 0.0000

SNSET/SEARCH, 10.0000

SNSET/CLRSRF, FA(PLN1), 20.0000


GOTO/0.0000, 0.0000, 50.0000

F(CIR1)=FEAT/CIRCLE,INNER,CART,31.5000,31.5000,-3.0000,0.0000,0.0000,1.0000, 20.0000

MODE/AUTO, PROG, MAN


$$ Empty Meas Block

MEAS/CIRCLE, F(CIR1), 4


ENDMES

MODE/PROG, MAN

F(CIR2)=FEAT/CIRCLE,INNER,CART,52.4500,11.5500,-3.0000,0.0000,0.0000,1.0000, 6.7960

$$ Measurement points are created through nominal points

$$ CALL/M(EASI_CLEARPLN_GOTO), 1, 52.1631, 11.8258, 21.0000

MEAS/CIRCLE, F(CIR2), 6

  GOTO/CART,   52.1631, 11.8258, 21.0000

  PTMEAS/CART, 50.0004, 13.9050, -3.0000,  0.7209, -0.6931, 0.0000

  PTMEAS/CART, 49.1857, 10.6061, -3.0000,  0.9606,  0.2778, 0.0000

  PTMEAS/CART, 51.6353,  8.2511, -3.0000,  0.2398,  0.9708, 0.0000

  PTMEAS/CART, 54.8996,  9.1950, -3.0000, -0.7209,  0.6931, 0.0000

  PTMEAS/CART, 55.7143, 12.4939, -3.0000, -0.9606, -0.2778, 0.0000

  PTMEAS/CART, 53.2647, 14.8489, -3.0000, -0.2398, -0.9708, 0.0000

ENDMES

F(CIR3)=FEAT/CIRCLE,INNER,CART,31.5000,13.5000,-3.0000,0.0000,0.0000,1.0000, 10.0000

$$ Measurement points are created through nominal points

$$ CALL/M(EASI_CLEARPLN_GOTO), 1, 33.4945, 13.3518, 17.0000

MEAS/CIRCLE, F(CIR3), 5

  GOTO/CART,   33.4945, 13.3518, 17.0000

  PTMEAS/CART, 36.4863, 13.1296, -3.0000, -0.9973,  0.0741,  0.0000

  GOTO/CART,   33.3511, 12.7428, -3.0000

  GOTO/CART,   33.0265, 12.2078, -3.0000

  GOTO/CART,   32.5525, 11.7993, -3.0000

  PTMEAS/CART, 32.6886,  8.6433, -3.0000, -0.2377,  0.9713,  0.0000

  GOTO/CART,   31.3518, 11.5055, -3.0000

  GOTO/CART,   30.7428, 11.6489, -3.0000

  GOTO/CART,   30.2078, 11.9735, -3.0000

  PTMEAS/CART, 27.2483, 10.8688, -3.0000,  0.8503,  0.5262,  0.0000

  GOTO/CART,   29.5573, 13.0246, -3.0000

  GOTO/CART,   29.5055, 13.6482, -3.0000

  GOTO/CART,   29.6489, 14.2572, -3.0000

  PTMEAS/CART, 27.6837, 16.7305, -3.0000,  0.7633, -0.6461,  0.0000

  GOTO/CART,   30.4475, 15.2007, -3.0000

  GOTO/CART,   31.0246, 15.4427, -3.0000

  GOTO/CART,   31.6482, 15.4945, -3.0000

  PTMEAS/CART, 33.3931, 18.1278, -3.0000, -0.3786, -0.9256, -0.0000

  GOTO/CART,   32.2572, 15.3511, 17.0000

ENDMES

F(CIR4)=FEAT/CIRCLE,INNER,CART,31.5000,49.5000,-3.0000,0.0000,0.0000,1.0000, 10.0000

$$ CALL/M(EASI_CLEARPLN_GOTO), 1, 33.5000, 49.5000, -3.0000

MEAS/CIRCLE, F(CIR4), 8

  PTMEAS/CART, 36.5000, 49.5000, -3.0000, -1.0000, -0.0000, -0.0000

  GOTO/ARC,    32.9142, 50.9142, -3.0000, 33.3478, 50.2654, -3.0000

  PTMEAS/CART, 35.0355, 53.0355, -3.0000, -0.7071, -0.7071, -0.0000

  GOTO/ARC,    31.5000, 51.5000, -3.0000, 32.2654, 51.3478, -3.0000

  PTMEAS/CART, 31.5000, 54.5000, -3.0000, -0.0000, -1.0000, -0.0000

  GOTO/ARC,    30.0858, 50.9142, -3.0000, 30.7346, 51.3478, -3.0000

  PTMEAS/CART, 27.9645, 53.0355, -3.0000,  0.7071, -0.7071,  0.0000

  GOTO/ARC,    29.5000, 49.5000, -3.0000, 29.6522, 50.2654, -3.0000

  PTMEAS/CART, 26.5000, 49.5000, -3.0000,  1.0000,  0.0000,  0.0000

  GOTO/ARC,    30.0858, 48.0858, -3.0000, 29.6522, 48.7346, -3.0000

  PTMEAS/CART, 27.9645, 45.9645, -3.0000,  0.7071,  0.7071,  0.0000

  GOTO/ARC,    31.5000, 47.5000, -3.0000, 30.7346, 47.6522, -3.0000

  PTMEAS/CART, 31.5000, 44.5000, -3.0000,  0.0000,  1.0000,  0.0000

  GOTO/ARC,    32.9142, 48.0858, -3.0000, 32.2654, 47.6522, -3.0000

  PTMEAS/CART, 35.0355, 45.9645, -3.0000, -0.7071,  0.7071,  0.0000

ENDMES

$$ CALL/M(EASI_CLEARPLN_GOTO), 1, 32.9142, 48.0858, -3.0000

F(CIR5)=FEAT/CIRCLE,INNER,CART,32.6612,73.9388,-3.0000,0.0000,0.0000,1.0000, 10.0000

$$ Measurement points are created through nominal points

$$ CALL/M(EASI_CLEARPLN_GOTO), 1, 32.9142, 48.0858, 21.0000

MEAS/CIRCLE, F(CIR5), 5

  GOTO/CART,   32.9142, 48.0858, 21.0000

  GOTO/CART,   30.9493, 72.9046, 21.0000

  GOTO/CART,   30.9493, 72.9046, 17.0000

  PTMEAS/CART, 28.3815, 71.3534, -3.0000,  0.8559,  0.5171, 0.0000

  GOTO/CART,   30.6988, 73.5525, -3.0000

  PTMEAS/CART, 27.7208, 74.7092, -3.0000,  0.9881, -0.1541, 0.0000

  GOTO/CART,   30.9096, 74.9042, -3.0000

  PTMEAS/CART, 29.3718, 77.7045, -3.0000,  0.6579, -0.7531, 0.0000

  GOTO/CART,   31.9399, 75.8043, -3.0000

  PTMEAS/CART, 32.5619, 78.9378, -3.0000,  0.0198, -0.9998, 0.0000

  GOTO/CART,   33.3077, 75.8314, -3.0000

  PTMEAS/CART, 35.7984, 77.8321, -3.0000, -0.6275, -0.7786, 0.0000

  GOTO/CART,   33.9160, 75.4961, 17.0000

ENDMES

$$ Measurement points are created through nominal points

$$ CALL/M(EASI_CLEARPLN_GOTO), 1, 33.9167, 75.4956, 17.0000

MEAS/CIRCLE, F(CIR5), 5

  GOTO/CART,   33.9167, 75.4956, 17.0000

  PTMEAS/CART, 35.8001, 77.8308, -3.0000, -0.6278, -0.7784, 0.0000

  GOTO/CART,   33.3086, 75.8311, -3.0000

  PTMEAS/CART, 32.5640, 78.9379, -3.0000,  0.0194, -0.9998, 0.0000

  GOTO/CART,   31.9407, 75.8045, -3.0000

  PTMEAS/CART, 29.3734, 77.7058, -3.0000,  0.6576, -0.7534, 0.0000

  GOTO/CART,   30.9100, 74.9050, -3.0000

  PTMEAS/CART, 27.7212, 74.7112, -3.0000,  0.9880, -0.1545, 0.0000

  GOTO/CART,   30.6987, 73.5533, -3.0000

  PTMEAS/CART, 28.3804, 71.3551, -3.0000,  0.8561,  0.5167, 0.0000

  GOTO/CART,   30.9489, 72.9053, 17.0000

ENDMES