The object of the CENPyOlpSeamFindingOperator class can be obtain withing the CENPyOlpEvent_EventComputeOperator
that is passed to the PostCompute callback in the %EVENT_NAME%.py script file.
[Example]
def PostCompute(Operator):
tsOperator = Operator.GetSeamFindingOperator()
•
|
GetSeamFindingPoint(endLocation: bool, optionalDirection: bool, distance: double): CENPyOlpMatrix
|
|
|
End (True) or Start (False) of the Contour
|
|
|
True if optional Direction required
|
|
|
Distance from Contour Start or End Point
|
|
|
SeamFinding Point matrix on/before/after the Curve.
|
Get the desired SeamFinding Point Matrix.
[Example]
sfStartPointMatrix = sfOperator.GetSeamFindingPoint(atEndLocation, optionalDir, seamFindDistance)
|
|
Distance from Contour Start or End Point
|
|
|
SeamTracking Point matrix on/before/after the Curve.
|
Get the desired SeamTracking Point Matrix.
[Example]
sfTrackPointMatrix = sfOperator.GetSeamTrackingPoint(seamTrackDistance)
•
|
SeamFindingApproachRetractPoint(initialMatrix: CENPyOlpMatrix, dx: double, dy: double, dz: double): CENPyOlpMatrix
|
|
|
Matrix of the SeamFinding Point on the Contour
|
|
|
|
Approach/Retract Distance in X
|
|
|
|
Approach/Retract Distance in Y
|
|
|
|
Approach/Retract Distance in Z
|
|
|
|
the Matrix of the Approach/Retract Point with the desired Position and Rotation.
|
|
Get the desired SeamFinding Approach or Retract Point Matrix.
The WORK Angle as CycleRotation::ROT_PATH_TOOL
The TRAVEL Angle as CycleRotation::ROT_TOOL (alternative: ROT_PATH_TOOL use SeamFindingApproachRetractPointAlt)
The TOOL Angle as CycleRotation::ROT_TOOL
Note : Event has to be set to CycleRotation::ROT_TOOL
[Example]
sfARMatrix = sfOperator.SeamFindingApproachRetractPoint(sfStartPointMatrix, LX1, LY1, LZ1)
•
|
SeamFindingApproachRetractPointAlt(initialMatrix: CENPyOlpMatrix, dx: double, dy: double, dz: double): CENPyOlpMatrix
|
|
|
Matrix of the SeamFinding Point on the Contour
|
|
|
|
Approach/Retract Distance in X
|
|
|
|
Approach/Retract Distance in Y
|
|
|
|
Approach/Retract Distance in Z
|
|
|
|
the Matrix of the Approach/Retract Point with the desired Position and Rotation.
|
|
Get the desired SeamFinding Approach or Retract Point Matrix.
The WORK Angle as CycleRotation::ROT_PATH_TOOL
The TRAVEL Angle as CycleRotation::ROT_PATH_TOOL (alternative: ROT_TOOL use SeamFindingApproachRetractPoint)
The TOOL Angle as CycleRotation::ROT_TOOL
Note : Event has to be set to CycleRotation::ROT_TOOL
[Example]
sfARMatrix = sfOperator.SeamFindingApproachRetractPointAlt(sfStartPointMatrix, LX1, LY1, LZ1)
|