circle constr from points in loop doesn't change dimension when measured with label

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • circle constr from points in loop doesn't change dimension when measured with label

    I have gauge with 2 different diameters inside – bowtie shape. Smaller dia I measure with no problems, for larger I created 2 loops, 12 points each. I even managed to construct circle and measure it (you guys helped me a few weeks ago to do this). Because operators can use both sides of the gauge I have to measure both sides When I measured bottom and top side of gauge separately starting program each time I have 2 different but similar results what is normal. Problem started when I added goto/label to measure another side of the gauge side running the same program. With label my large diameter measured 2nd time (bottom side) is exactly the same like 1st time (top side)– no difference. Look like it keeps first results in memory and reports it. What should I do? I know I can measure this dia in different ways but I would like to use loops (and understand what’s going on).

    L1 =LABEL/
    C1 =COMMENT/INPUT,YES,FULL SCREEN=NO,
    ENTER SIDE 1 OR 2
    MOVE/POINT,NORMAL,<12.456,0.965,232.66>
    MOVE/CLEARPLANE
    DCC ROUGH ALIGNMENT=GROUP/SHOWALLPARAMS=NO
    ENDGROUP/ID=DCC ROUGH ALIGNMENT
    MOVE/CLEARPLANE
    DCCALGN1 =GROUP/SHOWALLPARAMS=NO
    ENDGROUP/ID=DCCALGN1
    MOVE/CLEARPLANE
    DCCALGN2 =GROUP/SHOWALLPARAMS=NO
    ENDGROUP/ID=DCCALGN2
    MOVE/CLEARPLANE
    SMALL DIA =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,MAX_INSC
    THEO/<0,0,-2>,<0,0,1>,48.816
    ACTL/<0.001,0.002,-2>,<0,0,1>,48.786
    TARG/<0,0,-2>,<0,0,1>
    START ANG=135,END ANG=405
    ANGLE VEC=<1,0,0>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    NUMHITS=20,DEPTH=0,PITCH=0
    SAMPLE METHOD=SAMPLE_HITS
    SAMPLE HITS=0,SPACER=0
    AVOIDANCE MOVE=NO,DISTANCE=10
    FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
    SHOW HITS=NO
    DIM LOC1= LOCATION OF CIRCLE SMALL DIA UNITS=MM ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV MAX MIN OUTTOL
    D 48.816 0.000 0.005 48.786 -0.030 48.803 48.786 0.025 <--------
    END OF DIMENSION LOC1
    MOVE/CLEARPLANE
    LARGE DIA LOOPS=GROUP/SHOWALLPARAMS=YES
    V1 =LOOP/START,ID=YES,NUMBER=12,START=1,SKIP=,
    OFFSET:XAXIS=0,YAXIS=0,ZAXIS=0,ANGLE=5
    PNT5 =FEAT/CONTACT/VECTOR POINT/DEFAULT,POLAR
    THEO/<28.308,62,-2>,<-0.4694716,-0.8829476,0>
    ACTL/<28.316,62,-2>,<-0.4694716,-0.8829476,0>
    TARG/<28.308,62,-2>,<-0.4694716,-0.8829476,0>
    SNAP=YES
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=NO,DISTANCE=10
    SHOW HITS=NO
    LOOP/END
    MOVE/CLEARPLANE
    V2 =LOOP/START,ID=YES,NUMBER=12,START=1,SKIP=,
    OFFSET:XAXIS=0,YAXIS=0,ZAXIS=0,ANGLE=5
    PNT6 =FEAT/CONTACT/VECTOR POINT/DEFAULT,POLAR
    THEO/<28.308,242,-2>,<0.4694716,0.8829476,0>
    ACTL/<28.313,242,-2>,<0.4694716,0.8829476,0>
    TARG/<28.308,242,-2>,<0.4694716,0.8829476,0>
    SNAP=YES
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    AVOIDANCE MOVE=NO,DISTANCE=10
    SHOW HITS=NO
    LOOP/END
    ENDGROUP/ID=LARGE DIA LOOPS
    MOVE/CLEARPLANE
    POINT ON CORNERS=GROUP/SHOWALLPARAMS=NO
    ENDGROUP/ID=POINT ON CORNERS
    LARGE DIA =FEAT/CIRCLE,CARTESIAN,IN,MAX_INSC,NO
    THEO/<0,0,-2>,<0,0,1>,56.616
    ACTL/<0.035,-0.051,-1.999>,<0,0,1>,56.614
    CONSTR/CIRCLE,BF,2D,PNT5[1..12],PNT6[1..12],,,
    OUTLIER_REMOVAL/OFF,3
    FILTER/OFF,UPR=0
    DIM LOC6= LOCATION OF CIRCLE LARGE DIA UNITS=MM ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV MAX MIN OUTTOL
    D 56.616 0.000 0.005 56.614 -0.002 56.668 56.614 0.000 -----#---
    END OF DIMENSION LOC6

    DIM LOC2= LOCATION OF POINT PNT7 UNITS=MM ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV MAX MIN OUTTOL
    T 0.000 0.050 0.050 -0.006 -0.006 -0.006 -0.006 0.000 ---#-----
    END OF DIMENSION LOC2
    DIM LOC3= LOCATION OF POINT PNT8 UNITS=MM ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV MAX MIN OUTTOL
    T 0.000 0.050 0.050 -0.013 -0.013 -0.013 -0.013 0.000 ---#-----
    END OF DIMENSION LOC3
    DIM LOC4= LOCATION OF POINT PNT9 UNITS=MM ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV MAX MIN OUTTOL
    T 0.000 0.050 0.050 -0.002 -0.002 -0.002 -0.002 0.000 ----#----
    END OF DIMENSION LOC4
    DIM LOC5= LOCATION OF POINT PNT10 UNITS=MM ,$
    GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
    AX NOMINAL +TOL -TOL MEAS DEV MAX MIN OUTTOL
    T 0.000 0.050 0.050 -0.006 -0.006 -0.006 -0.006 0.000 ---#-----
    END OF DIMENSION LOC5
    MOVE/POINT,NORMAL,<-15.159,-20.668,159.409>
    MOVE/POINT,NORMAL,<130.432,172.914,231.236>
    C2 =COMMENT/YESNO,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
    next side?
    IF/C2.INPUT=="YES"
    GOTO/L1
    END_IF/
    Attached Files
    Last edited by ewadora; 08-22-2018, 12:21 PM.

Related Topics

Collapse

Working...
X