Measure Area by Profile

Description

Use this Step 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 configure 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 determine the acceptable range for the item.

  5. Run the Step and view output.

Parameters

Parameter Description

Baseline Type

This parameter is to determine the baseline that defines the area enclosed by the input profile.

Options: X-axis, single custom line, dual custom lines, profile

  • X-axis: the X-axis of coordinate system where the profile is located.

  • Single custom line: when selecting this item, please set Region for Fitting Line 1.

  • Dual custom lines: when selecting this item, please set Region for Fitting Line 1 and Region for Fitting Line 2.

  • Profile: when selecting this item, please make sure to input a valid Baseline Profile.

    When you select Profile, please ensure that there are points with a shared X coordinate between the input reference profile and the existing profile; otherwise, the area cannot be calculated.

Area Type

This parameter determines which regions enclosed by the profile and the 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 as Profile, only the area above the baseline will be calculated.

Customize Measurement Region

You can select this item to measure the area of customized region.

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 ▶ 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 as Profile, only the area above the baseline will be calculated.

Centroid X

The X coordinate of the centroid of the area for calculation.

Centroid Z

The Z coordinate of the centroid of the area for calculation.

Centroid

The centroid of the area for calculation.

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: Please 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 profile is inconsistent, so no points on the two profiles share the same X coordinate.

Solution: Please check the two profile and ensure that there are points with same X coordinate on the two profiles.

When you use Extract Surface Section to extract profiles, please keep the length range of the profiles consistent to ensure the same X-axis resolution for the profiles.

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.