I need to calculate the resultant vector as shown in image attached
Is there a way to do this kind of calculation in PC-DMIS?

Your Products have been synced, click here to refresh
Thanks for sharing this scheme, it helped me understanding what are datas!
I wrote this code line by line to be more explicit...
ASSIGN/P0=0.0004 ASSIGN/P1=137 ASSIGN/P2=0.0016 ASSIGN/P3=62 ASSIGN/PROJ_X1=P0*COS(DEG2RAD(90-P1) ASSIGN/PROJ_X2=P2*COS(DEG2RAD(90-P3) ASSIGN/PROJ_Y1=P0*SIN(DEG2RAD(90-P1) ASSIGN/PROJ_Y2=P2*SIN(DEG2RAD(90-P3) ASSIGN/PROJ_X2M=-P2*COS(DEG2RAD(90-P3) ASSIGN/PROJ_Y2M=-P2*SIN(DEG2RAD(90-P3) ASSIGN/PROJ_X=PROJ_X1+PROJ_X2M ASSIGN/PROJ_Y=PROJ_Y1+PROJ_Y2M ASSIGN/LENGTH_R=SQRT(PROJ_X^2+PROJ_Y^2) ASSIGN/ANGLE_R=RAD2DEG(ATAN(PROJ_X/PROJ_Y)+180 or directly ASSIGN/LENGTH_R=SQRT((P0*COS(DEG2RAD(90-P1)-P2*COS(DEG2RAD(90-P3))^2+(P0*SIN(DEG2RAD(90-P1)-P2*SIN(DEG2RAD(90-P3))^2) ASSIGN/ANGLE_R=RAD2DEG(ATAN((P0*COS(DEG2RAD(90-P1)-P2*COS(DEG2RAD(90-P3))/(P0*SIN(DEG2RAD(90-P1)-P2*SIN(DEG2RAD(90-P3)))+180
{"data-align":"none","data-size":"large","data-attachmentid":514241}
Thanks for sharing this scheme, it helped me understanding what are datas!
I wrote this code line by line to be more explicit...
ASSIGN/P0=0.0004 ASSIGN/P1=137 ASSIGN/P2=0.0016 ASSIGN/P3=62 ASSIGN/PROJ_X1=P0*COS(DEG2RAD(90-P1) ASSIGN/PROJ_X2=P2*COS(DEG2RAD(90-P3) ASSIGN/PROJ_Y1=P0*SIN(DEG2RAD(90-P1) ASSIGN/PROJ_Y2=P2*SIN(DEG2RAD(90-P3) ASSIGN/PROJ_X2M=-P2*COS(DEG2RAD(90-P3) ASSIGN/PROJ_Y2M=-P2*SIN(DEG2RAD(90-P3) ASSIGN/PROJ_X=PROJ_X1+PROJ_X2M ASSIGN/PROJ_Y=PROJ_Y1+PROJ_Y2M ASSIGN/LENGTH_R=SQRT(PROJ_X^2+PROJ_Y^2) ASSIGN/ANGLE_R=RAD2DEG(ATAN(PROJ_X/PROJ_Y)+180 or directly ASSIGN/LENGTH_R=SQRT((P0*COS(DEG2RAD(90-P1)-P2*COS(DEG2RAD(90-P3))^2+(P0*SIN(DEG2RAD(90-P1)-P2*SIN(DEG2RAD(90-P3))^2) ASSIGN/ANGLE_R=RAD2DEG(ATAN((P0*COS(DEG2RAD(90-P1)-P2*COS(DEG2RAD(90-P3))/(P0*SIN(DEG2RAD(90-P1)-P2*SIN(DEG2RAD(90-P3)))+180
{"data-align":"none","data-size":"large","data-attachmentid":514241}
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |