Your Products have been synced, click here to refresh
I'm not at the cmm.
I would try this for the external scan :
ASSIGN/V1=SUM(SCN1.HIT[1..SCN1.NUMHITS].X)/SCN1.NUMHITS
ASSIGN/V2=SUM(SCN1.HIT[1..SCN1.NUMHITS].Y)/SCN1.NUMHITS
ASSIGN/V3=SUM(SCN1.HIT[1..SCN1.NUMHITS].Z)/SCN1.NUMHITS
ASSIGN/V4=MPOINT(V1,V2,V3)
ASSIGN/V5=SCN1.HIT[1..(SCN1.NUMHITS-1)].XYZ-V4
ASSIGN/V6=SCN1.HIT[2..SCN1.NUMHITS].XYZ-V4
ASSIGN/SURFACE=SUM(SQRT(DOT( V1,V1))*SQRT(DOT( V2,V2))*SIN(DEG2RAD(ANGLEBETWEEN( V1,V2))))/2
If it works, you do the same for others scans, then calculate the area...
(I can't check if it works now...)
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |