nan???

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

  • nan???

    So I wrote a new program today in 2019SP1 CAD++ using a model. I had a bunch of vector points that I used to construct a plane for datum A. One of the vector points was too close to a mag riser and caused the probe to false trigger. I stopped the program and moved the point 0.5" in the Y. All of the vector points were on a flat Z+ surface (0,0,1) vector. When the Do You Want to Update the Nominals of Related Features box popped up, I clicked No. After clicking no, I noticed that the theoretical xyz for everything that related to datum A, changed to (nan,nan,nan). It even showed up on the report as nan for the measured values of xactmeasure fcfs that referenced datum A!
    My questions are:
    Is this new for 2019?
    What does it mean and or stand for?
    Is it a bug?
    Has anyone else experienced this behavior?

    TIA for your feedback!!
    153010 Global Advantage w/ LSPX1H_T Analog Probe
    7107 Global Classic TP20
    2019R1 SP1 CAD++

  • #2
    NAN = Not A Number

    or

    NAN = No Aircraft Noise


    Probably one of those two.
    Whatever a man sows, he shall reap.

    Comment


    • Darrollh
      Darrollh commented
      Editing a comment
      Indian bread..... Oh that's Naan! Lol

    • bfire85
      bfire85 commented
      Editing a comment
      Darrollh Ha!

  • #3
    "Not a number" : the value doesn't exist (like SQRT(-1) for example, even if it's exist, but not in the real world)

    Comment


    • RIDER
      RIDER commented
      Editing a comment
      Is this a "new" feature? I have answered No to updating nominals before and have never had this happen. The weird thing is that the measured values remained unchanged (ie. actual numbers), but the theoreticals in the code and the measured values on the report showed nan. Is this going to happen every time I answer No?

    • dph51
      dph51 commented
      Editing a comment
      “Imagine there’s no SQRT(-1), it’s easy if you try”

  • #4
    This is hilarious.

    Comment


    • #5
      Can you post the code ?
      Are you sure that there's no text or non numeritical value in the features ?
      What are the warnings in the F5 ?

      Comment


      • #6
        Code:
        ENT/START,RECALL:A1,LIST=YES
                      ALIGNMENT/ITERATE
                        PNT TARGET RAD=0.001,START LABEL=,FIXTURE TOL=0,ERROR LABEL=
                        MEAS ALL FEAT=ALWAYS,MAX ITERATIONS=5,LEVEL AXIS=ZAXIS,ROTATE AXIS=YAXIS,ORIGIN AXIS=XAXIS
                      LEVEL=PNT7,PNT8,PNT9,,
                      ROTATE=PNT10,PNT11,,
                      ORIGIN=PNT12,,
                    ALIGNMENT/END
        PNT13      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                    THEO/<-0.1367,0.722,0.05>,<0,0,1>
                    ACTL/<-0.1364,0.7221,0.0496>,<0,0,1>
                    TARG/<-0.1367,0.722,0.05>,<0,0,1>
                    SNAP=NO
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      AVOIDANCE MOVE=NO,DISTANCE=0.5
                    SHOW HITS=NO
        PNT14      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                    THEO/<-0.5559,0.7972,0.05>,<0,0,1>
                    ACTL/<-0.5558,0.7972,0.05>,<0,0,1>
                    TARG/<-0.5559,0.7972,0.05>,<0,0,1>
                    SNAP=NO
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      AVOIDANCE MOVE=NO,DISTANCE=0.5
                    SHOW HITS=NO
        PNT15      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                    THEO/<-0.6366,1.1793,0.05>,<0,0,1>
                    ACTL/<-0.6364,1.1792,0.0496>,<0,0,1>
                    TARG/<-0.6366,1.1793,0.05>,<0,0,1>
                    SNAP=NO
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      AVOIDANCE MOVE=NO,DISTANCE=0.5
                    SHOW HITS=NO
        PNT16      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                    THEO/<-0.1789,1.2313,0.05>,<0,0,1>
                    ACTL/<-0.1787,1.2318,0.0493>,<0,0,1>
                    TARG/<-0.1789,1.2313,0.05>,<0,0,1>
                    SNAP=NO
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      AVOIDANCE MOVE=NO,DISTANCE=0.5
                    SHOW HITS=NO
        PNT17      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                    THEO/<-0.121,1.1619,0.05>,<0,0,1>
                    ACTL/<-0.1208,1.1623,0.0494>,<0,0,1>
                    TARG/<-0.121,1.1619,0.05>,<0,0,1>
                    SNAP=NO
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      AVOIDANCE MOVE=NO,DISTANCE=0.5
                    SHOW HITS=NO
        PNT18      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                    THEO/<-0.1494,2.3592,0.05>,<0,0,1>
                    ACTL/<-0.1494,2.3592,0.05>,<0,0,1>
                    TARG/<-0.1494,2.3592,0.05>,<0,0,1>
                    SNAP=NO
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      AVOIDANCE MOVE=NO,DISTANCE=0.5
                    SHOW HITS=NO
        PNT19      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                    THEO/<-0.475,2.2792,0.05>,<0,0,1>
                    ACTL/<-0.4748,2.279,0.0494>,<0,0,1>
                    TARG/<-0.475,2.2792,0.05>,<0,0,1>
                    SNAP=NO
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      AVOIDANCE MOVE=NO,DISTANCE=0.5
                    SHOW HITS=NO
        PNT20      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                    THEO/<-0.6102,2.7445,0.05>,<0,0,1>
                    ACTL/<-0.61,2.7444,0.0501>,<0,0,1>
                    TARG/<-0.6102,2.7445,0.05>,<0,0,1>
                    SNAP=NO
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      AVOIDANCE MOVE=NO,DISTANCE=0.5
                    SHOW HITS=NO
        PNT21      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                    THEO/<-0.1545,2.7798,0.05>,<0,0,1>
                    ACTL/<-0.1542,2.7798,0.0497>,<0,0,1>
                    TARG/<-0.1545,2.7798,0.05>,<0,0,1>
                    SNAP=NO
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      AVOIDANCE MOVE=BOTH,DISTANCE=0.75
                    SHOW HITS=NO
        PNT22      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                    THEO/<4.3299,2.8094,0.05>,<0,0,1>
                    ACTL/<4.3301,2.8093,0.0505>,<0,0,1>
                    TARG/<4.3299,2.8094,0.05>,<0,0,1>
                    SNAP=NO
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      AVOIDANCE MOVE=NO,DISTANCE=0.5
                    SHOW HITS=NO
        PNT23      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                    THEO/<4.8152,2.7191,0.05>,<0,0,1>
                    ACTL/<4.8154,2.7192,0.0489>,<0,0,1>
                    TARG/<4.8152,2.7191,0.05>,<0,0,1>
                    SNAP=NO
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      AVOIDANCE MOVE=NO,DISTANCE=0.5
                    SHOW HITS=NO
        PNT24      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                    THEO/<4.8856,2.3866,0.05>,<0,0,1>
                    ACTL/<4.8858,2.3868,0.0479>,<0,0,1>
                    TARG/<4.8856,2.3866,0.05>,<0,0,1>
                    SNAP=NO
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      AVOIDANCE MOVE=NO,DISTANCE=0.5
                    SHOW HITS=NO
        PNT25      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                    THEO/<4.265,2.1928,0.05>,<0,0,1>
                    ACTL/<4.2651,2.1929,0.0497>,<0,0,1>
                    TARG/<4.265,2.1928,0.05>,<0,0,1>
                    SNAP=NO
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      AVOIDANCE MOVE=NO,DISTANCE=0.5
                    SHOW HITS=NO
        PNT26      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                    THEO/<4.2739,1.01,0.05>,<0,0,1>
                    ACTL/<4.2741,1.0102,0.0498>,<0,0,1>
                    TARG/<4.2739,1.01,0.05>,<0,0,1>
                    SNAP=NO
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      AVOIDANCE MOVE=NO,DISTANCE=0.5
                    SHOW HITS=NO
        PNT27      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                    THEO/<4.3426,1.2164,0.05>,<0,0,1>
                    ACTL/<4.343,1.2166,0.0494>,<0,0,1>
                    TARG/<4.3426,1.2164,0.05>,<0,0,1>
                    SNAP=NO
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      AVOIDANCE MOVE=NO,DISTANCE=0.5
                    SHOW HITS=NO
        PNT28      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                    THEO/<4.8399,1.1476,0.05>,<0,0,1>
                    ACTL/<4.8402,1.1478,0.0479>,<0,0,1>
                    TARG/<4.8399,1.1476,0.05>,<0,0,1>
                    SNAP=NO
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      AVOIDANCE MOVE=NO,DISTANCE=0.5
                    SHOW HITS=NO
        PNT29      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                    THEO/<4.833,0.8016,0.05>,<0,0,1>
                    ACTL/<4.8332,0.8017,0.0487>,<0,0,1>
                    TARG/<4.833,0.8016,0.05>,<0,0,1>
                    SNAP=NO
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      AVOIDANCE MOVE=NO,DISTANCE=0.5
                    SHOW HITS=NO
        PNT30      =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
                    THEO/<4.3217,0.5981,0.05>,<0,0,1>
                    ACTL/<4.3218,0.5981,0.0503>,<0,0,1>
                    TARG/<4.3217,0.5981,0.05>,<0,0,1>
                    SNAP=NO
                    SHOW FEATURE PARAMETERS=NO
                    SHOW CONTACT PARAMETERS=YES
                      AVOIDANCE MOVE=AFTER,DISTANCE=2
                    SHOW HITS=NO
        DATUM_A    =FEAT/PLANE,CARTESIAN,TRIANGLE,YES
                    THEO/<nan,nan,nan>,<nan,nan,nan>
                    ACTL/<2.1051,1.6743,0.0502>,<-0.0000704,-0.0000866,1>
                    CONSTR/PLANE,PRIMARY_DATUM,PNT14,PNT15,PNT16,PNT17,PNT18,PNT19,PNT20,PNT21,PNT22,PNT23,PNT24,PNT25,PNT26,PNT27,PNT28,PNT29,PNT30,PNT13,,
                    MATH_TYPE/CONSTRAINED_L2,BFRE
        153010 Global Advantage w/ LSPX1H_T Analog Probe
        7107 Global Classic TP20
        2019R1 SP1 CAD++

        Comment


        • #7
          The only warnings on JEFMAN are 1. do you want to make this the default id? no. 2. do you want to quit without saving? yes.
          153010 Global Advantage w/ LSPX1H_T Analog Probe
          7107 Global Classic TP20
          2019R1 SP1 CAD++

          Comment


          • #8
            And here is the report.
            Attached Files
            153010 Global Advantage w/ LSPX1H_T Analog Probe
            7107 Global Classic TP20
            2019R1 SP1 CAD++

            Comment


            • #9
              Bug I guess.

              What happens if you F9 the constructed feature and recreate?
              Applications Engineer
              Hexagon UK

              Comment


              • RIDER
                RIDER commented
                Editing a comment
                If I F9 the feature and click yes to update nominals, the nan goes away from the constructed plane theoreticals; however, it still remains on the report. I even F9ed the FCF and the nan remained. Haven't tried re-creating the FCF yet.

            • #10
              Idea for ya for next time....

              Instead of changing the THEO values to move the point, just change the TARGET values. It will touch at the target value without changing the THEO (or any of the THEO values for features down the list)
              sigpic
              Originally posted by AndersI
              I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

              Comment


              • #11
                I would create a feature set with the points, and then create the datum plane from it.

                Comment


                • #12
                  could this be from Primary datum in constructed plane?

                  Comment


                  • #13
                    Send prg and associated files to tech support for analysis.

                    Comment


                    • #14
                      Originally posted by Rich P View Post
                      could this be from Primary datum in constructed plane?
                      I was wondering the same thing.

                      Rider, PNT13 is missing from the list of ingredient features but the feature DATUM_PLANE is showing in it's place.

                      Comment


                      • JEFMAN
                        JEFMAN commented
                        Editing a comment
                        PNT13 is the first point of the list, but the last in the datum list.

                      • AndersI
                        AndersI commented
                        Editing a comment
                        PRIMARY_DATUM is the new name for the construction method TANGENT_PLANE. The next line is also a good indication of this (MATH_TYPE/CONSTRAINED_L2,BFRE)

                    • #15
                      Anders wrote,
                      PRIMARY_DATUM is the new name for the construction method TANGENT_PLANE. The next line is also a good indication of this (MATH_TYPE/CONSTRAINED_L2,BFRE)
                      Holy crap.
                      So... we may have a failure of the Tangent Plane w/ Constrained L2 math?

                      OP, switch to simple BRFE and see if you get ian instead of nan

                      "is a number"

                      Comment


                      • RIDER
                        RIDER commented
                        Editing a comment
                        Yes. It only seems to happen when tangent plane is selected. Actual numbers show up in theoretical values when using BF and BFRE. The measured values of features that are dimensioned back to the datum plane still show nan in the report, even after F9ing the FCF.

                    Related Topics

                    Collapse

                    Working...
                    X