hexagon logo

Autofeature line screwing me up_Anyone else see this?

Using PC DMIS 2022.1. (Issue started for me with this version of PC DMIS. Was not a problem with previous versions)

I have a lot of turned parts where an arc intersects with a flat plane & I have to report the diameter of where it breaks out. To do this, I intersect an "autofeature line" with an "autofeature circle" to get an intersection point. Do it in 6 places. Construct the 6 points together to get a circle. (Yes I have an alignment that recalls startup with all 6DOF properly constrained and yes I am using correct workplanes while measuring & constructing). I have done this for years and it has always worked. Slight smile

When I do this in 2022, PC DMIS complains about a math error and it won't do the construction. Disappointed

To get around this, I have to delete the autofeature lines & replace the lines with autofeature points and then construct a line through the pnts and then use THAT to create the intersections in each place. Alien

Is pretty annoying..is causing me to change programs that have been "Validated" for years. Is anyone else having issues using "autofeature line" ??Frog

  • Why is this in the Off Topic section? Rolling eyes


    Maybe he only has axis to the OFF-TOPIC area.Rolling eyes


  • Maybe he only has axis to the OFF-TOPIC area.Rolling eyes


    With that post count of his, I think you're right.


  • With that post count of his, I think you're right.


    The only person I know, who can actually talk more non-sense then our VP. Rolling eyes


  • The only person I know, who can actually talk more non-sense then our VP. Rolling eyes


    We measure things with a coordinate measuring machine to get measurements which gives measurements
  • Using PC DMIS 2022.1. (Issue started for me with this version of PC DMIS. Was not a problem with previous versions)

    I have a lot of turned parts where an arc intersects with a flat plane & I have to report the diameter of where it breaks out. To do this, I intersect an "autofeature line" with an "autofeature circle" to get an intersection point. Do it in 6 places. Construct the 6 points together to get a circle. (Yes I have an alignment that recalls startup with all 6DOF properly constrained and yes I am using correct workplanes while measuring & constructing). I have done this for years and it has always worked. Slight smile

    When I do this in 2022, PC DMIS complains about a math error and it won't do the construction. Disappointed

    To get around this, I have to delete the autofeature lines & replace the lines with autofeature points and then construct a line through the pnts and then use THAT to create the intersections in each place. Alien

    Is pretty annoying..is causing me to change programs that have been "Validated" for years. Is anyone else having issues using "autofeature line" ??Frog




    Show us some code Dan
  • Here is a program I made yesterday.

    I initially made the lines as autofeatures and it fails. When I re-did it as constructed lines (as it is below) the code works.

    PLN_XP_CMMWCS_POS1 is a generic plane that was constructed under STARTUP alignment with an XPLUS vector. I use it to rotate because the part itself has no rotationary features.

    PLN_LOC is the bottom of the part.
    CIR_LOC is the outside diameter of the part.

    
    ALI_LOC_CMMWCS=ALIGNMENT/START,RECALL:STARTUP,LIST=YES
                  ALIGNMENT/LEVEL,ZMINUS,PLN_LOC
                  ALIGNMENT/ROTATE,XPLUS,TO,PLN_XP_CMMWCS_POS1,ABOUT,ZMINUS
                  ALIGNMENT/TRANS,XAXIS,CIR_LOC
                  ALIGNMENT/TRANS,YAXIS,CIR_LOC
                  ALIGNMENT/TRANS,ZAXIS,PLN_LOC
                ALIGNMENT/END
                CLEARP/ZPLUS,0.35,ZPLUS,0,ON
                WORKPLANE/YMINUS
                MOVE/CLEARPLANE
    PNT1       =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                THEO/<0.39,0,0.191>,<0,0,1>
                ACTL/<0.39,0,0.191>,<0,0,1>
                TARG/<0.39,0,0.191>,<0,0,1>
                SNAP=NO
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PNT2       =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                THEO/<0.44,0,0.191>,<0,0,1>
                ACTL/<0.44,0,0.191>,<0,0,1>
                TARG/<0.44,0,0.191>,<0,0,1>
                SNAP=NO
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PNT3       =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                THEO/<0.49,0,0.191>,<0,0,1>
                ACTL/<0.49,0,0.191>,<0,0,1>
                TARG/<0.49,0,0.191>,<0,0,1>
                SNAP=NO
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    LIN_INT_1  =FEAT/LINE,CARTESIAN,UNBOUNDED,NO
                THEO/<0.39,0,0.191>,<1,0,0>
                ACTL/<0.39,0,0.191>,<1,0,0>
                CONSTR/LINE,BF,2D,PNT1,PNT2,PNT3,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,WAVELENGTH=0
                MOVE/CLEARPLANE
    FIXEDRAD_RADINT_1=FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,FIXED_RAD
                THEO/<0.58455,0,0.25765>,<0,-1,0>,0.2
                ACTL/<0.58455,0,0.25765>,<0,-1,0>,0.2
                TARG/<0.58455,0,0.25765>,<0,-1,0>
                START ANG=265,END ANG=590
                ANGLE VEC=<1,0,0>
                DIRECTION=CW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    A4         =ALIGNMENT/START,RECALL:ALI_LOC_CMMWCS,LIST=YES
                  ALIGNMENT/TRANS,XAXIS,FIXEDRAD_RADINT_1
                  ALIGNMENT/TRANS,ZAXIS,FIXEDRAD_RADINT_1
                ALIGNMENT/END
    RADINT_1   =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
                THEO/<0,0,0>,<0,-1,0>,0.2
                ACTL/<0,0,0>,<0,-1,0>,0.2
                TARG/<0,0,0>,<0,-1,0>
                START ANG=265,END ANG=590
                ANGLE VEC=<1,0,0>
                DIRECTION=CW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PNT_7__1   =FEAT/POINT,CARTESIAN,NO
                THEO/<-0.07455,0,-0.06665>,<1,0,0>
                ACTL/<-0.07455,0,-0.06665>,<1,0,0>
                CONSTR/POINT,PIERCE,RADINT_1,LIN_INT_1
                RECALL/ALIGNMENT,INTERNAL,ALI_LOC_CMMWCS
                WORKPLANE/XPLUS
                MOVE/CLEARPLANE
    PNT4       =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                THEO/<0,0.39,0.191>,<0,0,1>
                ACTL/<0,0.39,0.191>,<0,0,1>
                TARG/<0,0.39,0.191>,<0,0,1>
                SNAP=NO
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PNT5       =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                THEO/<0,0.44,0.191>,<0,0,1>
                ACTL/<0,0.44,0.191>,<0,0,1>
                TARG/<0,0.44,0.191>,<0,0,1>
                SNAP=NO
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PNT6       =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                THEO/<0,0.49,0.191>,<0,0,1>
                ACTL/<0,0.49,0.191>,<0,0,1>
                TARG/<0,0.49,0.191>,<0,0,1>
                SNAP=NO
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    LIN_INT_2  =FEAT/LINE,CARTESIAN,UNBOUNDED,NO
                THEO/<0,0.39,0.191>,<0,1,0>
                ACTL/<0,0.39,0.191>,<0,1,0>
                CONSTR/LINE,BF,2D,PNT4,PNT5,PNT6,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,WAVELENGTH=0
                MOVE/CLEARPLANE
    FIXEDRAD_RADINT_2=FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,FIXED_RAD
                THEO/<0,0.58455,0.25765>,<1,0,0>,0.2
                ACTL/<0,0.58455,0.25765>,<1,0,0>,0.2
                TARG/<0,0.58455,0.25765>,<1,0,0>
                START ANG=265,END ANG=590
                ANGLE VEC=<0,1,0>
                DIRECTION=CW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    A5         =ALIGNMENT/START,RECALL:ALI_LOC_CMMWCS,LIST=YES
                  ALIGNMENT/TRANS,YAXIS,FIXEDRAD_RADINT_2
                  ALIGNMENT/TRANS,ZAXIS,FIXEDRAD_RADINT_2
                ALIGNMENT/END
    RADINT_2   =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
                THEO/<0,0,0>,<1,0,0>,0.2
                ACTL/<0,0,0>,<1,0,0>,0.2
                TARG/<0,0,0>,<1,0,0>
                START ANG=265,END ANG=590
                ANGLE VEC=<0,1,0>
                DIRECTION=CW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PNT_7__2   =FEAT/POINT,CARTESIAN,NO
                THEO/<0,-0.07455,-0.06665>,<0,1,0>
                ACTL/<0,-0.07455,-0.06665>,<0,1,0>
                CONSTR/POINT,PIERCE,RADINT_2,LIN_INT_2
                RECALL/ALIGNMENT,INTERNAL,ALI_LOC_CMMWCS
                WORKPLANE/YMINUS
                MOVE/CLEARPLANE
    PNT7       =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                THEO/<-0.39,0,0.191>,<0,0,1>
                ACTL/<-0.39,0,0.191>,<0,0,1>
                TARG/<-0.39,0,0.191>,<0,0,1>
                SNAP=NO
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PNT8       =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                THEO/<-0.44,0,0.191>,<0,0,1>
                ACTL/<-0.44,0,0.191>,<0,0,1>
                TARG/<-0.44,0,0.191>,<0,0,1>
                SNAP=NO
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PNT9       =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                THEO/<-0.49,0,0.191>,<0,0,1>
                ACTL/<-0.49,0,0.191>,<0,0,1>
                TARG/<-0.49,0,0.191>,<0,0,1>
                SNAP=NO
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    LIN_INT_3  =FEAT/LINE,CARTESIAN,UNBOUNDED,NO
                THEO/<-0.39,0,0.191>,<-1,0,0>
                ACTL/<-0.39,0,0.191>,<-1,0,0>
                CONSTR/LINE,BF,2D,PNT7,PNT8,PNT9,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,WAVELENGTH=0
                MOVE/CLEARPLANE
    FIXEDRAD_RADINT_3=FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,FIXED_RAD
                THEO/<-0.58455,0,0.25765>,<0,1,0>,0.2
                ACTL/<-0.58455,0,0.25765>,<0,1,0>,0.2
                TARG/<-0.58455,0,0.25765>,<0,1,0>
                START ANG=265,END ANG=590
                ANGLE VEC=<-1,0,0>
                DIRECTION=CW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    A6         =ALIGNMENT/START,RECALL:ALI_LOC_CMMWCS,LIST=YES
                  ALIGNMENT/TRANS,XAXIS,FIXEDRAD_RADINT_3
                  ALIGNMENT/TRANS,ZAXIS,FIXEDRAD_RADINT_3
                ALIGNMENT/END
    RADINT_3   =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
                THEO/<0,0,0>,<0,1,0>,0.2
                ACTL/<0,0,0>,<0,1,0>,0.2
                TARG/<0,0,0>,<0,1,0>
                START ANG=265,END ANG=590
                ANGLE VEC=<-1,0,0>
                DIRECTION=CW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PNT_7__3   =FEAT/POINT,CARTESIAN,NO
                THEO/<0.07455,0,-0.06665>,<-1,0,0>
                ACTL/<0.07455,0,-0.06665>,<-1,0,0>
                CONSTR/POINT,PIERCE,RADINT_3,LIN_INT_3
                RECALL/ALIGNMENT,INTERNAL,ALI_LOC_CMMWCS
                WORKPLANE/XPLUS
                MOVE/CLEARPLANE
    PNT10      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                THEO/<0,-0.39,0.191>,<0,0,1>
                ACTL/<0,-0.39,0.191>,<0,0,1>
                TARG/<0,-0.39,0.191>,<0,0,1>
                SNAP=NO
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PNT11      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                THEO/<0,-0.44,0.191>,<0,0,1>
                ACTL/<0,-0.44,0.191>,<0,0,1>
                TARG/<0,-0.44,0.191>,<0,0,1>
                SNAP=NO
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PNT12      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                THEO/<0,-0.49,0.191>,<0,0,1>
                ACTL/<0,-0.49,0.191>,<0,0,1>
                TARG/<0,-0.49,0.191>,<0,0,1>
                SNAP=NO
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    LIN_INT_4  =FEAT/LINE,CARTESIAN,UNBOUNDED,NO
                THEO/<0,-0.39,0.191>,<0,-1,0>
                ACTL/<0,-0.39,0.191>,<0,-1,0>
                CONSTR/LINE,BF,2D,PNT10,PNT11,PNT12,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,WAVELENGTH=0
                MOVE/CLEARPLANE
    FIXEDRAD_RADINT_4=FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,FIXED_RAD
                THEO/<0,-0.58455,0.25765>,<-1,0,0>,0.2
                ACTL/<0,-0.58455,0.25765>,<-1,0,0>,0.2
                TARG/<0,-0.58455,0.25765>,<-1,0,0>
                START ANG=265,END ANG=590
                ANGLE VEC=<0,-1,0>
                DIRECTION=CW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    A7         =ALIGNMENT/START,RECALL:ALI_LOC_CMMWCS,LIST=YES
                  ALIGNMENT/TRANS,YAXIS,FIXEDRAD_RADINT_4
                  ALIGNMENT/TRANS,ZAXIS,FIXEDRAD_RADINT_4
                ALIGNMENT/END
    RADINT_4   =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR
                THEO/<0,0,0>,<-1,0,0>,0.2
                ACTL/<0,0,0>,<-1,0,0>,0.2
                TARG/<0,0,0>,<-1,0,0>
                START ANG=265,END ANG=590
                ANGLE VEC=<0,-1,0>
                DIRECTION=CW
                SHOW FEATURE PARAMETERS=NO
                SHOW CONTACT PARAMETERS=NO
    PNT_7__4   =FEAT/POINT,CARTESIAN,NO
                THEO/<0,0.07455,-0.06665>,<0,-1,0>
                ACTL/<0,0.07455,-0.06665>,<0,-1,0>
                CONSTR/POINT,PIERCE,RADINT_4,LIN_INT_4
                RECALL/ALIGNMENT,INTERNAL,ALI_LOC_CMMWCS
                WORKPLANE/ZPLUS
    CIR_7      =FEAT/CIRCLE,CARTESIAN,IN,LEAST_SQR,NO
                THEO/<0,0,0.191>,<0,0,1>,1.02
                ACTL/<0,0,0.191>,<0,0,1>,1.02
                CONSTR/CIRCLE,BF,2D,PNT_7__1,PNT_7__2,PNT_7__3,PNT_7__4,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,UPR=0
    



  • Did something maybe get jacked up with the direction of the line that the intersection failed? What happens if you create a line out the .HIT of the autofeature line?


  • Did something maybe get jacked up with the direction of the line that the intersection failed? What happens if you create a line out the .HIT of the autofeature line?


    When the lines were auto features, the vectors were correct..definitely made sure of that Disappointed Thanks for the suggestion...your suggestion is to create a line...I had to create a line (just a different kind..you suggest HIT values and I used pnts) in order for it to work instead of being able to use the autofeature directly