Distance Between

Distance Between

The Distance Between report button allows the user to create a toleranced report item for distance between various features.  The features may be the following types:
  1. Point (Point, Circle, Sphere, Ellipse)
  2. Line (Line, Cylinder, Cone)
  3. Plane (Plane)
  4. Slots (Round, Square, Open)

  1. Select the Distance Between button in the Report Tab  Basic Reporting group in the Ribbon Bar.

  1. Optionally enter a Title to be displayed on the report.  This is typically balloon numbers or other key characteristic numbers.
    1. The Title will initially either be blank or automatically set to the Next Title setting in Report Title Settings.
    2. The Title field is enabled when the Use custom titles setting is enabled in Report Title Settings, which can be accessed by using the cogwheel  button next to the Title entry field.
    3. After selecting OK to generate the report, the Next Title setting is automatically updated to the next available title based on this Title setting.
  2. Select Feature 1.
    1. Pick the feature from the display window.
    2. Drag-n-drop the feature from the Feature Database into the Feature input box.
    3. Right-Click the Feature input box to select from a drop-down list of available features.
  3. Select Feature 2.
    1. Pick the feature from the display window.
    2. Drag-n-drop the feature from the Feature Database into the Feature input box.
    3. Right-Click the Feature input box to select from a drop-down list of available features.
  4. Click the Set Nom Variables button to set the nominal values from variables in a previous VB Script.
  5. Optionally add a Note to be added to the report item.
Notes
There are several different Distance Between methods, depending on the source feature type(s).  The concepts for each type combination will be described below.  All examples will be shown in 2D, but the same concepts and methods apply to 3D.
There are seven options for choosing the desired distance.

  1. XA, YZ, ZA - This is the distance between features along that axis in the current Reference Frame.
  2. XY, YZ, ZX - This represents the 2D distance between features when viewed from the selected view plane in the current Reference Frame.
  3. 3D - Like 2D, except all 3 distances are taken into account.
Additional distance options exist for Circles/Spheres and Lines/Planes.
Alert
All Distances are reported as an absolute value.
  1. Select any required options if required.  See below for the various options based in feature input.
  2. Click OK to send the report item to the Report Database, the Report Window, and a Report Fly-by box that will be temporarily displayed.

OPTIONS

Alert
With the exception of Point to Point, various projections are used to determine the appropriate distance and the Distance Between value will not be the same as the distance between the raw XYZ position locations from the simple feature report.
AlertVery important note about lines and line reducible features.  Lines and cylinders are defined as a Base (starting) point, direction, and length.  If you do a simple Feature Report, you will see the XYZ values for the end of the feature, not the centroid which is what is used for distance calculations.  If you wish to report the centroid of a line or cylinder, you must construct a point that is the centroid of the feature and report that value instead.

Point to Point

The following feature types will be treated as simple Point to Point evaluations (no projections) when used in combination.  For features of size, additional options will be available.  The Distance Between calculations will match calculations based on the "Feature Report" values.
  1. Point
  2. Circle
  3. Ellipse
  4. Arc
  5. Sphere
  6. Round Slot
  7. Square Slot
  8. Open Slot


  1. Selecting XA would result in a single axis distance of 29.00.   (17.00 --> -12.00)
  2. Selecting ZA would result in a single axis distance of 35.00.   (11.00 --> -24.00)
  3. Selecting ZX would result in the 2D angular distance of 45.453.   (2D 17.00, 11.00 --> -12.00, -24.00)
  4. Selecting 3D would result in a 3D angular distance of 45.727.   (3D  17.00, 12.00, 11.00 --> -12.00, 7.00, -24.00)

Projected Distances

The following 2D/3D feature types use various projections to determine the proper distance between.  If any of the features selected for Distance Between are one of these features, projections are used and the Distance Between results will not match the values obtained based on the "Feature Report" values.  This is by design.
  1. Line
  2. Plane
  3. Circular Plane
  4. Cylinder (treated as a Line)
  5. Cone (treated as a Line)
If a point type feature and a feature listed here are used together, the point type feature will be projected perpendicular to the line/plane feature.  The distance between will be calculated as the distance between the point feature and its projection point, not the centroid point of the line/plane feature as reported by feature report.

If two of the features listed here are used together, there will be two projections.  The centroid of feature one projected perpendicular to feature two, and the centroid of feature two projected perpendicular to feature one.  The distance calculations will be the average of feature one's centroid to its projection point and feature two's centroid to it's projection point.


Additional Options

Use of some features will result in additional options as described here.  Not every combination will be described here.

Circle/Sphere

When using a circle or a sphere, you will be able to choose if you want the minimum, center, or maximum distance.  In the case of two circles, it will be the absolute minimum using both near points, center to center, or absolute maximum using both far points.


Line/Plane

When using a line or a plane feature, you will be able to choose normal or center distance.

  1. Normal Dist is calculated using the projected centroid(s) as noted earlier.
  2. Center Dist uses the actual (non-projected) centroids.

Line/Line and Plane/Plane

The calculation will be the double projected distances as noted above.  There are no available options.

Line/Plane

You may select the Normal Dist or Center Dist option.  See the important alert earlier in this article regarding lines and line reducible features.

Point/Plane

When using a point and plane, you will be given several probe comp options.

Depending on the original feature measurement, it may be necessary to add Probe Comp to the point feature.  The following options are available:
  1. None - No (additional) Probe Comp is applied.
  2. Auto - CMM-Manager determines any required Probe Comp.
  3. Manual - The user specified Probe Comp
    1. Minus - Probe Comp is applied opposite the point vector
    2. Plus - Probe Comp is applied along the direction of the point vector

View Plane

Click the Expand  button to reduce the options and display View Plane options only.
Select the desired view plane - 2D (XY, YZ, ZX) or 3D.  This is the same as selecting XY, YZ, ZX or 3D with Expand not selected.  You will not be able to select XA, YZ, or ZA in this mode.