Calculates a hole center using points measured with a mushroom target.
Input Arguments
0 |
String |
Name Prefix for Intermediate Constructions |
A prefix to use for intermediate construction geometry. |
1 |
Collection Object Name |
Sphere Points Group Name |
The group containing the points measured with a mushroom target. |
2 |
Double |
Sphere Target Radius |
The radius of the mushroom target. |
3 |
Collection Object Name |
Target Contact Plane |
The plane at the top of the hole in which the target is resting. |
4 |
Point Name |
Point To Create at Hole |
The name of the point to create at the center of the hole. |
Return Arguments
5 |
Double |
Sphere Fit RMS Error |
The resulting RMS error of the sphere fit. |
6 |
Double |
Sphere Fit Max Error |
The resulting maximum error of the sphere fit. |
Returned Status
SUCCESS |
The hole point was created successfully. |
FAILURE |
One or more required items was not found. |
Remarks
When measuring, place the probe on a mushroom target and set the mushroom head into the hole. Measure a series of points while rotating the mushroom target to different positions while continuing to rest in the hole. A sphere center will be calculated from these points, which will then be projected to the target contact plane.