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_radDVec3dPrevious machine XYZ-ABC coordinates in radians
programPolarXczSeqSeqPair<Vec3d>Program polar XCZ sequence pair
durationTimeSpanDuration of the contour movement
zCoordinateOffsetdoubleZ-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
ncResolutionIMachiningMotionResolutionThe machining motion resolution to use for step generation.
spindleBuckleToToolTipLengthdoubleThe length from spindle buckle to tool tip, used for computing step numbers.
Returns
- IEnumerable<ActMcXyzabcStep>
A collection of machine XYZABC steps.