Table of Contents

Class MillingForceUtil

Namespace
Hi.MillingForces
Assembly
HiMech.dll

Utility class for milling force calculations and related operations.

public static class MillingForceUtil
Inheritance
MillingForceUtil
Inherited Members

Properties

EnableNativeMillingPhysics

Whether the physics runs on the native (core.dll) kernels. Default is true, and in shipping builds the native kernel is the only physics implementation: setting this to false requires the managed reference implementation (the non-shipping HiMech.PhysicsRef assembly, registered at startup by dev/test hosts) and throws InvalidOperationException without it — failing at configuration time rather than on every step of a play. Both implementations produce the same results. Process-global like RotationDivisionNum.

public static bool EnableNativeMillingPhysics { get; set; }

Property Value

bool

PressureEvaluationDepth_mm

For avoid unstable form floating error.

public static double PressureEvaluationDepth_mm { get; set; }

Property Value

double

RotationDivisionNum

Division number of a spindle cycle.

public static int RotationDivisionNum { get; set; }

Property Value

int

Methods

GetMillingFoce(ICuttingPara, IMachiningTool, MachineMotionStep, LayerMillingEngagement, out MillingPhysicsBrief, out MillingForceLuggage, double, bool, MillingToolPhysicsPack)

Calculates the milling forces for a given machining operation

public static void GetMillingFoce(ICuttingPara millingPara, IMachiningTool millingTool, MachineMotionStep machineStep, LayerMillingEngagement engagement, out MillingPhysicsBrief brief, out MillingForceLuggage luggage, double trialClippingHeight_mm, bool enableCalculatingReliefColliding, MillingToolPhysicsPack physicsPack = null)

Parameters

millingPara ICuttingPara

The cutting parameters for the milling operation

millingTool IMachiningTool

The machining tool used for the operation

machineStep MachineMotionStep

The machining step information

engagement LayerMillingEngagement

Layer milling engagement parameters

brief MillingPhysicsBrief

Output parameter for brief physics information

luggage MillingForceLuggage

Output parameter for milling force data

trialClippingHeight_mm double

The available height for cutting height optimization search in millimeters. The value should be always equal or smaller than the cutting depth from the engagement

enableCalculatingReliefColliding bool

enable calculating effect of relief colliding

physicsPack MillingToolPhysicsPack

The frozen per-session physics pack of millingTool and millingPara; null (or a pack keyed to a different para) computes the gate values from the tool on use.