Reporting out a scan as Polar Radius and Angle not Cartesian.

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

  • Reporting out a scan as Polar Radius and Angle not Cartesian.

    I want to show the scan details with radius and angle and I took the points in Polar but it only reports out in Cartesian. Can I or am I missing something?
    sigpicSummer Time. Gotta Love it!

  • #2
    Have you toggled the feature set from cartesian to polar?
    153010 Global Advantage w/ LSPX1H_T Analog Probe
    7107 Global Classic TP20
    2019R1 SP1 CAD++

    Comment


    • #3
      Yes Rider that was it. I thanked you on the Dark Side too.
      sigpicSummer Time. Gotta Love it!

      Comment


      • #4
        I believe it's not directly possible with PC-DMIS (but I'd ask to it 15 years ago !!!!!). .PR and .PA in arrays could be nice also !
        You have to calculate them with assignments.
        ASSIGN/SCN_PR=SQRT(DOT(SCN1.HIT[1..SCN1.NUMHITS].XYZ*MPOINT(1,1,0),SCN1.HIT[1..SCN1.NUMHITS].XYZ*MPOINT(1,1,0)))............it's the distance between each hit and the origin in the Z plane.
        If you don't write the MPOINT, it will give you the 3D distance.

        ASSIGN/V1=RAD2DEG(ATAN(SCN1.HIT[1..SCN1.NUMHITS].Y/SCN1.HIT[1..SCN1.NUMHITS].X))2
        ASSIGN/V2=(SCN1.HIT[1..SCN1.NUMHITS].X/ABS(SCN1.HIT[1..SCN1.NUMHITS].X)-1)*(-90)
        ASSIGN/V3=(SCN1.HIT[1..SCN1.NUMHITS].Y/ABS(SCN1.HIT[1..SCN1.NUMHITS].Y)-1)*(-180)

        ASSIGN/SCN_PA=V1+V2+V3 should give the polar angles between 0 and 360, if I'm not wrong.....

        Comment


        • #5
          JEFMAN, it worked.. I just changed in the EDIT WINDOW the scan from Cartesian to Polar and it worked perfect. values stayed the same
          sigpicSummer Time. Gotta Love it!

          Comment


          • JEFMAN
            JEFMAN commented
            Editing a comment
            I will take a look tomorrow, I'm waiting for this and maybe it exists for a long time !!!!!!!

          • JEFMAN
            JEFMAN commented
            Editing a comment
            More exactly, what I'm looking for is programming a scan in polar coordinates, with a gap between hits in degrees and not in mm...

          • vpt.se
            vpt.se commented
            Editing a comment
            Post it on the Idea Center, JEF!

        Related Topics

        Collapse

        Working...
        X