Measure Area by Profile

Description

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

area demo

Workflow

The process of configuring this Step is shown below:

measure area by profile workflow
  1. Configure the input. Connect the Step ports in the graphical programming workspace or select the input under Input in the parameter configuration panel.

  2. Select the baseline type and set related parameters accordingly.

  3. Select the area type.

  4. 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.

  5. Run the Step and view output.

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

  • X-axis: Uses the X-axis of the reference frame where the input profile is located as the baseline.

  • Single custom line: If this option is selected, you need to set Region for Fitting Line 1. The data in the fitting region will be used to fit a line as the baseline.

  • Dual custom lines: If this option is selected, you need to set Region for Fitting Line 1 and Region for Fitting Line 2. The data in each fitting region will be used to fit a line, and the two lines together form the baseline.

  • Profile: If this option is selected, you need to input a valid Baseline Profile.

    When Baseline Type is set to Profile, ensure that the baseline profile and the existing profile share points with the same X coordinates; otherwise, the area cannot be calculated.

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)

When the Baseline Type is set to Profile, only the area above the baseline will be calculated.

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

  • For common errors, see Error Code List.

  • If the error code is inconsistent with the error message, please contact Technical Support for help.

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.

Is this page helpful?

You can give a feedback in any of the following ways:

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.