29 Mar 2021

Add Data To Point Cloud

AddDataToPointCloud writes data defined on mesh-nodes into a point-cloud with equal number of points. Together with the Xtra "PointCloudToSpreadsheet", the module can e.g. be used to export the results created by the module Surface Distance.

AddDataToPointCloud

Numerical data can be assigned to nodes of a mesh, e.g. the results created by the Surface Distance module (the scalar values for "distance", and the vector components of "displacements"). The scalar data is stored in a separate data-object, and is only meaningful together with the original mesh data-set. There is no direct way of accessing those values together with the nodes' coordinates in Amira-Avizo, and no easy way to export those data as e.g. a table.

Scalar data can be included in a point-cloud data-object. Those scalar data can be used to scale or colourise spheres when visualising the point-cloud. Point-clouds with numerical data can also be converted to a spreadsheet, using the Xtra PointCloudToSpreadsheet, and such a spreadsheet can be exported to various formats (e.g. ASCII, CSV, XML) .

The Python script-object AddDataToPointCloud writes data defined on mesh-nodes into a point-cloud with equal number of points, e.g. the result of applying the module Extract Point Cloud to the mesh.

The example project demonstrates its use for the export of the results of a Surface Distance analysis performed on the surfaces of a technical object before/after machining.

Note: The example project uses a surface with relatively many vertices. The Python modules take some time for creating the results.