### Working with Contact Sample Hits Properties

Probe Toolbox—Sample Contact Sample Hits Properties tab for a Corner Point

Probe Toolbox—Sample Contact Sample Hits Properties tab for a Circle

This tab becomes visible when you have the Auto Feature dialog box open and a contact probe is active.

The Contact Sample Hits Properties tab contains items that allow you to change the sample hits or sample feature properties for a number of supported Auto Features that use contact probes. The available controls are described in the table below.

About Sample Hits and Sample Features

Sample hits measure the surface around the nominal point location, providing a sampling of the surrounding material. This serves the following purposes:

1. To adjust the path of the feature - Because sheetmetal parts can bend or flex, their measured location can differ quite a bit from the nominal. Sample hits can account for this by adjusting the path of a feature so that the hits are taken at the feature's correct location on the part.

2. To change the plane that the feature is projected into - All Auto Features that use sample hits are projected onto the plane generated from the sample hits. The reason for this is sometimes the nominal location for a feature does not lend itself to a good hit. For example, if you want to measure very top of a hole as a Circle feature. Trying to actually take hits on the lip of that hole would result in unreliable hit data. Using a projected plane, however, solves this problem by automatically projecting more reliable hits taken below the surface onto that plane.

A sample feature does the same thing as sample hits, but it provides you with an added benefit of measuring and using a single feature as the feature to project onto instead of using sample hits for each feature. For example, if you had 10 holes you wanted to measure and you didn't need sample hits for each individual circle, you could define a single plane feature as a reference feature. PC-DMIS measures that plane once and projects all the circles' measured hits onto that plane, saving time usually taken by sample hits. Projection features are supported by these auto features: Surface Point, Circle, Cone, Cylinder, Ellipse, Polygon, Round Slot, Square Slot, and Line.

With sample hits and sample features, you can only use one or the other, not both. They both accomplish the same thing.

Hint: A useful way of visualizing how these sample hit properties affect the measurement is to display path lines and hits by using the Show Hit Targets Toggle icon .

Controls on this Tab

Depending on the type of feature in the Auto Feature dialog box, this tab may change to contain one or more of the following items:

Item | Supported Auto Features | Description
Sample Hits | Surface Point, Edge Point, Angle Point, Line, Circle, Ellipse, Round Slot, Square Slot, Notch Slot, Polygon, Cylinder, Cone, Sphere | Choosing the Sample Hits option enables the Sample Hits list and disables the Projection Feature items. The Sample Hits list allows you to select the number of sample hits taken for the auto feature. These hits are used to measure the plane around the nominal point location, providing a sampling of the surrounding material. These are permanent sample hits.

For more information on sample hits, see "Sample Hits - Feature Specific Information" below.

Sample Hits Init | As Above | By default this list does not appear in the user interface because initial sample hits are used so infrequently. You can turn it back on using the PTPSupportsSampleHitsInit entry in the PC-DMIS Settings Editor. It allows you to specify initial sample hits. The Initial sample hits are taken only on the initial measurement of the feature during execution of the part program.
Spacer | Surface Point, Edge Point, Angle Point, Line, Corner Point, Plane, Circle, Ellipse, Round Slot, Square Slot, Notch Slot, Polygon, Cylinder, Cone | This box defines the distance from the nominal point location that PC-DMIS uses to measure a plane if sample hits are specified. For more information, see "Spacer - Feature Specific Information" below.
Indent | Edge Point, Notch Slot | For an Edge Point, this box defines the minimum offset distance from the point location to the first sample hit. For a Notch Slot it defines the distance from the closed side of the notch (opposite the open edge). See "Indent - Feature Specific Information" below.
Indent 1 | Angle Point, Line, Corner Point | For an Angle Point and Corner Point, this defines minimum offset distance from the feature's center location to the first of two or three sample hits. For a Line, this defines the offsets distance from the line's end points to the second and third sample hits when three sample points are defined.

See "Indent - Feature Specific Information" below.

Indent 2 | Angle Point, Line, Corner Point | For an Angle Point and Corner Point, this defines minimum offset distance from the feature's center location to the second of two or three sample hits. For a Line, this defines the offset distance from the line's midpoint to the first sample hit.

