Class ActLinearClAndLinearMcAbcMcXyzabcContour
Represents a combined linear movement in both cutter location and machine coordinates. This class handles synchronized linear interpolation of tool position and orientation.
public class ActLinearClAndLinearMcAbcMcXyzabcContour : IActDuration, IActMcXyzabcContour, IAct
- Inheritance
-
ActLinearClAndLinearMcAbcMcXyzabcContour
- Implements
- Inherited Members
- Extension Methods
Remarks
This class is used for:
- Complex 5-axis machining movements
- Synchronized tool path and orientation control
- Linear interpolation in multiple coordinate systems
- Precise tool position and orientation control
The movement combines:
- Linear cutter location interpolation
- Linear machine coordinate ABC interpolation
- Synchronized motion control
Constructors
ActLinearClAndLinearMcAbcMcXyzabcContour(SeqPair<DVec3d>, SeqPair<Vec3d>, TimeSpan, ICoordinateConverter)
Initializes a new instance of the ActLinearClAndLinearMcAbcMcXyzabcContour class.
public ActLinearClAndLinearMcAbcMcXyzabcContour(SeqPair<DVec3d> mcSeq, SeqPair<Vec3d> clPointSeq, TimeSpan duration, ICoordinateConverter coordinateConverter)
Parameters
mcSeq
SeqPair<DVec3d>Machine coordinate sequence pair
clPointSeq
SeqPair<Vec3d>Cutter location point sequence pair
duration
TimeSpanDuration of the contour movement
coordinateConverter
ICoordinateConverterCoordinate converter for transformation
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
ClPointSeq
Gets or sets the cutter location point sequence pair.
public SeqPair<Vec3d> ClPointSeq { get; set; }
Property Value
Remarks
Contains the start and end points of the cutter location path for linear interpolation in Cartesian coordinates.
CoordinateConverter
Coordinate Converter.
public ICoordinateConverter CoordinateConverter { get; set; }
Property Value
McSeq
Gets or sets the machine coordinate sequence pair. The Normal property represents ABC angles in radians.
public SeqPair<DVec3d> McSeq { get; set; }
Property Value
Remarks
Contains:
- Start and end positions in machine coordinates
- Tool orientation angles (ABC) in radians
- Used for orientation interpolation
Methods
GetActMcXyzabcSteps(IMachiningMotionResolution, double)
Gets the machine XYZABC steps for this contour.
public IEnumerable<ActMcXyzabcStep> GetActMcXyzabcSteps(IMachiningMotionResolution ncResolution, double spindleBuckleToToolTipLength)
Parameters
ncResolution
IMachiningMotionResolutionThe machining motion resolution to use for step generation.
spindleBuckleToToolTipLength
doubleThe length from spindle buckle to tool tip, used for computing step numbers.
Returns
- IEnumerable<ActMcXyzabcStep>
A collection of machine XYZABC steps.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.