COPCADBF Command Mode Text

The COPCADBF command allows you to perform a best fit alignment of the pointcloud data with the CAD data.

Below is an example code snippet for a COPCADBF alignment:

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

COPCADBF/REFINE=n1,n2,n3,n4,n5,SHOWALLPARAMS=TOG1,

ROUGH ALIGNPAIR/

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

MEAS/<x1,y1,z1>

REF,TOG2,,

ALIGNMENT/END

 

n1 represents the total number of sample points to use in the refinement.

n2 represents the maximum number of iterations.

n3 represents the offset value for applying a thickness.

n4 represents the maximum standard deviation value.

n5 represents the maximum distance value.

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 and selected using the Graphic Display window. The values next to THEO/ represent the point on the CAD. The values next to MEAS/ represent the corresponding point on the COP. These pairs are used to determine a rough transformation between the CAD and the COP which allows the COP to come close enough to the CAD to allow further refinements of the alignment.

TOG2 lets you choose the pointcloud to use for the alignment.