See "Indent - Feature Specific Information" below.

Indent 3 | Corner Point | This defines minimum offset distance from the feature's center location to the third of three sample hits. See "Indent - Feature Specific Information" below.
Sample Feature | Surface Point, Circle, Cone, Cylinder, Ellipse, Polygon, Round Slot, Square Slot, Notch, Line | Choosing the Sample Feature option enables the feature list below it and disables the Sample Hits items. The feature list contains all the existing features in your part program that you can use as a sample feature. The current feature's hits are projected onto the selected feature. If set to <None>, no projection takes place.

#### Sample Hits - Feature Specific Information

Auto Feature | Sample Hits Description
Surface Point | PC-DMIS measure the point depending on the selected value. For example, if you select:

- 0, PC-DMIS measures the point at the nominal approach vector specified.

- 3, PC-DMIS measures a plane around the nominal point location and uses the surface normal vector from the three hits measured to approach the nominal point location.

Edge Point | PC-DMIS measures the point depending on the selected value. For example, if you select:

- 0, PC-DMIS measures the point at the nominal approach and normal vectors specified.

- 1, PC-DMIS measures a point on the normal surface. It projects the edge into the nominal surface through this point. Any DEPTH = values are offset from the point.

- 2, PC-DMIS measures two sample hits on the edge along the nominal approach direction specified. PC-DMIS then uses these hits to calculate a new approach vector for the actual point measurement along the edge.

- 3, PC-DMIS measures the point with the combined methods of using one and two sample hits respectively. This measurement method is commonly known as a "Flush and Gap" measurement point.

- 4, PC-DMIS measures the three sample hits on the normal surface and adjusts the surface normal vector. The edge measurement then projects into this new nominal surface. Any DEPTH = values are offset from the point. Finally, the point is measured along the approach vector.

- 5, PC-DMIS measures the point by taking three hits on the normal surface and two hits on the edge along the nominal approach direction specified. This method of measurement is considered the most accurate.

Various Sample Hits for Edge Points
A - Target hit B - Sample hits C - Indent D - Spacer E - Indent + Spacer

Angle Point | The sample hits are used on each surface. PC-DMIS measures the point depending on the selected value. For example, if you select:

- 2, the hits are taken in a line perpendicular to the edge vector.

- 3, the hits form a plane on each surface as indicated in the drawing.

Two and three Sample Hits for an Angle Point

Line | PC-DMIS measures the line depending on the selected value. For example, if you select:

- 0, PC-DMIS measures the indicated line. No sample hits are be taken.

- 1, PC-DMIS measures a single sample hit first on the closest adjoining surface to the line's location. Then the lines points are measured. The sample hit's initial position is based off the mid point of the line.

- 3, PC-DMIS measures three sample hits first on the closest adjoining surface to the line's location. Then the lines points are measured. The sample hits initial positions are based off of the mid point, start point, and end point of the line.

One and three sample hits for a Line. Note that the indent 1 (for points 2 and 3) and indent 2 (for point 1) values should not be identical.

Circle, Cylinder, or Cone | The defined sample hits are used to measure the surface normal to the feature. They are equally spaced between the starting and ending angle indicated. PC-DMIS measures the feature depending on the selected value:

- If Type = HOLE, and you select 0, PC-DMIS does not take any sample hits.

- If Type = STUD, you select 0, PC-DMIS does not take any sample hits. PC-DMIS then treats the Height value as if the feature were a HOLE instead of a STUD.

- If Type = HOLE, and you select 1, PC-DMIS takes the hit on the outside of the feature.

- If TYPE = STUD, and you select 1, PC-DMIS measures the point on the top of the stud.

- If you select 3, PC-DMIS measures the surface at three equally spaced hits starting from the starting angle. The sample hits are relative to the measured plane, and any values are offset from these points.

| A - Start Angle and End Angle

| A - Start Angle B - End Angle

Note: PC-DMIS expects the X, Y, Z nominal of the stud to be at the base. If the center point is at the top of the stud, set the depth and spacer to a negative value.

Sphere | For a sphere, you can only select one sample hit. When you select this sample hit, PC-DMIS follows this procedure once you execute the part program:

