Interface ICLDOriginCommand
The ORIGIN command specifies the new coordinate system (CS). There are two modes of the Origin command: standard workpiece CS selection (like G54-G59) or local CS activation (like G68.2, Cycle800, PLANE SPATIAL).
Inherited Members
Namespace: SprutCAMTech.SCPostprocessor
Assembly: SprutCAMTech.SCPostprocessor.dll
Syntax
public interface ICLDOriginCommand : ICLDMultiMotionCommand, ICLDMotionCommand, ICLDCommand, INamedProperty, ISTGeWatchable
Properties
Convention
Defines the convention for the Euler angles inside MCS and WCS.
Declaration
TInpComplexRotationConvention Convention { get; }
Property Value
Type | Description |
---|---|
TInpComplexRotationConvention |
CSNumber
Represents the number of the standard workpiece coordinate system this command should activate.
Declaration
double CSNumber { get; }
Property Value
Type | Description |
---|---|
double |
IsLocalCS
Returns "true" if this command is a specific Local CS switching command (like G68.2, PLANE SPATIAL, Cycle800).
Declaration
bool IsLocalCS { get; }
Property Value
Type | Description |
---|---|
bool |
IsOff
Returns "true" if this command is CS switch OFF command, otherwise "false".
Declaration
bool IsOff { get; }
Property Value
Type | Description |
---|---|
bool |
IsOn
Returns "true" if this command is CS switch ON command, otherwise "false".
Declaration
bool IsOn { get; }
Property Value
Type | Description |
---|---|
bool |
IsSpatial
An auxiliary flag that determines which of the representations should be preferred for specifying the new coordinate system: spatial Cartesian coordinates or physical machine axes. Returns "True" if Cartesian coordinates should be preferred.
Declaration
bool IsSpatial { get; }
Property Value
Type | Description |
---|---|
bool |
IsWorkpieceCS
Returns "true" if this command is Workpiece CS selection command (like G54-G59).
Declaration
bool IsWorkpieceCS { get; }
Property Value
Type | Description |
---|---|
bool |
MCS
Represents cartesian coordinates of the new coordinate system relative to the coordinate system rigidly attached to the base of the machine.
Declaration
TInpLocation MCS { get; }
Property Value
Type | Description |
---|---|
TInpLocation |
OriginType
The type of the ORIGIN command: standard workpiece coordinate system selection (G54-G59) or the specific local coordinate system switching (G68.2, PLANE SPATIAL, Cycle800).
Declaration
CLDOriginType OriginType { get; }
Property Value
Type | Description |
---|---|
CLDOriginType |
PositioningMode
The flag that defines the way to change the machine axes values when switching the current coordinate system: whether they have to stay in place or turn-move to orient the tool in the new CS.
Declaration
CLDOriginPositionMode PositioningMode { get; }
Property Value
Type | Description |
---|---|
CLDOriginPositionMode |
QMCS
Quaternion that defines orientation of the new coordinate system relative to the coordinate system rigidly attached to the base of the machine.
Declaration
TInpQuaternion QMCS { get; }
Property Value
Type | Description |
---|---|
TInpQuaternion |
QWCS
Quaternion that defines orientation of the new coordinate system relative to the coordinate system rigidly attached to the workpiece (that can rotate with the workpiece together).
Declaration
TInpQuaternion QWCS { get; }
Property Value
Type | Description |
---|---|
TInpQuaternion |
WCS
Represents cartesian coordinates of the new coordinate system relative to the coordinate system rigidly attached to the workpiece (that can rotate with the workpiece together).
Declaration
TInpLocation WCS { get; }
Property Value
Type | Description |
---|---|
TInpLocation |