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
PressureEvaluationDepth_mm
For avoid unstable form floating error.
public static double PressureEvaluationDepth_mm { get; set; }
Property Value
RotationDivisionNum
Division number of a spindle cycle.
public static int RotationDivisionNum { get; set; }
Property Value
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
millingParaICuttingParaThe cutting parameters for the milling operation
millingToolIMachiningToolThe machining tool used for the operation
machineStepMachineMotionStepThe machining step information
engagementLayerMillingEngagementLayer milling engagement parameters
briefMillingPhysicsBriefOutput parameter for brief physics information
luggageMillingForceLuggageOutput parameter for milling force data
trialClippingHeight_mmdoubleThe available height for cutting height optimization search in millimeters. The value should be always equal or smaller than the cutting depth from the
engagementenableCalculatingReliefCollidingboolenable calculating effect of relief colliding
physicsPackMillingToolPhysicsPackThe frozen per-session physics pack of
millingToolandmillingPara; null (or a pack keyed to a different para) computes the gate values from the tool on use.