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>, double, TimeSpan, ICoordinateConverter)
Initializes a new instance of the ActLinearClAndLinearMcAbcMcXyzabcContour class.
public ActLinearClAndLinearMcAbcMcXyzabcContour(SeqPair<DVec3d> mcSeq, SeqPair<Vec3d> controllerClPointSeq, double controllerToolOffset, TimeSpan duration, ICoordinateConverter coordinateConverter)
Parameters
mcSeqSeqPair<DVec3d>Machine coordinate sequence pair
controllerClPointSeqSeqPair<Vec3d>Controller CL point sequence pair
controllerToolOffsetdoubleController's tool height compensation value
durationTimeSpanDuration of the contour movement
coordinateConverterICoordinateConverterCoordinate 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
ControllerClPointSeq
Controller CL (cutter location) point sequence pair. Computed from controller's compensation height (offset table). Represents where the controller believes the tool tip is. Linearly interpolated during motion resolution.
public SeqPair<Vec3d> ControllerClPointSeq { get; set; }
Property Value
ControllerToolOffset
Controller's tool height compensation value from the offset table. Used to reconstruct attacher position from controller CL.
public double ControllerToolOffset { get; set; }
Property Value
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, Action<object>)
Gets the machine XYZABC steps for this contour.
public IEnumerable<ActMcXyzabcStep> GetActMcXyzabcSteps(IMachiningMotionResolution ncResolution, double spindleBuckleToToolTipLength, Action<object> coordinateConversionFailedAction)
Parameters
ncResolutionIMachiningMotionResolutionThe machining motion resolution to use for step generation.
spindleBuckleToToolTipLengthdoubleThe length from spindle buckle to tool tip, used for computing step numbers.
coordinateConversionFailedActionAction<object>Called when attacher NP to MC conversion fails; the argument is the failed DVec3d (attacher NP).
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.