laser

### MESHMESHBF Command Mode Text

The MESHMESHBF command allows you to perform a best fit alignment of the reference mesh with a second mesh.

Below is an example code snippet for a MESHMESHBF alignment:

A1 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES

MESHMESHBF/REFINE,SHOWALLPARAMS=TOG1,

ROUGH ALIGNPAIR/

THEO/<x,y,z>,<i,j,k>,

MEAS/<x1,y1,z1>

REF,TOG2,TOG3,,

ALIGNMENT/END

TOG1 lets you show or hide the parameters used for the rough alignment. It can be set to YES or NO.

ROUGH ALIGNPAIR/

THEO/x,y,z,i,j,k,

MEAS/x1,y1,z1

These rough alignment pairs of points are defined/selected using the Graphic Display window. The values next to THEO/ represent the point for the reference Mesh. The values next to MEAS/ represent the corresponding point on the second Mesh. These pairs are used to determine a rough transformation between the reference Mesh and the second Mesh which allows the two meshes to come close to allow further refinements of the alignment.

TOG2 determines the reference Mesh used for aligning to the second Mesh.

TOG3 determines the second Mesh used for the alignment back to the reference Mesh.