Skip to content

3D Model Training

Operator Function

Read pcd, stl, or ply files to generate 3D model files.

Parameter Introduction

Input Parameters

ParameterRangeDefault ValueDescriptionIllustration
FileSelect path for pcd, stl, or ply files

Calculation Parameters

ParameterRangeDefault ValueDescriptionImage
Sampling Point Count100000Number of uniformly sampled output point cloud points
Downsamplingtrue/falsefalse
Voxel Side Length0.001Only required when Downsampling is enabled: Cube voxel side length for downsampling
Interior Point Removaltrue/falsefalseInterior point removal switchInterior Point Removal
Interior Point Removal LevelLow/Medium/HighLowOnly required when Interior Point Removal is enabled: Provides 3 removal levels: Low, Medium, High
Downsampling Rate(0, 1)0.040Proportional coefficient when downsampling input scene point cloud. Larger value means fewer points in sampled point cloud. Range is (0, 1)Downsampling Rate
Angle Discretization Step(0, 360) degrees12.000Parameter for discretizing angle features when calculating feature descriptors. Larger value means fewer angle feature intervals, making features less distinguishable; smaller value means more intervals but increases computation time. Unit is degrees, range is (0, 360) degreesAngle Discretization Step
Distance Discretization Step(0, 100)0.005Parameter for discretizing distances between points when calculating feature descriptors. Range is (0, 100)Distance Discretization Step
Output Model FileEmptySet model save path
Output Image0-80IM number for image output, used to display model point cloud image

Output Parameters

NameTypeRangeDescription
Resultbooltrue/falsetrue for success
false for failure
Warningbooltrue/falsetrue indicates there is a warning
false indicates there is none
MessagestringOutputs success, error, or warning information
TimefloatOperator execution time, unit: ms

Exception Troubleshooting

No.Exception InformationCorresponding ParameterSolution
1File parameter is empty1. Check input file path, select correct path
2. Check output model path, select correct path
2Permission deniedCreate the folder or switch to a folder with read permissions
3Cannot write to "{0}"File PathCheck if file is being used by other software
4Loaded {0} successfullyFile PathNone
5Failed to load PLY fileCheck if PLY file format is standard format
6Failed to generate mesh from STL file1. Check file read permissions
2. Check if STL file is too large, causing insufficient memory
7Invalid calculation parametersCheck downsampling voxel side length parameter; if equal to 0, modify to value greater than 0

Example Introduction

Engineering Design

  1. Select the 3D Model Training tool.

Tool Usage

  1. Select point cloud mesh file path.

  2. Set parameters.

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

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

Local Image

AI-Vision, Making 3D Measurement Easier