Skip to content

3D Position Adjustment

Operator Function

Adjust the position of the point cloud by performing translation or rotation operations based on input position information.

Parameter Introduction

Input Parameters

ParameterRangeDefault ValueDescriptionIllustration
Input Image0-80IM number for image input

Calculation Parameters

Position Only Adjustment Parameters

ParameterRangeDefault ValueDescriptionIllustration
ModePosition Only: Perform coordinate transformation on the input point cloud based on the input New Origin information
Orientation Adjustment: Adjust the orientation and position of the point cloud based on the input New Direction information
Transformation TypePermanent: Output the transformed point cloud
Temporary: Output the transformation matrix
Note: Temporary mode currently does not output the transformation matrix to registers and does not transform the original point cloud. Therefore, when setting up, the transformation type needs to be selected as Permanent. Temporary mode will be gradually introduced in future versions.
TypeLine: Use the line's position information (center point of the line) as the origin
3D Plane: Use the plane's position information (center point of the plane) as the origin
Box: Calculate the center point from the box's start and end points, and use it as the origin
Transformation ComponentAdjust X Position: Only adjust the X coordinate of the new origin to 0
Adjust Y Position: Only adjust the Y coordinate of the new origin to 0
Adjust Z Position: Only adjust the Z coordinate of the new origin to 0
Output ImageIM number for image output

Orientation Adjustment Parameters

ParameterRangeDefault ValueDescriptionIllustration
ModePosition Only/Orientation AdjustmentOrientation AdjustmentPosition Only: Perform coordinate transformation on the input point cloud based on the input New Origin information
Orientation Adjustment: Adjust the orientation and position of the point cloud based on the input New Direction information

Transformation TypePermanent: Output the transformed point cloud
Temporary: Output the transformation matrix
Type3D Line/3D Plane3D Line3D Line: Use the line's direction vector as the new direction
3D Plane: Use the plane's normal vector as the new direction
Rotate Vector to Axis+X/-X/+Y/-Y+X+X: Target direction vector is the +X direction of the coordinate axis
+Y: Target direction vector is the +Y direction of the coordinate axis
-X: Target direction vector is the -X direction of the coordinate axis
-Y: Target direction vector is the -Y direction of the coordinate axis
Angle Range360 degrees/180 degrees360 degrees360 degrees: Use [0°, 360°] angle range when calculating new direction and target direction
180 degrees: Use [0°, 180°] angle range when calculating new direction and target direction
Rotation CenterTarget Center/Origin (0,0,0)/Target CenterTarget Center: Rotate around the position center of the new direction type
Origin (0,0,0): Rotate around the Z-axis
Specific Position: Set a custom rotation center
Simultaneously Adjust PositionAdjust X Position: Only adjust the X coordinate of the new origin to 0
Adjust Y Position: Only adjust the Y coordinate of the new origin to 0
Adjust Z Position: Only adjust the Z coordinate of the new origin to 0
Output Image0-80IM number for image output

Tip

For more detailed explanations of parameter types, please refer to Type Definitions

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

Exception Troubleshooting

No.Exception InformationCorresponding ParameterSolution
1Input value is {0}, invalid transformation typeTransformation TypeOnly permanent supported
2Input value is {0}, invalid new origin typeNew Origin TypeOnly point3d, line3d, plane, Box supported
3Input value is {0}, invalid new direction typeNew Direction TypeOnly line3d, plane supported
4Input value is {0}, invalid target axisRotate Vector to AxisOnly +X, +Y, -X, -Y supported
5Input value is {0}, invalid angle rangeAngle RangeOnly 360 degrees, 180 degrees supported
6Input value is {0}, invalid specific position typeOnly point3d, line3d, plane supported
7Orientation adjustment failed1. Check if input point cloud is empty
2. Check if new direction source is supported, only line3d, plane supported
8Input value is {0}, invalid position adjustment modeModeOnly position only, orientation supported
9Input value is {0}, invalid rotation point typeRotation Point Type SourceOnly object center, origin, specific position supported

Example Introduction

Engineering Design

  1. Select the Load 3D Point Cloud tool to load the required 3D point cloud image to IM0.

  2. Select two 3D Square Probe tools to extract contours to IM1, IM2, and obtain points and lines from IM.

  3. Select two 3D Position Adjustment tools, setting the modes to Position Only and Orientation Adjustment respectively.

Tool Usage

  1. Select the input image for the operation. The image number must match the IM number where the image is located in the project.

  2. Set the parameters.

  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, and then view the running results in the corresponding IM.

Local Image

AI-Vision, Making 3D Measurement Easier