1. Automatic measurement stops prior to measuring the sphere.

2. PC-DMIS requests that you take one hit normal to the direction the sphere should be measured.

3. After you take the sample hit, click the Continue button

4. PC-DMIS then takes three more hits on the sphere in an area determined by the spacer.

PC-DMIS takes these four hits and uses the calculated sphere location to measure the sphere with the given number of hits, rows, and angles.

Square Slot or Round Slot | The measured plane is used as the centerline vector for projection and measurement depth purposes. PC-DMIS measures the slot depending on the entered value. For example, if you select:

- 0, PC-DMIS measures the indicated slot. No sample hits are taken.

- 1, PC-DMIS measures the surface at the center of the slot. The slot hit is to the right of the vector.

- 3, PC-DMIS measures the surface at three equally spaced hits starting from SLOT A. The slot hits are relative to the measured plane, and any values are offset from these points.

Sample Hits of three hits on a Square Slot (on left) and Round Slot (on right)

Note: To take the hits on the opposite side of the slot, reverse the centerline vector.

Ellipse | The only acceptable values are zero, one, and three. The measured plane is used as the centerline vector for projection and measurement depth purposes. PC-DMIS measures the ellipse depending on the entered value. For example, if you selected:

- 0, PC-DMIS measures the indicated ellipse. No sample hits are taken.

- 1, PC-DMIS takes a single sample hit at the location where the ANGLE VEC points to (i.e. 0° + SPACER), not at the center of the ellipse (being particularly difficult should the ellipse be a hole).

- 3, PC-DMIS measures the surface at points outside (or inside) the ellipse at the indicated distance from the outer edge (Spacer value). The first hit is at the indicated start angle. Hit number two is halfway between the start angle and end angle. The last hit is at the end angle. The hits are relative to the measured plane, and any values are offset from these points.

Note: To take the hit on the opposite side of the ellipse, reverse the centerline vector.

Notch Slot | The sample hits also define the edge for the angle vector and width. The only acceptable values are zero through five. The measured plane is used as the centerline vector for projection and measurement depth purposes. PC-DMIS measures the notch depending on the entered value. For example, if you selected:

- 0, PC-DMIS measures the indicated notch. No sample hits are taken.

- 1, PC-DMIS measures the surface at the edge of the notch.

- 2, PC-DMIS measures the edge along the open side of the notch. This defines the angle vector and is used to find the width of the notch.

- 3, PC-DMIS measures the surface at one end of the notch with two hits and one hit at the other end of the notch. The notch hits are relative to the measured plane, any values are offset from these points.

- 4, PC-DMIS measures the surface the same as three sample hits. A fourth hit is taken on the edge, along the open side in order to find the width of the notch.

- 5, PC-DMIS measures the surface the same as three sample hits. It also measures the edge along the open side in the same manner as two sample hits.

Polygon | PC-DMIS measures the polygon depending on the selected value. For example, if you select:

- 0, PC-DMIS measures the indicated polygon. No sample hits are taken.

- 1, PC-DMIS takes a single sample hit at the location to which the Angle vector points (i.e. 0° + SPACER).

Example Polygon Feature (hexagon) with one sample hit

- 3, PC-DMIS takes the three sample hits in a triangular position on the surface around the polygon if an internal polygon, or on the surface of the polygon itself if an external polygon. The first hit is always at the location to which the Angle vector points.

Example Polygon Feature (hexagon) with three sample hits

#### Spacer - Feature Specific Information

Auto Feature | Spacer Description
Surface Point | The Spacer box defines the radius of the circle on which the nominal (A) and the sample points (B) lie.
Edge Point | The Spacer box defines the radius of an imaginary circle on which the nominal and the sample points lie.

| A - Target Hit B - Sample Hits C - Spacer Distance

Angle Point | The Spacer box defines the offset distance between the points on each side of the bend.

| A - Indent B - Spacer C - Indent + Spacer

Line | The Spacer box defines the distance away from the original locations for points 2 and 3 when three sample points are defined. Note that a positive value moves the points towards each other, while a negative value moves them further away.

| A - Indent 2 B - Spacer C - Indent 1

If a single sample point is used, it does nothing.

