Tp Element
Quick Facts
| Property | Value |
|---|---|
| Class | CENPyOlpTpElement |
| Module | cenpylib.CENPyOlpTpElement |
| Package | cenpylib |
| Release | R2025.2.4 |
| Methods | 24 |
Quick Start
# Boilerplate Example
tpElement = ... # obtained from the runtime context
result = tpElement.GetName()Query Methods
| Method | Returns | Summary |
|---|---|---|
GetName | str | Get the name of the toolpath element. |
GetTrack | CENPyOlpTrack | Get the track corresponding to this toolpath element. |
GetProcessType | int | Get the process type of the toolpath element. |
GetMotionType | int | Get the motion type of the toolpath element. |
GetTargetType | int | Gets the target type of the underlying toolpath element. |
GetConfigBehavior | int | Gets the config behavior of the underlying toolpath element. |
GetConfigUserString | str | Gets the config user string of the underlying toolpath element. |
GetTurnBehavior | int | Gets the turn behavior of the underlying toolpath element. |
GetTurnUserString | str | Gets the turn user string of the underlying toolpath element. |
GetCollisionStatus | int | Gets the collision status of the underlying toolpath element. |
GetSimulationCollisionStatus | int | Gets the collision status of the underlying toolpath element from the simulation. |
GetReachabilityStatus | int | Gets the reachability status of the underlying toolpath element. |
GetSingularityStatus | int | Gets the singularity status of the underlying toolpath element. |
GetTeachFlags | int | Gets the teach flags indicating the modifications made to the underlying toolpath element. |
GetMatrix | CENPyOlpMatrix | Gets the current matrix of the toolpath element. |
GetInitialPathMatrix | CENPyOlpMatrix | Get the initial path matrix which has been saved after PathCompute but before AlignmentCompute. |
GetInitialPathMatrixTranslatedInBaseFrame | CENPyOlpMatrix | Get the initial path matrix moved with the given coordinates relative to the specified base frame. |
GetGlobalTransformedMatrix | CENPyOlpMatrix | Get the path matrix which has been saved after global transformation compute in aligned state. |
GetGlobalTransformedMatrixUnaligned | CENPyOlpMatrix | Get the path matrix which has been saved after global transformation compute in unaligned state. |
GetBaseFrameTransformedMatrixUnaligned | CENPyOlpMatrix | Gets the matrix of the toolpath element on a GlobalTransformed compute state without alignment information with respect to base frame. |
GetInitialNeighbourMatrix | CENPyOlpMatrix | Get the next or previous toolpath element, relative to the current one, within the current operation. |
GetMatrixToActiveBaseFrame | CENPyOlpMatrix | Get the toolpath element matrix with respect to active (output) base frame. |
GetMatrixToBaseFrame | CENPyOlpMatrix | Get the toolpath element matrix with respect to the given base frame index. |
Mutation Methods
| Method | Returns | Summary |
|---|---|---|
SetName | — | Set the name of the toolpath element. |
Related Types
Changes in R2025.2.4
Compared to R2025.1:
-
Method count increased from 23 to 24
-
[NEW]
GetBaseFrameTransformedMatrixUnaligned: New method added
Version Notes
This class is documented as of release R2025.2.4.
Was this page helpful?