This repository has been archived on 2026-10-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
HiNC-2025-win-desktop-Deploy/App/wwwroot/HiAPI-docsite/api/Hi.Milling.MillingTools.MillingToolPhysicsPack.html
T

671 lines
28 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class MillingToolPhysicsPack | HiAPI-C# 2025 </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Class MillingToolPhysicsPack | HiAPI-C# 2025 ">
<meta name="description" content="The scalar physics derivations of one tool (and one cutting-parameter set), computed once on a sequential boundary and frozen. The per-step force build, the sequential physics, and the step/shot writers read these values thousands to millions of times per play; the tool and cutter objects themselves expose them as deliberately uncached pure computations, so hot session paths read this pack instead — callers outside a session simply pass null and the pure computation runs on use. Owned per session by MachiningSession, keyed by tool id. A pack is never updated in place: the paths that change tool/cutter/para state invalidate the session&#39;s packs explicitly (run-op start, tool change — see MachiningSession.InvalidateToolPhysicsPacks), and re-keys on object replacement.">
<link rel="icon" href="../img/HiAPI.favicon.ico">
<link rel="stylesheet" href="../public/docfx.min.css">
<link rel="stylesheet" href="../public/main.css">
<meta name="docfx:navrel" content="../toc.html">
<meta name="docfx:tocrel" content="toc.html">
<meta name="docfx:rel" content="../">
<meta name="loc:inThisArticle" content="In this article">
<meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
<meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
<meta name="loc:tocFilter" content="Filter by title">
<meta name="loc:nextArticle" content="Next">
<meta name="loc:prevArticle" content="Previous">
<meta name="loc:themeLight" content="Light">
<meta name="loc:themeDark" content="Dark">
<meta name="loc:themeAuto" content="Auto">
<meta name="loc:changeTheme" content="Change theme">
<meta name="loc:copy" content="Copy">
<meta name="loc:downloadPdf" content="Download PDF">
<script type="module" src="./../public/docfx.min.js"></script>
<script>
const theme = localStorage.getItem('theme') || 'auto'
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
</script>
</head>
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
<header class="bg-body border-bottom">
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
<div class="container-xxl flex-nowrap">
<a class="navbar-brand" href="../index.html">
<img id="logo" class="svg" src="../img/HiAPI.logo.png" alt="">
</a>
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
<i class="bi bi-three-dots"></i>
</button>
<div class="collapse navbar-collapse" id="navpanel">
<div id="navbar">
<form class="search" role="search" id="search">
<i class="bi bi-search"></i>
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
</form>
</div>
</div>
</div>
</nav>
</header>
<main class="container-xxl">
<div class="toc-offcanvas">
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<nav class="toc" id="toc"></nav>
</div>
</div>
</div>
<div class="content">
<div class="actionbar">
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
<i class="bi bi-list"></i>
</button>
<nav id="breadcrumb"></nav>
</div>
<article data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack">
<h1 id="Hi_Milling_MillingTools_MillingToolPhysicsPack" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack" class="text-break">
Class MillingToolPhysicsPack
</h1>
<div class="facts text-secondary">
<dl><dt>Namespace</dt><dd><a class="xref" href="Hi.html">Hi</a>.<a class="xref" href="Hi.Milling.html">Milling</a>.<a class="xref" href="Hi.Milling.MillingTools.html">MillingTools</a></dd></dl>
<dl><dt>Assembly</dt><dd>HiMech.dll</dd></dl>
</div>
<div class="markdown summary"><p>The scalar physics derivations of one tool (and one cutting-parameter set), computed
once on a sequential boundary and frozen. The per-step force build, the sequential
physics, and the step/shot writers read these values thousands to millions of times
per play; the tool and cutter objects themselves expose them as deliberately
<b>uncached pure computations</b>, so hot session paths read this pack instead —
callers outside a session simply pass <code>null</code> and the pure computation runs on
use. Owned per session by <code>MachiningSession</code>, keyed by tool id. A pack is never
updated in place: the paths that change tool/cutter/para state invalidate the
session's packs explicitly (run-op start, tool change — see
<code>MachiningSession.InvalidateToolPhysicsPacks</code>), and <a class="xref" href="Hi.Milling.MillingTools.MillingToolPhysicsPack.html#Hi_Milling_MillingTools_MillingToolPhysicsPack_IsStaleFor_Hi_Machining_IMachiningTool_Hi_MillingForces_Fittings_ICuttingPara_">IsStaleFor(IMachiningTool, ICuttingPara)</a>
re-keys on object replacement.</p>
</div>
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public sealed record MillingToolPhysicsPack : IEquatable&lt;MillingToolPhysicsPack&gt;</code></pre>
</div>
<dl class="typelist inheritance">
<dt>Inheritance</dt>
<dd>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
<div><span class="xref">MillingToolPhysicsPack</span></div>
</dd>
</dl>
<dl class="typelist implements">
<dt>Implements</dt>
<dd>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable</a>&lt;<a class="xref" href="Hi.Milling.MillingTools.MillingToolPhysicsPack.html">MillingToolPhysicsPack</a>&gt;</div>
</dd>
</dl>
<dl class="typelist inheritedMembers">
<dt>Inherited Members</dt>
<dd>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
</div>
</dd></dl>
<dl class="typelist extensionMethods">
<dt>Extension Methods</dt>
<dd>
<div>
<a class="xref" href="Hi.Common.DuplicateUtil.html#Hi_Common_DuplicateUtil_TryDuplicate__1___0_System_Object___">DuplicateUtil.TryDuplicate&lt;TSelf&gt;(TSelf, params object[])</a>
</div>
<div>
<a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__1___0_System_Action___0__">InvokeUtil.SelfInvoke&lt;TSrc&gt;(TSrc, Action&lt;TSrc&gt;)</a>
</div>
<div>
<a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__2___0_System_Func___0___1__">InvokeUtil.SelfInvoke&lt;TSrc, TDst&gt;(TSrc, Func&lt;TSrc, TDst&gt;)</a>
</div>
<div>
<a class="xref" href="Hi.Coloring.ColorUtil.html#Hi_Coloring_ColorUtil_GetGloomyColor_System_Object_System_Double_System_Double_">ColorUtil.GetGloomyColor(object, double, double)</a>
</div>
<div>
<a class="xref" href="Hi.Common.NameUtil.html#Hi_Common_NameUtil_GetSelectionName_System_Object_">NameUtil.GetSelectionName(object)</a>
</div>
<div>
<a class="xref" href="Hi.Common.StringUtil.html#Hi_Common_StringUtil_GetPropertyStringIfToStringNotOverloaded_System_Object_System_Boolean_System_Boolean_">StringUtil.GetPropertyStringIfToStringNotOverloaded(object, bool, bool)</a>
</div>
<div>
<a class="xref" href="Hi.Parallels.LockUtil.html#Hi_Parallels_LockUtil_Lock_System_Object_">LockUtil.Lock(object)</a>
</div>
</dd></dl>
<h2 class="section" id="constructors">Constructors
</h2>
<a id="Hi_Milling_MillingTools_MillingToolPhysicsPack__ctor_" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.#ctor*"></a>
<h3 id="Hi_Milling_MillingTools_MillingToolPhysicsPack__ctor_Hi_Machining_IMachiningTool_Hi_MillingForces_Fittings_ICuttingPara_System_Double_System_Double_System_Double_System_Double_System_Double_System_Double_System_Double_" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.#ctor(Hi.Machining.IMachiningTool,Hi.MillingForces.Fittings.ICuttingPara,System.Double,System.Double,System.Double,System.Double,System.Double,System.Double,System.Double)">
MillingToolPhysicsPack(IMachiningTool, ICuttingPara, double, double, double, double, double, double, double)
</h3>
<div class="markdown level1 summary"><p>The scalar physics derivations of one tool (and one cutting-parameter set), computed
once on a sequential boundary and frozen. The per-step force build, the sequential
physics, and the step/shot writers read these values thousands to millions of times
per play; the tool and cutter objects themselves expose them as deliberately
<b>uncached pure computations</b>, so hot session paths read this pack instead —
callers outside a session simply pass <code>null</code> and the pure computation runs on
use. Owned per session by <code>MachiningSession</code>, keyed by tool id. A pack is never
updated in place: the paths that change tool/cutter/para state invalidate the
session's packs explicitly (run-op start, tool change — see
<code>MachiningSession.InvalidateToolPhysicsPacks</code>), and <a class="xref" href="Hi.Milling.MillingTools.MillingToolPhysicsPack.html#Hi_Milling_MillingTools_MillingToolPhysicsPack_IsStaleFor_Hi_Machining_IMachiningTool_Hi_MillingForces_Fittings_ICuttingPara_">IsStaleFor(IMachiningTool, ICuttingPara)</a>
re-keys on object replacement.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public MillingToolPhysicsPack(IMachiningTool Tool, ICuttingPara Para, double SpindleBuckleToToolTipLength, double ObservationHeightFromToolTip, double EffectiveCuttingDiameter_mm, double BendingPara_umdN, double ZDeflectionPara_umdN, double FakeRakeAngle_rad, double MinimumUncutChipThickness_mm)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>Tool</code> <a class="xref" href="Hi.Machining.IMachiningTool.html">IMachiningTool</a></dt>
<dd><p>The tool the pack was built from.</p>
</dd>
<dt><code>Para</code> <a class="xref" href="Hi.MillingForces.Fittings.ICuttingPara.html">ICuttingPara</a></dt>
<dd><p>The cutting-parameter set the para-dependent members were built from (may be null).</p>
</dd>
<dt><code>SpindleBuckleToToolTipLength</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>See <a class="xref" href="Hi.Machining.IMachiningTool.html#Hi_Machining_IMachiningTool_SpindleBuckleToToolTipLength">SpindleBuckleToToolTipLength</a>.</p>
</dd>
<dt><code>ObservationHeightFromToolTip</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>See <a class="xref" href="Hi.Milling.MillingTools.MillingTool.html#Hi_Milling_MillingTools_MillingTool_ObservationHeightFromToolTip">ObservationHeightFromToolTip</a>; NaN when the tool is not a <a class="xref" href="Hi.Milling.MillingTools.MillingTool.html">MillingTool</a>.</p>
</dd>
<dt><code>EffectiveCuttingDiameter_mm</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>See <a class="xref" href="Hi.Milling.Cutters.MillingCutter.html#Hi_Milling_Cutters_MillingCutter_EffectiveCuttingDiameter_mm">EffectiveCuttingDiameter_mm</a>; NaN without a <a class="xref" href="Hi.Milling.Cutters.MillingCutter.html">MillingCutter</a>.</p>
</dd>
<dt><code>BendingPara_umdN</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>See <a class="xref" href="Hi.Machining.IMachiningTool.html#Hi_Machining_IMachiningTool_ExposedCutterBendingPara_umdN">ExposedCutterBendingPara_umdN</a>; NaN when the deflection geometry is degenerate (the pure getter throws there instead — the pack stays buildable so geometry-only paths keep working).</p>
</dd>
<dt><code>ZDeflectionPara_umdN</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>The pair member of <code class="paramref">BendingPara_umdN</code> — see <a class="xref" href="Hi.Machining.IMachiningTool.html#Hi_Machining_IMachiningTool_ExposedCutterZDeflectionPara_umdN">ExposedCutterZDeflectionPara_umdN</a>.</p>
</dd>
<dt><code>FakeRakeAngle_rad</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>The simplified (side/bottom averaged) rake angle; NaN without a <a class="xref" href="Hi.Milling.Cutters.MillingCutter.html">MillingCutter</a>.</p>
</dd>
<dt><code>MinimumUncutChipThickness_mm</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>See <a class="xref" href="Hi.Milling.Cutters.MillingCutter.html#Hi_Milling_Cutters_MillingCutter_GetMinimumUncutChipThickness_mm_Hi_MillingForces_Fittings_ICuttingPara_">GetMinimumUncutChipThickness_mm(ICuttingPara)</a> for <a class="xref" href="Hi.Milling.MillingTools.MillingToolPhysicsPack.html#Hi_Milling_MillingTools_MillingToolPhysicsPack_Para">Para</a>.</p>
</dd>
</dl>
<h2 class="section" id="properties">Properties
</h2>
<a id="Hi_Milling_MillingTools_MillingToolPhysicsPack_BendingPara_umdN_" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.BendingPara_umdN*"></a>
<h3 id="Hi_Milling_MillingTools_MillingToolPhysicsPack_BendingPara_umdN" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.BendingPara_umdN">
BendingPara_umdN
</h3>
<div class="markdown level1 summary"><p>See <a class="xref" href="Hi.Machining.IMachiningTool.html#Hi_Machining_IMachiningTool_ExposedCutterBendingPara_umdN">ExposedCutterBendingPara_umdN</a>; NaN when the deflection geometry is degenerate (the pure getter throws there instead — the pack stays buildable so geometry-only paths keep working).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double BendingPara_umdN { get; init; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_Milling_MillingTools_MillingToolPhysicsPack_EffectiveCuttingDiameter_mm_" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.EffectiveCuttingDiameter_mm*"></a>
<h3 id="Hi_Milling_MillingTools_MillingToolPhysicsPack_EffectiveCuttingDiameter_mm" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.EffectiveCuttingDiameter_mm">
EffectiveCuttingDiameter_mm
</h3>
<div class="markdown level1 summary"><p>See <a class="xref" href="Hi.Milling.Cutters.MillingCutter.html#Hi_Milling_Cutters_MillingCutter_EffectiveCuttingDiameter_mm">EffectiveCuttingDiameter_mm</a>; NaN without a <a class="xref" href="Hi.Milling.Cutters.MillingCutter.html">MillingCutter</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double EffectiveCuttingDiameter_mm { get; init; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_Milling_MillingTools_MillingToolPhysicsPack_FakeRakeAngle_rad_" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.FakeRakeAngle_rad*"></a>
<h3 id="Hi_Milling_MillingTools_MillingToolPhysicsPack_FakeRakeAngle_rad" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.FakeRakeAngle_rad">
FakeRakeAngle_rad
</h3>
<div class="markdown level1 summary"><p>The simplified (side/bottom averaged) rake angle; NaN without a <a class="xref" href="Hi.Milling.Cutters.MillingCutter.html">MillingCutter</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double FakeRakeAngle_rad { get; init; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_Milling_MillingTools_MillingToolPhysicsPack_MinimumUncutChipThickness_mm_" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.MinimumUncutChipThickness_mm*"></a>
<h3 id="Hi_Milling_MillingTools_MillingToolPhysicsPack_MinimumUncutChipThickness_mm" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.MinimumUncutChipThickness_mm">
MinimumUncutChipThickness_mm
</h3>
<div class="markdown level1 summary"><p>See <a class="xref" href="Hi.Milling.Cutters.MillingCutter.html#Hi_Milling_Cutters_MillingCutter_GetMinimumUncutChipThickness_mm_Hi_MillingForces_Fittings_ICuttingPara_">GetMinimumUncutChipThickness_mm(ICuttingPara)</a> for <a class="xref" href="Hi.Milling.MillingTools.MillingToolPhysicsPack.html#Hi_Milling_MillingTools_MillingToolPhysicsPack_Para">Para</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double MinimumUncutChipThickness_mm { get; init; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_Milling_MillingTools_MillingToolPhysicsPack_ObservationHeightFromToolTip_" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.ObservationHeightFromToolTip*"></a>
<h3 id="Hi_Milling_MillingTools_MillingToolPhysicsPack_ObservationHeightFromToolTip" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.ObservationHeightFromToolTip">
ObservationHeightFromToolTip
</h3>
<div class="markdown level1 summary"><p>See <a class="xref" href="Hi.Milling.MillingTools.MillingTool.html#Hi_Milling_MillingTools_MillingTool_ObservationHeightFromToolTip">ObservationHeightFromToolTip</a>; NaN when the tool is not a <a class="xref" href="Hi.Milling.MillingTools.MillingTool.html">MillingTool</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double ObservationHeightFromToolTip { get; init; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_Milling_MillingTools_MillingToolPhysicsPack_Para_" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.Para*"></a>
<h3 id="Hi_Milling_MillingTools_MillingToolPhysicsPack_Para" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.Para">
Para
</h3>
<div class="markdown level1 summary"><p>The cutting-parameter set the para-dependent members were built from (may be null).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ICuttingPara Para { get; init; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.MillingForces.Fittings.ICuttingPara.html">ICuttingPara</a></dt>
<dd></dd>
</dl>
<a id="Hi_Milling_MillingTools_MillingToolPhysicsPack_SpindleBuckleToToolTipLength_" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.SpindleBuckleToToolTipLength*"></a>
<h3 id="Hi_Milling_MillingTools_MillingToolPhysicsPack_SpindleBuckleToToolTipLength" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.SpindleBuckleToToolTipLength">
SpindleBuckleToToolTipLength
</h3>
<div class="markdown level1 summary"><p>See <a class="xref" href="Hi.Machining.IMachiningTool.html#Hi_Machining_IMachiningTool_SpindleBuckleToToolTipLength">SpindleBuckleToToolTipLength</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double SpindleBuckleToToolTipLength { get; init; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd></dd>
</dl>
<a id="Hi_Milling_MillingTools_MillingToolPhysicsPack_Tool_" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.Tool*"></a>
<h3 id="Hi_Milling_MillingTools_MillingToolPhysicsPack_Tool" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.Tool">
Tool
</h3>
<div class="markdown level1 summary"><p>The tool the pack was built from.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public IMachiningTool Tool { get; init; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Machining.IMachiningTool.html">IMachiningTool</a></dt>
<dd></dd>
</dl>
<a id="Hi_Milling_MillingTools_MillingToolPhysicsPack_ZDeflectionPara_umdN_" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.ZDeflectionPara_umdN*"></a>
<h3 id="Hi_Milling_MillingTools_MillingToolPhysicsPack_ZDeflectionPara_umdN" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.ZDeflectionPara_umdN">
ZDeflectionPara_umdN
</h3>
<div class="markdown level1 summary"><p>The pair member of <code class="paramref">BendingPara_umdN</code> — see <a class="xref" href="Hi.Machining.IMachiningTool.html#Hi_Machining_IMachiningTool_ExposedCutterZDeflectionPara_umdN">ExposedCutterZDeflectionPara_umdN</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double ZDeflectionPara_umdN { get; init; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd></dd>
</dl>
<h2 class="section" id="methods">Methods
</h2>
<a id="Hi_Milling_MillingTools_MillingToolPhysicsPack_Build_" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.Build*"></a>
<h3 id="Hi_Milling_MillingTools_MillingToolPhysicsPack_Build_Hi_Machining_IMachiningTool_Hi_MillingForces_Fittings_ICuttingPara_" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.Build(Hi.Machining.IMachiningTool,Hi.MillingForces.Fittings.ICuttingPara)">
Build(IMachiningTool, ICuttingPara)
</h3>
<div class="markdown level1 summary"><p>Builds a pack from the tool's (and cutter's) pure computations. Call on a
sequential boundary (session/play start, tool change) or ad hoc from a
no-session caller that wants the values bundled.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static MillingToolPhysicsPack Build(IMachiningTool tool, ICuttingPara para)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>tool</code> <a class="xref" href="Hi.Machining.IMachiningTool.html">IMachiningTool</a></dt>
<dd><p>The tool to derive from; null yields null.</p>
</dd>
<dt><code>para</code> <a class="xref" href="Hi.MillingForces.Fittings.ICuttingPara.html">ICuttingPara</a></dt>
<dd><p>The cutting-parameter set for the para-dependent members; may be null.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Milling.MillingTools.MillingToolPhysicsPack.html">MillingToolPhysicsPack</a></dt>
<dd><p>The frozen pack, or null when <code class="paramref">tool</code> is null.</p>
</dd>
</dl>
<a id="Hi_Milling_MillingTools_MillingToolPhysicsPack_IsStaleFor_" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.IsStaleFor*"></a>
<h3 id="Hi_Milling_MillingTools_MillingToolPhysicsPack_IsStaleFor_Hi_Machining_IMachiningTool_Hi_MillingForces_Fittings_ICuttingPara_" data-uid="Hi.Milling.MillingTools.MillingToolPhysicsPack.IsStaleFor(Hi.Machining.IMachiningTool,Hi.MillingForces.Fittings.ICuttingPara)">
IsStaleFor(IMachiningTool, ICuttingPara)
</h3>
<div class="markdown level1 summary"><p>Whether this pack was built from different objects than the live ones — a
replaced tool under the same id, or a swapped cutting para. In-place edits are
not detected here; they are covered by the explicit invalidation points
(<code>MachiningSession.InvalidateToolPhysicsPacks</code>).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool IsStaleFor(IMachiningTool tool, ICuttingPara para)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>tool</code> <a class="xref" href="Hi.Machining.IMachiningTool.html">IMachiningTool</a></dt>
<dd><p>The live tool to compare against.</p>
</dd>
<dt><code>para</code> <a class="xref" href="Hi.MillingForces.Fittings.ICuttingPara.html">ICuttingPara</a></dt>
<dd><p>The live cutting-parameter set to compare against.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd><p>True when the pack must be rebuilt.</p>
</dd>
</dl>
</article>
<div class="contribution d-print-none">
</div>
</div>
<div class="affix">
<nav id="affix"></nav>
</div>
</main>
<div class="container-xxl search-results" id="search-results"></div>
<footer class="border-top text-secondary">
<div class="container-xxl">
<div class="flex-fill">
<span> Copyright © 2025 <a href='https://superhightech.com.tw'>Tech Coordinate</a>. All rights reserved. <a href='https://superhightech.com.tw'>超級高科技股份有限公司</a> © 2025 版權所有 </span>
</div>
</div>
</footer>
</body>
</html>