Class ActMcXyzLinearContour
Action of Machine Coordinate XYZABC contour by Machine Coordinate linear interpolation. The ABC values should be identity.
public class ActMcXyzLinearContour : IActDuration, IActMcXyzContour, IAct
- Inheritance
-
ActMcXyzLinearContour
- Implements
- Inherited Members
- Extension Methods
Constructors
ActMcXyzLinearContour(SeqPair<Vec3d>, TimeSpan)
Initializes a new instance of the ActMcXyzLinearContour class with the specified machine coordinate sequence and duration.
public ActMcXyzLinearContour(SeqPair<Vec3d> mcSeq, TimeSpan duration)
Parameters
mcSeqSeqPair<Vec3d>The machine coordinate sequence pair containing the start and end points.
durationTimeSpanThe duration of the contour movement.
Properties
ActDuration
Gets or sets the duration of the action.
public TimeSpan ActDuration { get; set; }
Property Value
Remarks
The duration represents:
- The time required to complete the action
- Should be positive and finite
- Zero duration indicates an instantaneous action
- Used for scheduling and timing calculations
McSeq
Gets or sets the machine coordinate sequence pair containing the start and end points.
public SeqPair<Vec3d> McSeq { get; set; }
Property Value
Methods
GetActMcXyzSteps(IMachiningMotionResolution)
Gets the machine XYZ steps for this contour.
public IEnumerable<ActMcXyzStep> GetActMcXyzSteps(IMachiningMotionResolution ncResolution)
Parameters
ncResolutionIMachiningMotionResolutionThe machining motion resolution to use for step generation.
Returns
- IEnumerable<ActMcXyzStep>
A collection of machine XYZ steps.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.