Skip to content

3D Point Position

Operator Function

Calculate geometric tolerance - Point Position
As shown in the figure below, the point position is the distance from the actual circle center to the theoretical circle center

Parameter Introduction

Input Parameters

ParameterRangeDefault ValueDescriptionIllustration
Input Image0-310The IM number for image input
3D ReferenceYou can select a reference via binding
XX-coordinate value of the 3D reference parameter; can be set via binding to X
YY-coordinate value of the 3D reference parameter; can be set via binding to Y
ZZ-coordinate value of the 3D reference parameter; can be set via binding to Z
X-Axis Angle-10000000000.000-10000000000.000X-axis angle value of the 3D reference parameter; can be set via binding for X-Axis Angle
Y-axis angle-10000000000.000-10000000000.0003D reference parameter Y-axis angle value; can be set via binding Y-axis angle
Z-axis angle-10000000000.000-10000000000.0003D reference parameter Z-axis angle value; can be set via the Z-axis angle binding

Calculation Parameters

ParameterRangeDefault ValueDescriptionIllustration
Actual Position3D Circle-Actual fitted 3D circle
Theoretical Positionjson file-Measurement point file on the plane being tested
Fit Point Cloudtrue/falsefalseTranslate the theoretical position points to the region that best fits the selected point cloud, minimizing the measurement value. See Fit Settings
Use Region Parameterstrue/falsefalseIf enabled, use Region as input; if disabled, use Input Image as input
Region2D Window/2D Circular Window/2D Polygon Window/Box/Cylindrical Box/Rotated Box/Point SetBoxManually select an appropriate ROI region
You can select an existing ROI region via binding
Fitting MethodLeast Squares/RANSACLeast SquaresSelect the circle fitting method
Distance Threshold0.0-50.00.02Select an appropriate distance threshold. When there are many noise points, increase this parameter; when there are few noise points, decrease it
Max Iterations100-10000500Set the maximum number of iterations

Fit Settings

ParameterRangeDefault ValueDescriptionIllustration
Iterations1-2000500Maximum number of calculations during iteration
Expected Error0.00001-10000000.00001Sum of distance errors from points to the circle. When the expected error value is reached, iteration stops
Step Size0.00001-10000000.00001The length of each point movement during iteration

Result Display

ParameterRangeDefault ValueDescriptionIllustration
Actual Planetrue/falsefalseThe input actual plane. If enabled, displayed on IM
Reference Linetrue/falsefalseThe input reference line. 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
resultstringOK/NGWhether the parallelism is within range

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
positional_degreefloatPosition degree

Tip

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

Exception Troubleshooting

No.Exception InformationCorresponding ParameterSolution
1Input point cloud has fewer than 3 pointsConfirm whether the IM contains at least three valid points. If fewer than 3 valid points, load a point cloud or switch to an IM with at least 3 valid points
2Input actual position circle type is {0}, invalid typeActual Position TypeCheck if the plane type is 3D Circle
3Parameter {0} cannot be emptyPathCheck if the path is empty
4File {0} does not exist or cannot be accessedPathCheck if the path is valid
5Input theoretical position point cloud is emptyCheck if the theoretical position point json file is empty
6Input perpendicularity range minimum is greater than maximum, invalid perpendicularity rangeSet the perpendicularity range minimum to be less than or equal to the maximum
7Input fitting method is {0}, invalid fitting methodFitting MethodInput fitting method should be Least Squares/RANSAC
8RANSAC circle fitting failedAdjust RANSAC parameters: distance threshold
9Input region type is {0}, invalid region typeRegion TypeCheck if the region type is one of 2D Window/2D Circular Window/2D Polygon Window/Box/Cylindrical Box/Rotated Box/Point Set
10Input polygon has fewer than 3 vertices, cannot form a polygonAdd 2D polygon window vertices to make the number of vertices at least 3
11Input region point cloud is empty1. Check if the selection is empty
2. Check if the point set is empty

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 Circle tool to fit a 3D circle.

  3. Select the 3D Point Position 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