Reporting hit deviation

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

  • Reporting hit deviation

    I am working with DMIS 4.1 CAD++
    I am trying to send the deviation of hits from a scan idiviidually to a text file.
    While using the expression builder I am able to call the feature as follows:

    Features -
    SCAN1.HIT(1)

    In the second extension drop dwn menu the choices are X, Y, Z, I, J, K, XYZ, and IJK.
    No option for .DEV

    I tried just typing in SCAN1.HIT(1).DEV, but this just returned a zero value and a "formula error"

    I am wondring if anyone knows how I can go about building this expression.

    Any help will be appreciated.

    Thanks

    DenCode

  • #2
    I am working on a simular job right now. What I do is high-light my scan do a copy of it, rename it and then past the new one. Next I do a F9 and change it to points. now you can get XYZ & T if you leave them all in there they are going to measure each one twice.

    Comment


    • #3
      You could do a goto and skip the second group. For instance GOTO SKIP_PNT_SCN and add a lable below the points called SKIP_PNTS_SCN. The program will jump over the second set. Why you would do this I have no idea, because the data in the points scan would be worthless the second time you ran the program, but it is an option.

      Bill

      Comment


      • #4
        You could also export the scans as 'Generic'.

        This makes a tab delimeted text file.

        Eric

        Comment


        • #5
          Will T give me the total deviation of the individual scan point from the cad model nominal?
          If so should the code for the expression be as follows?

          SCAN1.HIT(1).T

          Thanks for your help.

          DenCode

          Comment


          • #6
            I dont think T is a valid hit value.
            Links to my utilities for PCDMIS

            Comment


            • #7
              Believe the "T" is for theoretical value. So maybe an expression like:

              SCAN1.HIT[1].T-SCAN1.HIT[1]

              or with the value you're looking for

              SCAN1.HIT[1].TX-SCAN1.HIT[1].X

              Of course you'll need to adjust for +/- directions if you want them.

              Comment


              • #8
                The deviations on a surface would not necessarily be in a straight axis.
                This might give you what you want for each hit.

                deviation =SQRT((S.HIT[1].X-S.HIT[1].TX)^2+(S.HIT[1].Y-S.HIT[1].TY)^2+(S.HIT[1].Z-S.HIT[1].TZ)^2)
                Links to my utilities for PCDMIS

                Comment


                • #9
                  Thanks for the code, I will give it a try.

                  DenCode

                  Comment

                  Related Topics

                  Collapse

                  Working...
                  X