Table of Contents

Class MillingForceLuggage

Namespace
Hi.MillingForces
Assembly
HiMech.dll

Represents a container for milling force data and calculations.

[BsonIgnoreExtraElements]
public class MillingForceLuggage
Inheritance
MillingForceLuggage
Inherited Members
Extension Methods

Constructors

MillingForceLuggage()

Initializes a new instance of the MillingForceLuggage class.

public MillingForceLuggage()

MillingForceLuggage(BinaryReader)

Initializes a new instance of the MillingForceLuggage class from a binary reader.

public MillingForceLuggage(BinaryReader reader)

Parameters

reader BinaryReader

The binary reader containing the milling force data.

Properties

CuttingForcesToToolOnToolRunningCoordinate_N

Cutting forces on tool running coordinate. The forced item is tool.

public List<Vec3d> CuttingForcesToToolOnToolRunningCoordinate_N { get; }

Property Value

List<Vec3d>

MomentsToToolAboutToolTipOnToolRunningCoordinate_Nm

Moments on tool running coordinate in N*m. The fulcrum is at the coordinate zero. The moment is taken by tool. The size is RotationDivisionNum.

[BsonElement]
public List<Vec3d> MomentsToToolAboutToolTipOnToolRunningCoordinate_Nm { get; }

Property Value

List<Vec3d>

PloughForcesOnTr

plough force on tool running coordinate. The force is taken by tool. In sequence of time.

[BsonElement]
public List<Vec3d> PloughForcesOnTr { get; }

Property Value

List<Vec3d>

RotationDivisionNum

Gets the number of divisions for one complete rotation.

public int RotationDivisionNum { get; }

Property Value

int

ShearForcesOnTr

shear forces on tool running coordinate. The force is taken by tool. In sequence of time.

[BsonElement]
public List<Vec3d> ShearForcesOnTr { get; }

Property Value

List<Vec3d>

StepIndex

Step index. For database saving.

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

Property Value

int

Methods

GetCuttingForcesToToolOnWorkpieceCoodinate_N(Mat4d)

Cutting forces on workpiece coordinate. The forced item is tool.

public List<Vec3d> GetCuttingForcesToToolOnWorkpieceCoodinate_N(Mat4d CdnTransformFromToolRunningZeroToWorkpieceGeom)

Parameters

CdnTransformFromToolRunningZeroToWorkpieceGeom Mat4d

Returns

List<Vec3d>

GetCuttingForcesToWorkpieceOnProgramCoordinate_N(Mat4d)

Cutting forces on workpiece coordinate. The forced item is workpiece.

public List<Vec3d> GetCuttingForcesToWorkpieceOnProgramCoordinate_N(Mat4d cdnTransformFromToolRunningToProgram)

Parameters

cdnTransformFromToolRunningToProgram Mat4d

Returns

List<Vec3d>

GetCuttingForcesToWorkpieceOnProgramCoordinate_N(MachineMotionStep)

Gets the cutting forces to workpiece on program coordinate in Newtons for a specific machining step.

public List<Vec3d> GetCuttingForcesToWorkpieceOnProgramCoordinate_N(MachineMotionStep machineStep)

Parameters

machineStep MachineMotionStep

The machining step to get forces for

Returns

List<Vec3d>

List of force vectors in Newtons

GetForceToToolOnToolRunningCoordinateCsvString(MachineMotionStep)

Gets the force to tool on tool running coordinate as a CSV string.

public string GetForceToToolOnToolRunningCoordinateCsvString(MachineMotionStep machineStep)

Parameters

machineStep MachineMotionStep

The machining step to get forces for.

Returns

string

A CSV string representation of the forces.

GetForceToWorkpieceOnProgramCoordinateCsvString(MachineMotionStep)

Gets the force to workpiece on program coordinate as a CSV string.

public string GetForceToWorkpieceOnProgramCoordinateCsvString(MachineMotionStep machineStep)

Parameters

machineStep MachineMotionStep

The machining step to get forces for.

Returns

string

A CSV string representation of the forces.

GetMomentsAboutAnchorOnToolRunningCoordinate_Nm(IMachiningTool)

Gets the moments about anchor on tool running coordinate in Newton-meters.

public List<Vec3d> GetMomentsAboutAnchorOnToolRunningCoordinate_Nm(IMachiningTool millingTool)

Parameters

