前文格式转换:CAD模型转点云_妄想出头的工业炼药师的博客-CSDN博客_cad如何转换成点云说了CAD转点云的步骤;
再补充一下pcl_mesh2pcd的参数说明:
* ``mesh2pcd``: convert a CAD model to a PCD (Point Cloud Data) file, using ray tracing operations.
**Syntax is: mesh2pcd input.{ply,obj} output.pcd <options>**, where options are:
-level X = tessellated sphere level (default: 2)
-resolution X = the sphere resolution in angle increments (default: 100 deg)
-leaf_size X = the XYZ leaf size for the VoxelGrid -- for data reduction (default: 0.010000 m)