Skip to content

3D Surface-Surface Parallelism

Operator Function

Calculate geometric tolerance - Surface-Surface Parallelism

As shown in the figure below, collect multiple points on the measured plane, and calculate the distance from each collected point on the measured plane to the reference plane, denoted as 𝑑1, 𝑑2, ..., 𝑑n. The surface-surface parallelism calculation formula is:
𝑑𝑚𝑎𝑥 − 𝑑𝑚𝑖𝑛
Where
𝑑𝑚𝑎𝑥 = 𝑚𝑎𝑥(𝑑1, 𝑑2, ..., 𝑑n)
𝑑𝑚𝑖𝑛 = min(𝑑1, 𝑑2, ..., 𝑑n)

Parameter Introduction

Input Parameters

ParameterRangeDefault ValueDescriptionIllustration
Input Image0-80The IM number for image input

Calculation Parameters

ParameterRangeDefault ValueDescriptionIllustration
Actual PlanePlane-A point on the actual plane and its normal vector
Reference PlanePlane-A point on the reference plane and its normal vector
Measurement Point Filejson file-Measurement point file on the plane being tested

Result Display

ParameterRangeDefault ValueDescriptionIllustration
Actual Planetrue/falsefalseThe input actual plane. If enabled, displayed on IM
Reference Planetrue/falsefalseThe input reference plane. If enabled, displayed on IM
Intersectiontrue/falsefalseDisplays two sets of points: the input measurement points and the perpendicular feet from the measurement points to the actual plane. If enabled, displayed on IM
Measurement Points and Fitted Reference Plane Intersection Connectionstrue/falsefalseThe connections from the input measurement points to their perpendicular feet on the actual plane. If enabled, displayed on IM
Parallelismtrue/falsefalseThe output parallelism. If enabled, displayed on IM

Output Parameters

NameTypeRangeDescription
Resultbooltrue/falsetrue for success
false for failure
Warningbooltrue/falsetrue indicates a warning
false indicates no warning
MessagestringOutput success, error, or warning messages. Empty if no error or warning.
TimefloatOperator execution time, unit: ms
distancefloat[]Distance from sampling points to the reference plane
parallelismfloatParallelism
resultstringOK/NGWhether the parallelism is within range

Tip

For more detailed parameter type descriptions, please refer to Type Definition

Exception Troubleshooting

No.Exception InformationCorresponding ParameterSolution
1Input point cloud is emptyConfirm whether the IM contains valid points. If not, load a point cloud or switch to an IM with valid points
2Input actual plane type is {0}, invalid plane typePlane TypeCheck if the plane type is Plane
3Input plane normal vector is 0Check if the plane normal vector is all zeros
4Input parallelism range minimum is greater than maximum, invalid parallelism rangeSet the parallelism range minimum to be less than or equal to the maximum
5Parameter {0} cannot be emptyPathCheck if the path is empty
6File {0} does not exist or cannot be accessedPathCheck if the path is valid
7Input theoretical position point cloud is emptyCheck if the theoretical position point json file is empty
8Input reference line type is {0}, invalid reference line typeReference Line TypeCheck if the reference line type is 3D Line

Example Introduction

Engineering Design

  1. Select the Load Point Cloud tool to load the 3D point cloud to be processed into IM0;

  2. Select the 3D Square Probe tool to fit the actual plane.

  3. Select the 3D Square Probe tool to fit the reference plane.

  4. Select the 3D Surface-Surface Parallelism tool.

Tool Usage

  1. Select the input image to be operated on. The image number must match the IM number of the image in the project.

  2. Do not enable region parameters, or enable region and select the region type as Box. Move the box to the position to be tested, surrounding the point cloud to be tested.

Usage Tips

1. Drag or scale the box through the ROI controller on the image window;
2. Directly modify the start or end coordinates of the box in the calculation parameters to adjust the box position and size
  1. Set parameters

  2. Check the desired display content in the result display section

  3. Click Test to check if the image window and parameters meet expectations

  4. If there are no issues, click Save. Run the operator in the run list to view the running results in the corresponding IM.

Local ImageLocal Image

Vision Studio