Corner point | The Spacer box defines the distance from the radius of the first hit to the other hits.

| A - Target Corner B - Spacer

Circle, Cylinder, or Cone | The Spacer box defines the distance from the circumference of the circle to the sample hits. Note: Clearance planes are not used when taking sample hits. When measuring studs, it is important to set the spacer value to a distance that will allow the probe to move around the stud.

| A - Sample Hits B - Spacer

Notes for Outer Cylinders (studs):

- Clearance planes are not used when taking sample hits. When measuring studs, it is important to set the spacer value to a distance that will allow the probe to move around the stud.

- PC-DMIS expects the X, Y, Z nominal of the stud to be at the base. If the nominal center point is at the top of the stud, set the depth and spacer to a negative value.

- If you set the spacer to a negative number, the spacer distance is towards the nominal center point, away from the cylinders edge, causing the sample hits to be taken on top of the cylinder. If a positive spacer value is used instead, the spacer is on the surface of the surrounding part.

This stud has a top nominal point and a negative spacer value. The three sample hits (indicated by the red lines) are taken on top of the cylinder.

This stud has a top nominal point and a positive spacer value. The three sample hits are taken on the surface around the cylinder.

Square Slot, Round Slot, or Ellipse | The Spacer box defines the distance from the outer edge of the feature to the sample hit(s).

Spacer for a Square Slot or Notch (top) | A - Sample Hits B - Spacer
Spacer for a Round Slot

Plane | The Spacer box defines the distance between the hits making up the plane.
Notch Slot | The Spacer box defines the distance from the edges of the notch where the sample hits are taken. Spacer (dotted lines) for a Notch Slot with two sample hits.
Polygon | The Spacer box defines the distance from the edges of the polygon where the sample hits are taken. Spacer (dotted lines) for a Polygon with three sample hits (larger dots).

#### Indent - Feature Specific Information

Auto Feature | Indent Description
Edge Point | The Indent box displays the minimum offset distance from the point location to the first hit on each side of the bend (or edge).

Offset Distance from Edge | A - Target hit B - Sample hits C - Indent

Angle Point | PC-DMIS provides two indent boxes, Indent 1 and Indent 2, in order to set the offset distances from the point location to the sample hits on each of the two surfaces of the bend in an angle point.

Indent in an Angle Point | A - Indent B - Spacer C - Indent + Spacer

- The Indent 1 box sets the offset distance from the point location to the sample hits on the first surface of the bend.

- The Indent 2 box sets the offset distance from the point location for the sample hits on the second surface of the bend.

Line | PC-DMIS provides two indent boxes, Indent 1 and Indent 2, in order to set the offset distances for the one or three sample hits for a line. Indents in a Line

- The Indent 1 box defines the offset distance from the edge on the sample surface for points 2 and 3.

- The Indent 2 box defines the offset distance from the edge on the sample surface for point 1.

Note: The values for Indent 1 and Indent 2 must be different in order to yield a proper sample plane.

Corner Point | PC-DMIS provides three indent boxes, Indent 1 and Indent 2, and Indent 3 in order to set the offset distances from the point location to the sample hits on each of the three surfaces of the bend in a corner point.

- The Indent 1 box sets the offset distance from the point location to the sample hits on the first of the three planes.

- The Indent 2 box sets the offset distance from the point location to the sample hits on the second of the three planes.

- The Indent 3 box sets the offset distance from the point location to the sample hits on the third of the three planes.

Indent for a Corner Point. For one of the surfaces, 1 shows the indent point, 2 and 3 are the sample hits | A - Target Corner B - Indent

Notch Slot | The Indent box defines where along the two parallel sides of the notch PC-DMIS takes the hits. It is the distance from the closed side of the notch, moving towards the open side. Indent for a Notch Slot (dotted lines) If you click on the CAD to automatically create the Notch Slot, PC-DMIS automatically generates the indent value based on the size of your probe tip. You can later modify this if desired.

- If your tip radius multiplied by the NotchSafetyFactor is greater than the notch's width, PC-DMIS displays a warning message telling you your tip radius is too large.

- To generate correct measurement results, your probe's tip size multiplied by the NotchSafetyFactor should be less than the notch's width.