Class ActMcPolarLinearContour
Polar MCZ linear contour.
public class ActMcPolarLinearContour : IActDuration, IActMcXyzabcContour, IAct
- Inheritance
-
ActMcPolarLinearContour
- Implements
- Inherited Members
- Extension Methods
Constructors
ActMcPolarLinearContour(DVec3d, SeqPair<Vec3d>, TimeSpan, double)
Initializes a new instance of the ActMcPolarLinearContour class.
public ActMcPolarLinearContour(DVec3d preMcXyzabc_rad, SeqPair<Vec3d> programPolarXczSeq, TimeSpan duration, double zCoordinateOffset)
Parameters
preMcXyzabc_rad
DVec3dPrevious machine XYZ-ABC coordinates in radians
programPolarXczSeq
SeqPair<Vec3d>Program polar XCZ sequence pair
duration
TimeSpanDuration of the contour movement
zCoordinateOffset
doubleZ-coordinate offset
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
ProgramPolarXczSeq
Gets or sets the program polar XCZ sequence pair.
public SeqPair<Vec3d> ProgramPolarXczSeq { get; set; }
Property Value
Remarks
Contains the start and end points in polar XCZ coordinates for interpolation in polar coordinate system.
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.