Table of Contents

Class ActClLinear

Namespace
Hi.Numerical.Acts
Assembly
HiMech.dll

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

path ClLinear

The linear cutter location path.

duration TimeSpan?

Optional total duration of the linear action.

ActClLinear(dvec3d_t, dvec3d_t, TimeSpan?)

Initializes a new instance of the ActClLinear class with begin and end cutter locations.

public ActClLinear(dvec3d_t beginCl, dvec3d_t endCl, TimeSpan? duration = null)

Parameters

beginCl dvec3d_t

The begin cutter location.

endCl dvec3d_t

The end cutter location.

duration TimeSpan?

Optional total duration of the linear action.

Properties

ActDuration

Gets or sets the duration of the action.

public TimeSpan ActDuration { get; set; }

Property Value

TimeSpan

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

ClLinear

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

ncResolution IMachiningMotionResolution

The machining motion resolution.

Returns

IEnumerable<ActClStep>

A sequence of ActClStep.

Remarks

Lazy since play-core migration P11: the step count is computed at the first MoveNext (and again on each enumeration) where the earlier enumerator computed it in this call, so an argument that cannot be read throws there; the steps come from core.dll when the resolution is exactly one of the three resolution classes (a derived class or a decorator takes the managed enumerator), from the managed enumerator otherwise, bit for bit the same.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.