Table of Contents

Class LayerMillingEngagement

Namespace
Hi.Milling.Engagements
Assembly
HiMech.dll

Milling Engagement.

public class LayerMillingEngagement : IWriteBin
Inheritance
LayerMillingEngagement
Implements
Inherited Members
Extension Methods

Constructors

LayerMillingEngagement()

Initializes a new instance of the LayerMillingEngagement class.

public LayerMillingEngagement()

LayerMillingEngagement(BinaryReader)

Ctor.

public LayerMillingEngagement(BinaryReader reader)

Parameters

reader BinaryReader

Properties

AvgTouchedPeriodRatio

The side layers' engaged arcs averaged over the layer count, over 2 pi: every side layer weighs one whatever its Dv, a layer of no thickness the force kernels skip included (the engine lays none since 2026-11-04; a caller-built one still counts here). 0 without a side layer.

public double AvgTouchedPeriodRatio { get; }

Property Value

double

BottomEngagements

Gets or sets the bottom engagements. Maps R values to engagement layers

public SortedList<double, EngagementLayer> BottomEngagements { get; set; }

Property Value

SortedList<double, EngagementLayer>

BottomEngagementsByteArray

Gets or sets the bottom engagements as a byte array for serialization

public byte[] BottomEngagementsByteArray { get; set; }

Property Value

byte[]

RInterval

Gets or sets the R interval, which is equivalent to the Resolution

public double RInterval { get; set; }

Property Value

double

Resolution

Gets or sets the resolution value for engagement calculations in millimeters

public double Resolution { get; set; }

Property Value

double

SideEngagements

Gets or sets the side engagements. Maps Z values to engagement layers

public SortedList<double, EngagementLayer> SideEngagements { get; set; }

Property Value

SortedList<double, EngagementLayer>

SideEngagementsByteArray

Gets or sets the side engagements as a byte array for serialization

public byte[] SideEngagementsByteArray { get; set; }

Property Value

byte[]

StepIndex

Step index. For database saving.

[Key]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int StepIndex { get; set; }

Property Value

int

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

WriteBin(BinaryWriter)

Writes the object's data to a binary stream.

public void WriteBin(BinaryWriter writer)

Parameters

writer BinaryWriter

The binary writer to write to