location of furthest point on radius?

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

  • location of furthest point on radius?

    I need to find the distance from my origin to the tip of the radius. I constructed the auto radius. How do I ask for the location of its south most point? See attached.
    Attached Files

  • #2
    Create a generic point at XYZ zero and then do a distance dimension from the point to the circle. In the distance utility box use 3D and add radius.
    Please Join The Effort.
    https://www.pcdmisforum.com/forum/pc...o-metric/page2 (Comment #17)

    Comment


    • #3
      You talking like a MAX distance from a scan ? Laser method will get you there 100%. Depends on how you made the circle and what type of tol. you are looking at I guess ?

      Comment


      • #4
        This is one way to do it

        Code:
        F1 =GENERIC/POINT,DEPENDENT,CARTESIAN,$
        NOM/XYZ,<CIR2.TX,CIR2.TY-CIR2.TR,CIR2.TZ>,$
        MEAS/XYZ,<CIR2.X,CIR2.Y-CIR2.R,CIR2.Z>,$
        NOM/IJK,<0,0,1>,$
        MEAS/IJK,<0,0,1>
        DIM LOC2= LOCATION OF POINT F1 UNITS=MM ,$
        GRAPH=OFF TEXT=OFF MULT=1.00 OUTPUT=BOTH HALF ANGLE=NO
        AX MEAS NOMINAL DEV +TOL -TOL OUTTOL
        Y -7.0000 -7.0000 0.0000 0.0500 0.0500 0.0000 ----#----
        END OF DIMENSION LOC2

        Comment


        • vpt.se
          vpt.se commented
          Editing a comment
          The result is a calculated point using radius and center point (not the "actual" point most furthest from the origin), implying the radius is as round as possible.

        • JesseB413
          JesseB413 commented
          Editing a comment
          You're right, thanks for the clarification vpt.se

        • vpt.se
          vpt.se commented
          Editing a comment
          No worries, I felt that we had to explain the differences between the two solutions.

      • #5
        Code:
        assign/v1=sqrt(dot(cir2.hit[1..cir2.numhits].xyz,cir2.hit[1..cir2.numhits].xyz))
        assign/v2=maxindex(v1)
        f1 =generic/point,dependent,cartesian,$
        nom/xyz,<cir2.hit[v2].x,cir2.hit[v2].y,cir2.hit[v2].z>,$
        meas/xyz,<cir2.hit[v2].x,cir2.hit[v2].y,cir2.hit[v2].z>,$
        nom/ijk,<cir2.hit[v2].i,cir2.hit[v2].j,cir2.hit[v2].k>,$
        meas/ijk,<cir2.hit[v2].i,cir2.hit[v2].j,cir2.hit[v2].k1>

        Comment


        • vpt.se
          vpt.se commented
          Editing a comment
          This retrieves the actual hit of the radius that is furthest from the origin (not a calculated point).

        • JEFMAN
          JEFMAN commented
          Editing a comment
          Thanks for the explanation, vpt.se !

        • vpt.se
          vpt.se commented
          Editing a comment
          No worries, I felt that we had to explain the differences between the two solutions.

      • #6
        In addition, the dot product is a product between two vectors.
        Here, just using the coordinates of a point (or a set of points) is exactly the same than using the components of a vector between origin and the same point (because the vector PT1PT2 is constructed by PT2.XYZ-PT1.XYZ, so if PT1=<0,0,0> , PT2.XYZ-PT1.XYZ=PT2.XYZ !!!!!)

        Comment

        Related Topics

        Collapse

        Working...
        X