HiNC-2025-win-desktop-Deploy/App/wwwroot/HiAPI-docsite/api/Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.html
2025-07-25 16:27:29 +08:00

1170 lines
38 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class ProfileMillingParaMap | HiAPI-C# 2025 </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Class ProfileMillingParaMap | HiAPI-C# 2025 ">
<meta name="description" content="Represents a mapping of milling parameters for profile milling operations. This class manages cutting parameters for both side and bottom milling operations.">
<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.MillingForces.ProfileMillingParas.ProfileMillingParaMap">
<h1 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap" class="text-break">
Class ProfileMillingParaMap
</h1>
<div class="facts text-secondary">
<dl><dt>Namespace</dt><dd><a class="xref" href="Hi.html">Hi</a>.<a class="xref" href="Hi.MillingForces.html">MillingForces</a>.<a class="xref" href="Hi.MillingForces.ProfileMillingParas.html">ProfileMillingParas</a></dd></dl>
<dl><dt>Assembly</dt><dd>HiMech.dll</dd></dl>
</div>
<div class="markdown summary"><p>Represents a mapping of milling parameters for profile milling operations.
This class manages cutting parameters for both side and bottom milling operations.</p>
</div>
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class ProfileMillingParaMap : ICuttingPara, IGetCuttingPara, IMakeXmlSource, INameNote</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">ProfileMillingParaMap</span></div>
</dd>
</dl>
<dl class="typelist implements">
<dt>Implements</dt>
<dd>
<div><a class="xref" href="Hi.MillingForces.Fittings.ICuttingPara.html">ICuttingPara</a></div>
<div><a class="xref" href="Hi.MillingForces.Fittings.IGetCuttingPara.html">IGetCuttingPara</a></div>
<div><a class="xref" href="Hi.Common.XmlUtils.IMakeXmlSource.html">IMakeXmlSource</a></div>
<div><a class="xref" href="Hi.Common.INameNote.html">INameNote</a></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.memberwiseclone">object.MemberwiseClone()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
</div>
</dd></dl>
<dl class="typelist extensionMethods">
<dt>Extension Methods</dt>
<dd>
<div>
<a class="xref" href="Hi.MillingForces.Fittings.CuttingParaUtil.html#Hi_MillingForces_Fittings_CuttingParaUtil_ToRakeFaceCuttingPara_Hi_MillingForces_Fittings_ICuttingPara_">CuttingParaUtil.ToRakeFaceCuttingPara(ICuttingPara)</a>
</div>
<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_MillingForces_ProfileMillingParas_ProfileMillingParaMap__ctor_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.#ctor*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap__ctor_Hi_MillingForces_ProfileMillingParas_LocalProfileMillingPara_Hi_MillingForces_ProfileMillingParas_LocalProfileMillingPara_System_Boolean_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.#ctor(Hi.MillingForces.ProfileMillingParas.LocalProfileMillingPara,Hi.MillingForces.ProfileMillingParas.LocalProfileMillingPara,System.Boolean)">
ProfileMillingParaMap(LocalProfileMillingPara, LocalProfileMillingPara, bool)
</h3>
<div class="markdown level1 summary"><p>Ctor for single <a class="xref" href="Hi.MillingForces.ProfileMillingParas.LocalProfileMillingPara.html">LocalProfileMillingPara</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ProfileMillingParaMap(LocalProfileMillingPara sidePara, LocalProfileMillingPara bottomPara = null, bool containUpperSide = false)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>sidePara</code> <a class="xref" href="Hi.MillingForces.ProfileMillingParas.LocalProfileMillingPara.html">LocalProfileMillingPara</a></dt>
<dd><p>milling parameter on side</p>
</dd>
<dt><code>bottomPara</code> <a class="xref" href="Hi.MillingForces.ProfileMillingParas.LocalProfileMillingPara.html">LocalProfileMillingPara</a></dt>
<dd><p>milling parameter on bottom</p>
</dd>
<dt><code>containUpperSide</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd><p>Whether to include upper side parameters</p>
</dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap__ctor_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.#ctor*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap__ctor_Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.#ctor(Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap)">
ProfileMillingParaMap(ProfileMillingParaMap)
</h3>
<div class="markdown level1 summary"><p>Copy ctor.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ProfileMillingParaMap(ProfileMillingParaMap src)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>src</code> <a class="xref" href="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.html">ProfileMillingParaMap</a></dt>
<dd><p>src</p>
</dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap__ctor_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.#ctor*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap__ctor_System_Int32_System_Int32_System_Int32_System_Boolean_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.#ctor(System.Int32,System.Int32,System.Int32,System.Boolean)">
ProfileMillingParaMap(int, int, int, bool)
</h3>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.html">ProfileMillingParaMap</a> class with specified dimensions.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ProfileMillingParaMap(int fluteNum, int yDivisionNum, int zDivisionNum, bool isUpperSideContained = false)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>fluteNum</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>The number of flutes.</p>
</dd>
<dt><code>yDivisionNum</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>The number of divisions in Y direction.</p>
</dd>
<dt><code>zDivisionNum</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>The number of divisions in Z direction.</p>
</dd>
<dt><code>isUpperSideContained</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd><p>Whether to include the upper side of the milling profile.</p>
</dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap__ctor_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.#ctor*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap__ctor_System_Xml_Linq_XElement_System_String_System_Boolean_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.#ctor(System.Xml.Linq.XElement,System.String,System.Boolean)">
ProfileMillingParaMap(XElement, string, bool)
</h3>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.html">ProfileMillingParaMap</a> class from XML data.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ProfileMillingParaMap(XElement src, string baseDirectory, bool isRtaVersion)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>src</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a></dt>
<dd><p>The XML element containing the parameter data.</p>
</dd>
<dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>The base directory for resolving relative paths.</p>
</dd>
<dt><code>isRtaVersion</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd><p>Whether the data is in RTA format.</p>
</dd>
</dl>
<h2 class="section" id="properties">Properties
</h2>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_BottomShearParas_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.BottomShearParas*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_BottomShearParas" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.BottomShearParas">
BottomShearParas
</h3>
<div class="markdown level1 summary"><p>Gets the bottom shear parameters array. Each element contains cutting coefficients for each flute.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Vec3d[] BottomShearParas { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a>[]</dt>
<dd></dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_ElementNum_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.ElementNum*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_ElementNum" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.ElementNum">
ElementNum
</h3>
<div class="markdown level1 summary"><p>Gets the total number of elements in the parameter map.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int ElementNum { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_FluteFormNum_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.FluteFormNum*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_FluteFormNum" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.FluteFormNum">
FluteFormNum
</h3>
<div class="markdown level1 summary"><p>Gets the number of flute forms in the parameter map.
The number should be 1 or be equal to the flute number of the cutter.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int FluteFormNum { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_IsUpperSideContained_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.IsUpperSideContained*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_IsUpperSideContained" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.IsUpperSideContained">
IsUpperSideContained
</h3>
<div class="markdown level1 summary"><p>Gets a value indicating whether the upper side of the milling profile is included in calculations.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool IsUpperSideContained { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_Name_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.Name*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_Name" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.Name">
Name
</h3>
<div class="markdown level1 summary"><p>Gets or sets the name of the parameter map.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public string Name { get; set; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_Note_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.Note*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_Note" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.Note">
Note
</h3>
<div class="markdown level1 summary"><p>Gets or sets additional notes or descriptions for the parameter map.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public string Note { get; set; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_PloughPara_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.PloughPara*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_PloughPara" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.PloughPara">
PloughPara
</h3>
<div class="markdown level1 summary"><p>Gets the ploughing force coefficients (Kpr, Kpt, Kpa) for the entire tool.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Vec3d PloughPara { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a></dt>
<dd></dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_SideShearParas_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.SideShearParas*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_SideShearParas" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.SideShearParas">
SideShearParas
</h3>
<div class="markdown level1 summary"><p>Gets the side shear parameters array. The dimensions represent [flute form, Y division, Z division].
Each element contains cutting coefficients (Ksr, Kst, Ksa) for the corresponding position.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Vec3d[,,] SideShearParas { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a>[,,]</dt>
<dd></dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_SideYParaNum_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.SideYParaNum*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_SideYParaNum" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.SideYParaNum">
SideYParaNum
</h3>
<div class="markdown level1 summary"><p>Gets the number of divisions in the Y direction for side milling parameters.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int SideYParaNum { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_SideZParaNum_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.SideZParaNum*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_SideZParaNum" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.SideZParaNum">
SideZParaNum
</h3>
<div class="markdown level1 summary"><p>Gets the number of divisions in the Z direction for side milling parameters.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int SideZParaNum { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd></dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_XName_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.XName*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_XName" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.XName">
XName
</h3>
<div class="markdown level1 summary"><p>Name for XML IO.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static string XName { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_XmlSourceFile_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.XmlSourceFile*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_XmlSourceFile" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.XmlSourceFile">
XmlSourceFile
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public string XmlSourceFile { get; set; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd></dd>
</dl>
<h2 class="section" id="methods">Methods
</h2>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_CloneTemplate_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.CloneTemplate*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_CloneTemplate" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.CloneTemplate">
CloneTemplate()
</h3>
<div class="markdown level1 summary"><p>Creates a template clone of this parameter map.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ICuttingPara CloneTemplate()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.MillingForces.Fittings.ICuttingPara.html">ICuttingPara</a></dt>
<dd><p>A new instance with the same dimensions but zero values.</p>
</dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_GenUnitParas_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.GenUnitParas*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_GenUnitParas" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.GenUnitParas">
GenUnitParas()
</h3>
<div class="markdown level1 summary"><p>Generates a list of unit cutting parameters.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public List&lt;ICuttingPara&gt; GenUnitParas()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="Hi.MillingForces.Fittings.ICuttingPara.html">ICuttingPara</a>&gt;</dt>
<dd><p>A list of unit cutting parameters.</p>
</dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_GetBottomMillingPara_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.GetBottomMillingPara*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_GetBottomMillingPara_System_Int32_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.GetBottomMillingPara(System.Int32)">
GetBottomMillingPara(int)
</h3>
<div class="markdown level1 summary"><p>Gets the milling parameters for the bottom of a specific flute.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public LocalProfileMillingPara GetBottomMillingPara(int fluteIndex)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>fluteIndex</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>The index of the flute.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.MillingForces.ProfileMillingParas.LocalProfileMillingPara.html">LocalProfileMillingPara</a></dt>
<dd><p>The local milling parameters for the bottom of the specified flute.</p>
</dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_GetCuttingPara_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.GetCuttingPara*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_GetCuttingPara" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.GetCuttingPara">
GetCuttingPara()
</h3>
<div class="markdown level1 summary"><p>Gets the cutting parameter interface for this instance.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public ICuttingPara GetCuttingPara()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.MillingForces.Fittings.ICuttingPara.html">ICuttingPara</a></dt>
<dd><p>The cutting parameter interface.</p>
</dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_GetElementByIndex_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.GetElementByIndex*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_GetElementByIndex_System_Int32_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.GetElementByIndex(System.Int32)">
GetElementByIndex(int)
</h3>
<div class="markdown level1 summary"><p>Gets a parameter value by its element index.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double GetElementByIndex(int elementIndex)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>elementIndex</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>The index of the element to get.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>The value at the specified index.</p>
</dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_GetElements_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.GetElements*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_GetElements" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.GetElements">
GetElements()
</h3>
<div class="markdown level1 summary"><p>Gets the elements as an array of values.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double[] GetElements()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>[]</dt>
<dd><p>An array containing all parameter values.</p>
</dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_GetSideMillingPara_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.GetSideMillingPara*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_GetSideMillingPara_System_Int32_System_Double_System_Double_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.GetSideMillingPara(System.Int32,System.Double,System.Double)">
GetSideMillingPara(int, double, double)
</h3>
<div class="markdown level1 summary"><p>Gets the milling parameters for a specific side position.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public LocalProfileMillingPara GetSideMillingPara(int fluteIndex, double atanYX_rad, double atanZX_rad)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>fluteIndex</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>The index of the flute.</p>
</dd>
<dt><code>atanYX_rad</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>The YX angle in radians.</p>
</dd>
<dt><code>atanZX_rad</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>The ZX angle in radians.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.MillingForces.ProfileMillingParas.LocalProfileMillingPara.html">LocalProfileMillingPara</a></dt>
<dd><p>The local milling parameters for the specified position.</p>
</dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_MakeXmlSource_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.MakeXmlSource*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_MakeXmlSource_System_String_System_String_System_Boolean_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.MakeXmlSource(System.String,System.String,System.Boolean)">
MakeXmlSource(string, string, bool)
</h3>
<div class="markdown level1 summary"><p>Creates an XML representation of the object.
This method may also generate additional resources such as related files.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public XElement MakeXmlSource(string baseDirectory, string relFile, bool exhibitionOnly)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>The base directory for resolving relative paths</p>
</dd>
<dt><code>relFile</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>The relative file path for the XML source</p>
</dd>
<dt><code>exhibitionOnly</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd><p>if true, the extended file creation is suppressed.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a></dt>
<dd><p>An XML element representing the object's state</p>
</dd>
</dl>
<h4 class="section" id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_MakeXmlSource_System_String_System_String_System_Boolean__remarks">Remarks</h4>
<div class="markdown level1 remarks"><p>For the demand of easy moving source folder (especially project folder) without configuration file path corruption, the relative file path is applied.
The <code class="paramref">baseDirectory</code> is typically the folder at the nearest configuration file folder.
Since the folder can be moving with the configuration file.</p>
</div>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_SetElementByIndex_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.SetElementByIndex*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_SetElementByIndex_System_Int32_System_Double_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.SetElementByIndex(System.Int32,System.Double)">
SetElementByIndex(int, double)
</h3>
<div class="markdown level1 summary"><p>Sets a parameter value by its element index.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void SetElementByIndex(int elementIndex, double v)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>elementIndex</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>The index of the element to set.</p>
</dd>
<dt><code>v</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>The value to set.</p>
</dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_ToString_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.ToString*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_ToString" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.ToString">
ToString()
</h3>
<div class="markdown level1 summary"><p>Returns a string that represents the current object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
<dd><p>A string that represents the current object.</p>
</dd>
</dl>
<a id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_ToTemplateXElement_" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.ToTemplateXElement*"></a>
<h3 id="Hi_MillingForces_ProfileMillingParas_ProfileMillingParaMap_ToTemplateXElement" data-uid="Hi.MillingForces.ProfileMillingParas.ProfileMillingParaMap.ToTemplateXElement">
ToTemplateXElement()
</h3>
<div class="markdown level1 summary"><p>Creates a template XML element for the parameter map.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public XElement ToTemplateXElement()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a></dt>
<dd><p>A template XML element.</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>