__header__

Description

his tool is useful if the parts being inspected come in at different angles or in a different location in relation to the camera.  The Locate tool will define a calibration (angle and location) for part that is being viewed.

The advantage it has over the Locate tool is that the origin can be set to any location not necessarily (0,0)

Inputs

Viewer

Optional: the viewer to which to attach the calibration

CalibrationCollection

Optional: the calibration collecion in the Running Object table. This acts as a global store for the calibration, so accessable from other tools/seqeunces

Origon

The input geoemetry (usually a point) that acts as the 0,0,0 points

NOTE if a point vecotr then the vector defines the new orientatin

InputRoll

A point: defines the roll to the orgin point
A line: the angel of the line defines the part angle
Numeric: the angle defines in radians

Parameters

Name

The name of the calibation as placed in the calibration colection

ResetViewerCalib

If set assigns this calibration to the input viewer

OriginX0

OriginY0

OriginZ0

the location of the "origon" ie the transtion is the input point less this point

LocX1

LocY1

LocZ1

if the input defining a orientation vector is a point, this defines the the directio vectorcoordiantes of that point.

TranslationY
TranslationX
Translationz
Roll

Calibration

Output: the calibration matrix defined.

RenderStylePoint

defines how the origin is displayed

RefreshViewer

__footer__