Calculating Bonus

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

  • Calculating Bonus

    PC-DMIS CAD++ 2018 R2

    2 cylinders measured in the same alignment and workplane. On the 2nd cylinder the bonus is calculated properly on the 1st cylinder it is not. I have deleted the dimesion output and recreated it.

    Any ideas what would cause this?

    CYL_W1 bonus not calculated properly. Reports shows 0.0005 bonus

    Code:
    CIR89 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
    THEO/<0,-0.075,0>,<0,1,0>,0.13032
    ACTL/<0.001068,-0.075,-0.000754>,<0,1,0>,0.131518
    TARG/<0,-0.075,0>,<0,1,0>
    START ANG=0,END ANG=360
    ANGLE VEC=<-0.4140115,0,0.9102716>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    CIR90 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
    THEO/<0,-0.12,0>,<0,1,0>,0.13032
    ACTL/<0.001084,-0.12,-0.000741>,<0,1,0>,0.131312
    TARG/<0,-0.12,0>,<0,1,0>
    START ANG=0,END ANG=360
    ANGLE VEC=<-0.4140115,0,0.9102716>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    CYL_W1 =FEAT/CYLINDER,CARTESIAN,OUT,LEAST_SQR,NO
    THEO/<0,-0.0975,0>,<0,1,0>,0.13032,0.045
    ACTL/<0.001072,-0.097426,-0.00075>,<-0.0003769,0.9999999,-0.0002661>,0.131389,0.045603
    CONSTR/CYLINDER,BF,CIR90,CIR89,,

    CYL_W2 bonus is calculated properly at 0.0027 bonus

    Code:
    CIR91 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
    THEO/<0,-0.075,0>,<0,1,0>,0.13032
    ACTL/<0.000802,-0.075,-0.000213>,<0,1,0>,0.131573
    TARG/<0,-0.075,0>,<0,1,0>
    START ANG=0,END ANG=360
    ANGLE VEC=<-0.414012,0,-0.9102714>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    CIR92 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
    THEO/<0,-0.12,0>,<0,1,0>,0.13032
    ACTL/<0.000801,-0.12,-0.000236>,<0,1,0>,0.131354
    TARG/<0,-0.12,0>,<0,1,0>
    START ANG=0,END ANG=360
    ANGLE VEC=<-0.414012,0,-0.9102714>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=NO
    CYL_W2 =FEAT/CYLINDER,CARTESIAN,IN,LEAST_SQR,NO
    THEO/<0,-0.0975,0>,<0,1,0>,0.13032,0.045
    ACTL/<0.000799,-0.097449,-0.000225>,<-0.0000221,0.9999999,0.0004877>,0.131453,0.045527
    CONSTR/CYLINDER,BF,CIR92,CIR91,,

    Tolerance on diameters is ± 0.00157
    Last edited by YGOLORTEM; 09-16-2020, 08:39 AM.
    Jesse Krook

  • #2
    Code:
    F236_SZ_F238_POS =POSITION : CYL_W1,CYL_W2
    FEATCTRLFRAME/SHOWNOMS=YES,SHOWPARAMS=YES,SHOWEXPANDED=YES
    CADGRAPH=BOTH,REPORTGRAPH=OFF,TEXT=OFF,MULT=250.00 ,ARROWDENSITY=100,OUTPUT=BOTH,UNITS=IN
    COMPOSITE=NO,FIT TO DATUMS=YES,DEV PERPEN CENTERLINE=ON,OUTPUT ALIGNMENT=Current Alignment
    CUSTOMIZED DRF=NO
    STANDARDTYPE=ASME_Y14_5
    SIZE TOLERANCES/2DIAMETER,0.13032,0.00157,0.00157
    PRIMARY DIMENSION/POSITION,DIAMETER,0,MMC,<PZ>,<len>,AM,<dat>,<dat>
    SECONDARY DIMENSION/,<tol>,<MC>,<dat>,<dat>,<dat>
    NOTE/F236_SZ_F238_POS
    FEATURES/CYL_W1,CYL_W2,,
    Set
    <NEW>
    CYL_W1
    X:NOM=-1.28051+0
    Y:NOM=4.77893+0
    <NEW>
    CYL_W2
    X:NOM=1.28051+0
    Y:NOM=4.77893+0
    <NEW>
    Jesse Krook

    Comment


    • #3
      Even calculates it wrong in legacy

      Code:
      DIM F198_A_4= POSITION OF CYLINDER CYL_W1 USE AXIS=AVERAGE REF LENGTH=0.00000 UNITS=IN ,$
      GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH FIT TO DATUMS=ON DEV PERPEN CENTERLINE=OFF DISPLAY=DIAMETER
      AX MEAS NOMINAL +TOL -TOL BONUS DEV OUTTOL
      X -1.28014 -1.28051 0.00037
      Y 4.77754 4.77893 -0.00139
      DF 0.13139 0.13032 0.00157 0.00157 0.00050 0.00107 0.00000 ---#
      D1 0.13145 0.13032 0.00157 0.00157 0.00270 CYLINDER CYL_W2 AT MMC
      TP 0.00287 MMC 0.00197 0.00212 0.00287 0.00000 --#-
      END OF DIMENSION F198_A_4
      Last edited by YGOLORTEM; 09-16-2020, 08:52 AM.
      Jesse Krook

      Comment


      • #4
        CYL_W1 is constructed as a pin instead of a bore.
        153010 Global Advantage w/ LSPX1H_T Analog Probe
        7107 Global Classic TP20
        2019R1 SP1 CAD++

        Comment


        • #5
          Originally posted by RIDER View Post
          CYL_W1 is constructed as a pin instead of a bore.
          Sure was, that was the problem....I can't believe I didn't see that LOL thank you good catch
          Jesse Krook

          Comment

        Related Topics

        Collapse

        Working...
        X