Sphere Axis Check    

Compares the center of a set of spherical measured points to an axis.

 

Input Arguments

 

0

Collection Object Name

Sphere Points Group Name

The name of the point group containing the measured points.

1

Double

Sphere Target Radius

The radius of the mushroom target/sphere rod.

2

Point Name

Point To Create at Sphere Center

The name of the point to create at the center of the sphere.

5

Collection Object Name

Line defining the axis

The line defining the axis to compare against.

 

Return Arguments

 

3

Double

Sphere Fit RMS Error

The resulting RMS error of the sphere fit.

4

Double

Sphere Fit Max Error

The resulting maximum error of the sphere fit.

6

Vector

Vector Representation

The vector from the measured center to the clos- est point on the axis.

7

Double

X Value

The x-component of the vector from argument 6.

8

Double

Y Value

The y-component of the vector from argument 6.

9

Double

Z Value

The z-component of the vector from argument 6.

10

Double

Magnitude

The magnitude of the vector from argument 6.

 

Returned Status

 

SUCCESS

The center point and axis were compared successfully.

FAILURE

One or more required objects was not found.

 

Remarks

One example use of this would be to compare a set of points measured with a mushroom target to a hole axis.