Have you ever needed to convert a point cloud to mesh data in Autodesk Inventor? While Inventor can import point clouds from Recap, point clouds can be un-usable in some workflows, especially when actual geometry is required to work with.
Converting a point cloud to a surface model is currently not possible in 1 piece of software, however there is a workaround using Recap and some free point cloud software called MeshLab (download link here)
Here is the workflow that has worked for me.
- Open your Point Cloud in Recap (recap can open the following formats .rcs;*.f|s;*.fws;”.lsproj;*.pts;*.ptg;*.pt>c*.zfs;*.zfpj;*.las;*.laz;*.xyz;*.b<t;*.c|3;*.clr;”.e57;*.rdbx;*.rsp;*.rcp;*.dp;*.prj;*.xyb)
- Export the model from Recap into .PTS Format
This next step is important. MeshLab can apparently open .PTS files, but they fail to open if exported from Recap. The simple workaround is as follows:
- Rename the file extension from .PTS to .ASC
- Open Meshlab
- Import the .ASC Point Cloud
- Accept the default “Pre-Open Options”
- Your Point cloud will now be visible in Meshlab
Now convert the point cloud to a mesh
- Filters > Remeshing, Simplification and Reconstruction > Surface Reconstruction: Ball Pivoting
Set the Ball Pivot radius. Depending on the complexity of the point cloud, and the fidelity of the mesh required, you will need to run a few experiments.
- For a first run, I suggest exporting with a world unit of 0.1
- Apply
Below is a mesh model created from the point clouds. This model is full of gaps, but could be improved, by changing the accuracy of the import above. However a less dense model may be perfect, depending on use case.
Export the Mesh to OBJ format
- File > Export Mesh As…
- Give the export a name, choose .OBJ as the extension
- Select All and click OK
- In Inventor Open the OBJ file
You are now able to interact with the meshed point cloud. The data is imported into Inventor as a Mesh (as shown above).
Notes for big data sets:
Try to clean up any data that you don’t need in Recap. Once this is done, you can experiment with the tools inside of MeshLab. This is one of the workflows that I have had some success with:
- Filters > Point Set – Select Visible Points
- Filters > Cleaning & Repairing > Remove Duplicate Vertices
- Filters > Cleaning & Repairing > Remove Vertices wrt Quality
- Filters > Remeshing Simplification and Reconstruction > Surface Reconstruction: Ball Pivoting (see settings above, experiment till you get the right settings for your worklflow)
Note:
This workflow was tested with the following software:
- MeshLab 2016.12
- Recap Version 5.0.2041
- Autodesk Inventor 2019.3
Example point cloud from Grabcad: https://grabcad.com/library/reverse-engineering-tasks-7-pipe-from-point-cloud-1
Credits for help with the PTS to ASC conversion: CADforum
You must be logged in to post a comment.