Creating a Pointcloud to CAD Alignment

To create a Pointcloud to CAD alignment, do the following:

  1. Ensure that you have an imported CAD model in the Graphic Display window and a COP command in the measurement routine. PC-DMIS requires these elements to align pointclouds to the CAD.

  2. Select the Insert | Pointcloud | Alignment menu option.

If you are in Command mode, you can type the COPCADBF command in the Edit window between the ALIGNMENT/START and ALIGNMENT/END commands to open this dialog box.

The Pointcloud/CAD Alignment dialog box opens:

Pointcloud/CAD Alignment dialog box

For a complete description of the Alignment dialog box, see the "Pointcloud/CAD Alignment Dialog Box Description" topic in the PC-DMIS Laser documentation.

  1. A temporary split-screen view of the CAD model and pointclouds appear in the Graphic Display window. You can use this split-screen view to visually see the alignment taking place. From the Reference drop-down list, select your point of reference; usually, either the CAD model itself or a defined COP is available.

Split-screen view showing the CAD model on the top view and the pointcloud on the bottom view

  1. If you have more than one pointcloud in your measurement routine, from the Pointcloud list, choose the pointclouds.

  2. Perform the alignment:

  1. In the Auto section, click the Compute button. You should use this only when you have a full scan of the external faces of the part. This automatically performs an alignment of the Pointcloud to the CAD and also a refinement on the alignment as it's generating.

  2. First, use the Pointcloud/CAD Pairs area to perform a rough alignment that brings the pointcloud close enough to the CAD (if not already close) to be able to refine the alignment further if needed. You should use this type of alignment if the pointcloud is not complete or it contains scanned data that belongs to a fixture, the table, and so forth.

  1. Click a desired number of points on the pointcloud.

  2. Click corresponding locations on the CAD model.

  3. The more points you take around the different areas of the model and pointcloud, the better the rough alignment.

  4. Click Compute to create the rough alignment.

  1. Next, use the Refine Alignment area whenever you want to refine your alignment. This brings the pointcloud closer to your CAD model. To obtain a good, refined alignment, the pointcloud points should be close enough to the CAD points through an initial rough alignment.

  1. In the Total Points box, define the total number of random sample points to use in each iteration.

  2. In the Maximum Iterations box, define the number of iterations.

  3. In the Maximum StdDev box, define the maximum standard deviation for the auto alignment execution between the points in the pointcloud and the CAD model. When the auto alignment command is executed, if the standard deviation of the Pointcloud/CAD deviations is greater than the maximum value defined, you can select point pairs to get a better alignment. The default value of -1 is equivalent to an infinite allowed standard deviation.

  4. Define the maximum distance of the points from the CAD for use in the best fit routines. The default value is 0. In this case, PC-DMIS uses an internal max distance based on the size of the pointcloud.

  5. Click Compute to refine the alignment.

  1. If a portion of the pointcloud doesn't align nicely with the CAD, you can click the Undo button and recompute the alignment using the same type of alignment with additional parameters; or, you can try a different alignment.

  2. If you have a surface model that represents a sheet metal part, and you want to align to the offset faces, define an Offset value that represents the constant thickness of the sheet metal part.

  3. Use the Results area to determine how well the pointcloud aligned with the CAD. Make any changes to the Offset or Refine Alignment values to improve the alignment if necessary. If any changes are made, be sure to click the Compute button to regenerate the alignment with the new values.

  4. Once you're satisfied with the alignment, click Create. PC-DMIS closes the temporary split-screen view and places the COPCADBF command in the Edit window. For information on the Edit window command, see the "COPCADBF Command Mode Text" topic.

If needed, you can adjust the CadGridSizeForPointcloudCadAutoAlignment entry to define the distance between the grid of points used to align the pointcloud to the CAD model.