Class ActClArc
Represents an arc movement action for cutter location.
public class ActClArc : IActClMove, IActDuration, IAct
- Inheritance
-
ActClArc
- Implements
- Inherited Members
- Extension Methods
Constructors
ActClArc(ClCircleArc, TimeSpan)
Initializes a new instance of the ActClArc class.
public ActClArc(ClCircleArc path, TimeSpan duration)
Parameters
pathClCircleArcThe circle arc path.
durationTimeSpanThe total duration of the arc action.
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
ClCircleArc
Gets or sets the cutter location circle arc.
public ClCircleArc ClCircleArc { get; set; }
Property Value
Methods
GetClPath()
Gets the cutter location path.
public IClPath GetClPath()
Returns
- IClPath
The cutter location path.
GetClSteps(IMachiningMotionResolution)
Gets a sequence of steps split from this movement under the specified NC resolution.
public IEnumerable<ActClStep> GetClSteps(IMachiningMotionResolution ncResolution)
Parameters
ncResolutionIMachiningMotionResolutionThe machining motion resolution.
Returns
- IEnumerable<ActClStep>
A sequence of ActClStep.
Remarks
Lazy since play-core migration P11: the step count is computed at the first MoveNext (and
again on each enumeration) where the earlier enumerator computed it in this call, so an argument that cannot
be read throws there; the steps come from core.dll when the resolution is exactly one of the three resolution
classes (a derived class or a decorator takes the managed enumerator), from the managed enumerator otherwise,
bit for bit the same.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.