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, DVec3d, TimeSpan?)

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

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

Parameters

beginCl DVec3d

The begin cutter location.

endCl DVec3d

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.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.