Measure Area by Profile
Description
This Step is used to measure the area of the regions enclosed by the baseline and the profile.

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.
-
Select the baseline type and set related parameters accordingly.
-
Select the area type.
-
Select the desired output items under Output. For an expandable output item, click ▶ and configure the Min and Max values to set the acceptable range.
Parameter Description
Parameter | Description | ||
---|---|---|---|
Baseline Type |
Defines the baseline used to form enclosed regions with the input profile. Options: X-axis, Single custom line, Dual custom lines, Profile
|
||
Area Type |
Determines which regions enclosed by the profile and baseline will have their area calculated. The area above the baseline is positive, while the area below is negative. Options: Area above baseline, Area below baseline (absolute), Area of all (absolute), Area of all (absolute)
|
||
Customize Measurement Region |
Select this option to define a custom region for area calculation. When it is unselected, the Step will use all the data to calculate the area. |
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 (with a ▶ icon on the left), 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 |
---|---|
Area |
The area calculated according to specified Area Type. When the “Baseline Type” is set to Profile, only the area above the baseline will be calculated. |
Centroid X |
The X coordinate of the centroid of the area calculation region. |
Centroid Z |
The Z coordinate of the centroid of the area calculation region. |
Centroid |
The centroid of the area calculation region. |
Troubleshooting
|
CV-W6101
Error: The set “Baseline Type” is invalid.
Solution: Select a valid baseline type from the drop-down list.
CV-W6102
Error: The set “Area Type” is invalid.
Solution: Select a valid area type from the drop-down list.
CV-W6103
Error: The resolution of the two profiles is inconsistent.
Solution: Ensure both profiles have the same resolution and then try again.
CV-W6104
Error: Unable to calculate the area because no points on the two profiles share the same X coordinate.
Possible cause: The resolution of the two profiles is inconsistent, and thus no points on the two profiles share the same X coordinates.
Solution: Check the two profiles and ensure that the two profiles share points with the same X coordinates.
If you use the Extract Surface Section Step to extract profiles, ensure that the span of the profiles is consistent to maintain the same X-axis resolution across all profiles.