Your Products have been synced, click here to refresh
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>,$
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |