Measure Surface Deviation

Description

Use this Step to calculate deviations between surface data and the 3D model.

Before running the step, please ensure that 3D model files (in STL or PLY format) and model pose files in JSON format are prepared. Otherwise, the Step cannot be run successfully.

Workflow

The process of configuring this Step is shown below:

measure surface deviation workflow
  1. Configure the input. Connect the ports manually in the graphical programming workspace or select the input under Input in the parameter configuration panel.

  2. Select proper model file format and model file path.

  3. Select model surface type and model pose JSON file path.

  4. Select the deviation calculation result.

  5. Select the Output item under the Output tab.

  6. Run the Step and view output.

Parameters

Parameter Description

Model File Format

You can select the format of 3D model files to be loaded, and only STL and PLY formats are supported.

Model File Path

The path of 3D model files.

Model Surface Type

You can select the model’s top or bottom surface as the reference surface for deviation calculation.

Model Units

Units used by the model.

Value list: millimeters, meters

Model Pose JSON File Path

The pose of model surface data is stored in JSON files.

Deviation Calculation Result

Select deviation calculation and statistical results stored in Deviation Viewer to calculate the feature point and deviation of output items.

See more details in Deviation Viewer.

Output Description

Select the output item(s) to add the output port(s) to the Step, and the corresponding data will be output after the Step is run. You can select the output according to the actual measurement requirements.

If you select an expandable output item (with a ▶ on the left), you should expand it by clicking ▶, and then set the Min and Max values to determine the acceptable range. If the output value falls within the acceptable range, the measurement item is judged as passing (OK), or else it is judged as failing (NG).

Output item Description

Surface data

The surface data obtained after comparing the surface data with the model, and the Z value represents the deviation.

Feature Points

The centers of the circles in each drawn area in the “Deviation Viewer”.

Deviation

The mean of the deviations in each drawn area in the “Deviation Viewer”.

Troubleshooting

  • For common errors, see Error Code List.

  • If the error code is inconsistent with the error message, please contact Technical Support for help.

CV-W4101

Error: The number of points in the PLY file must be greater than or equal to 3.

Solution: Please check the file and make sure the number of points in PLY file is greater than or equal to 3.

CV-W4102

Error: The number of points must be equal to the number of normals in the PLY file.

Solution: please check the file and make sure the number of points is equal to the number of normals in the PLY file.

CV-W4103

Error: The magnitude of normals must be equal to 1 in the PLY file.

Solution: Please check the file and make sure the magnitude of normals in PLY file is equal to 1.

CV-W4104

Error: The PLY file contains invalid point(s) (NaN values).

Solution: Please check the file and make sure the PLY file contains no invalid point.

CV-W4108

Error: Cannot find the STL file in the specified file path.

Solution: Please select the correct path.

CV-W4109

Error: Invalid STL file.

Solution: Please check the file and make sure the file is valid.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.