Class ActClLinear
Represents a linear cutter location movement action.
public class ActClLinear : IActClMove, IActDuration, IAct
- Inheritance
-
ActClLinear
- Implements
- Inherited Members
- Extension Methods
Constructors
ActClLinear(ClLinear, TimeSpan?)
Initializes a new instance of the ActClLinear class with the specified path.
public ActClLinear(ClLinear path, TimeSpan? duration = null)
Parameters
pathClLinearThe linear cutter location path.
durationTimeSpan?Optional total duration of the linear action.
ActClLinear(DVec3d, DVec3d, TimeSpan?)
Initializes a new instance of the ActClLinear class with begin and end cutter locations.
public ActClLinear(DVec3d beginCl, DVec3d endCl, TimeSpan? duration = null)
Parameters
beginClDVec3dThe begin cutter location.
endClDVec3dThe end cutter location.
durationTimeSpan?Optional total duration of the linear 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
ClLinear
Gets or sets the linear cutter location path.
public ClLinear ClLinear { get; set; }
Property Value
Methods
GetClPath()
Retrieves 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.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.