hexagon logo

Diameter at distance

I have tried everything so get some consistent results, This is what calypso does to make this happen and would like to try and replicate it best I can to see if it works. It takes 26 vertical scans then makes and offset plane at the desired distance and makes a intersect point to each scan then makes a circle. I cant get pc-dmis to make the intersect point right where the plane meets the scan I makes me a point where the centroid of the scan would meet the plane so its way past the scan. I have tried vector points at the same height and distance and advance scans turn them into circles and noting is remotely close to the results that calypso gets. Thats why I'm trying this method.





{"data-align":"none","data-size":"custom","data-tempid":"temp_24773_1686662231365_792","height":"213","width":"350"}
Parents
  • You could also search the two closest hits from the plane :
    ASSIGN/V1=ABS(DOT(SCN1.HIT[1..SCN1.NUMHITS].XYZ-PL1.XYZ,PL1.IJK))..............................pos itive distances between hits and plane
    ASSIGN/V2=MININDICES(V1)................................. .................................................. .........................sort indices of distance from the smallest to the largest
    ASSIGN/V3=UNIT(SCN1.HIT[V2[2]].XYZ-SCN1.HIT[V2[1]].XYZ)............................................. ..........vector between both closest hits (should be on each side of the plane)
    ASSIGN/V4=DEG2RAD(ACOS(DOT(V3,PL1.IJK)).................. .................................................. .........angle between vector and vector plane
    ASSIGN/V5=DOT(SCN1.HIT[V2[1]].XYZ-PL1.XYZ,PL1.IJK).................................. ............................distance between closest hit and plane
    ASSIGN/V6=SCN1.HIT[V2[1]].XYZ+V5/COS(V4)*V3........................................ .................................coordinates of intersect point
    F1 = GENERIC/POINT,DEPENDENT,CARTESIAN,$
    NOM/XYZ,<V6.X,V6.Y,V6.Z>,$
    MEAS/XYZ,<V6.X,V6.Y,V6.Z)>,$
    NOM/IJK,<V3.I,V3.J,V3.K>,$
    MEAS/IJK,<V3.I,V3.J,V3.K>,$
Reply
  • You could also search the two closest hits from the plane :
    ASSIGN/V1=ABS(DOT(SCN1.HIT[1..SCN1.NUMHITS].XYZ-PL1.XYZ,PL1.IJK))..............................pos itive distances between hits and plane
    ASSIGN/V2=MININDICES(V1)................................. .................................................. .........................sort indices of distance from the smallest to the largest
    ASSIGN/V3=UNIT(SCN1.HIT[V2[2]].XYZ-SCN1.HIT[V2[1]].XYZ)............................................. ..........vector between both closest hits (should be on each side of the plane)
    ASSIGN/V4=DEG2RAD(ACOS(DOT(V3,PL1.IJK)).................. .................................................. .........angle between vector and vector plane
    ASSIGN/V5=DOT(SCN1.HIT[V2[1]].XYZ-PL1.XYZ,PL1.IJK).................................. ............................distance between closest hit and plane
    ASSIGN/V6=SCN1.HIT[V2[1]].XYZ+V5/COS(V4)*V3........................................ .................................coordinates of intersect point
    F1 = GENERIC/POINT,DEPENDENT,CARTESIAN,$
    NOM/XYZ,<V6.X,V6.Y,V6.Z>,$
    MEAS/XYZ,<V6.X,V6.Y,V6.Z)>,$
    NOM/IJK,<V3.I,V3.J,V3.K>,$
    MEAS/IJK,<V3.I,V3.J,V3.K>,$
Children
No Data