Measure Sphere
Description
Use this Step to fit a sphere from the surface data and calculate the sphere’s radius and center.

Workflow
The process of configuring this Step is shown below:

-
Configure the input. Connect the Step ports in the graphical programming workspace or select the input under Input in the parameter configuration panel.
-
Determine whether to use a feature region.
-
Set other parameters.
-
Select the desired output items under Output. For an expandable output item, click ▶ and configure the Min and Max values to determine the acceptable range for the item.
Parameters
Parameter | Description |
---|---|
Use Feature Region |
When unselected, the Step processes all of the surface data to fit the sphere. Otherwise, the Step will process surface data within the region when the feature region is used. At this point, the following parameters need to be set:
|
Outlier Fraction |
The percentage of outliers to be removed during circle fitting. |
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, 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 |
---|---|
Sphere Center X/Y/Z |
The location of the center of sphere after fitting. |
Radius |
The radius of the sphere after fitting. |
Standard Deviation |
The standard deviation of the distance between the radius and the surface of the sphere. |
Center of Sphere |
The center sphere gained from fitting. |
Troubleshooting
|