millingTool IMachiningTool

The machining tool to calculate moments for.

Returns

List<Vec3d>

A list of moment vectors.

GetMomentsAboutAnchorOnToolRunningCoordinate_Nm(MachiningToolHouse, MachineMotionStep)

Gets the moments about anchor on tool running coordinate in Newton-meters.

public List<Vec3d> GetMomentsAboutAnchorOnToolRunningCoordinate_Nm(MachiningToolHouse toolHouse, MachineMotionStep machineStep)

Parameters

toolHouse MachiningToolHouse

The tool house containing the machining tool.

machineStep MachineMotionStep

The machining step to calculate moments for.

Returns

List<Vec3d>

A list of moment vectors.

GetMomentsAboutObservationPointOnSpindleRotationCoordinate_Nm(MachiningToolHouse, MachineMotionStep)

Moment to tool.

public List<Vec3d> GetMomentsAboutObservationPointOnSpindleRotationCoordinate_Nm(MachiningToolHouse toolHouse, MachineMotionStep machineStep)

Parameters

toolHouse MachiningToolHouse

The tool house containing the machining tool

machineStep MachineMotionStep

The machining step to get moments for

Returns

List<Vec3d>

List of moment vectors about observation point on spindle rotation coordinate

GetMomentsAboutToolTipOnSpindleRotationCoordinate_Nm()

Gets the moments about tool tip on spindle rotation coordinate in Newton-meters.

public List<Vec3d> GetMomentsAboutToolTipOnSpindleRotationCoordinate_Nm()

Returns

List<Vec3d>

A list of moment vectors.

GetMomentsOnToolRunningCoordinate_Nm(Vec3d)

Get moments to tool.

public List<Vec3d> GetMomentsOnToolRunningCoordinate_Nm(Vec3d observationPosFromToolTip)

Parameters

observationPosFromToolTip Vec3d

Returns

List<Vec3d>

GetMomentsOnToolRunningCoordinate_Nm(double)

Gets the moments on the tool running coordinate system at a specified height from the tool tip.

public List<Vec3d> GetMomentsOnToolRunningCoordinate_Nm(double observationHeightFromToolTip)

Parameters

observationHeightFromToolTip double

The height from the tool tip where moments are calculated.

Returns

List<Vec3d>

A list of moment vectors in the tool running coordinate system.

GetMomentsToToolAboutObservationPointOnSpindleRotationCoordinate_Nm(IMachiningTool)

Moment to tool.

public List<Vec3d> GetMomentsToToolAboutObservationPointOnSpindleRotationCoordinate_Nm(IMachiningTool millingTool)

Parameters

millingTool IMachiningTool

Returns

List<Vec3d>

GetMomentsToToolOnSpindleRotationZeroCsvString(MachiningToolHouse, MachineMotionStep, RakeFacePhysicsBrief)

Gets the moments to tool on spindle rotation zero as a CSV string.

public string GetMomentsToToolOnSpindleRotationZeroCsvString(MachiningToolHouse toolHouse, MachineMotionStep machineStep, RakeFacePhysicsBrief brief)

Parameters

toolHouse MachiningToolHouse

The tool house containing the machining tool.

machineStep MachineMotionStep

The machining step to get moments for.

brief RakeFacePhysicsBrief

The rake face physics brief.

Returns

string

A CSV string representation of the moments.

GetTipDeflectionOnToolRunningCoordinateList_mm(IMachiningTool)

Gets the tool tip deflection on the tool running coordinate system.

public List<Vec3d> GetTipDeflectionOnToolRunningCoordinateList_mm(IMachiningTool millingTool)

Parameters

millingTool IMachiningTool

The milling tool for which to calculate deflections.

Returns

List<Vec3d>

A list of deflection vectors in millimeters in the tool running coordinate system.

GetYieldingStressRatio(IMachiningTool)

Gets the yielding stress ratio for the given machining tool.

public double GetYieldingStressRatio(IMachiningTool millingTool)

Parameters

millingTool IMachiningTool

The machining tool to calculate the stress ratio for.

Returns

double

The yielding stress ratio.

ToCuttingForcesString()

Converts the cutting forces to a string representation.

public string ToCuttingForcesString()

Returns

string

A string representation of the cutting forces.

WriteBin(BinaryWriter)

public void WriteBin(BinaryWriter writer)

Parameters

writer BinaryWriter