fix bug of G53.1 and remove NcEnv.SetToolHeightCompensationOnFeatureNormal property.

This commit is contained in:
2026-03-19 17:25:33 +08:00
parent 2c586333b6
commit 52a3412ecb
826 changed files with 41648 additions and 6499 deletions
@@ -102,7 +102,7 @@ Class MachiningToolHouse
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class MachiningToolHouse : Dictionary&lt;int, IMachiningTool&gt;, IDictionary&lt;int, IMachiningTool&gt;, ICollection&lt;KeyValuePair&lt;int, IMachiningTool&gt;&gt;, IReadOnlyDictionary&lt;int, IMachiningTool&gt;, IReadOnlyCollection&lt;KeyValuePair&lt;int, IMachiningTool&gt;&gt;, IEnumerable&lt;KeyValuePair&lt;int, IMachiningTool&gt;&gt;, IDictionary, ICollection, IEnumerable, IDeserializationCallback, ISerializable, IMakeXmlSource</code></pre>
<pre><code class="lang-csharp hljs">public class MachiningToolHouse : Dictionary&lt;object, IMachiningTool&gt;, IDictionary&lt;object, IMachiningTool&gt;, ICollection&lt;KeyValuePair&lt;object, IMachiningTool&gt;&gt;, IReadOnlyDictionary&lt;object, IMachiningTool&gt;, IReadOnlyCollection&lt;KeyValuePair&lt;object, IMachiningTool&gt;&gt;, IEnumerable&lt;KeyValuePair&lt;object, IMachiningTool&gt;&gt;, IDictionary, ICollection, IEnumerable, IDeserializationCallback, ISerializable, INcDependency, IMakeXmlSource</code></pre>
</div>
@@ -112,7 +112,7 @@ Class MachiningToolHouse
<dt>Inheritance</dt>
<dd>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>, <a class="xref" href="Hi.Machining.IMachiningTool.html">IMachiningTool</a>&gt;</div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2">Dictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>, <a class="xref" href="Hi.Machining.IMachiningTool.html">IMachiningTool</a>&gt;</div>
<div><span class="xref">MachiningToolHouse</span></div>
</dd>
</dl>
@@ -120,16 +120,17 @@ Class MachiningToolHouse
<dl class="typelist implements">
<dt>Implements</dt>
<dd>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2">IDictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>, <a class="xref" href="Hi.Machining.IMachiningTool.html">IMachiningTool</a>&gt;</div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2">KeyValuePair</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>, <a class="xref" href="Hi.Machining.IMachiningTool.html">IMachiningTool</a>&gt;&gt;</div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlydictionary-2">IReadOnlyDictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>, <a class="xref" href="Hi.Machining.IMachiningTool.html">IMachiningTool</a>&gt;</div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2">KeyValuePair</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>, <a class="xref" href="Hi.Machining.IMachiningTool.html">IMachiningTool</a>&gt;&gt;</div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2">KeyValuePair</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>, <a class="xref" href="Hi.Machining.IMachiningTool.html">IMachiningTool</a>&gt;&gt;</div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary-2">IDictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>, <a class="xref" href="Hi.Machining.IMachiningTool.html">IMachiningTool</a>&gt;</div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2">KeyValuePair</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>, <a class="xref" href="Hi.Machining.IMachiningTool.html">IMachiningTool</a>&gt;&gt;</div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlydictionary-2">IReadOnlyDictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>, <a class="xref" href="Hi.Machining.IMachiningTool.html">IMachiningTool</a>&gt;</div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2">KeyValuePair</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>, <a class="xref" href="Hi.Machining.IMachiningTool.html">IMachiningTool</a>&gt;&gt;</div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2">KeyValuePair</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>, <a class="xref" href="Hi.Machining.IMachiningTool.html">IMachiningTool</a>&gt;&gt;</div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.idictionary">IDictionary</a></div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.ideserializationcallback">IDeserializationCallback</a></div>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
<div><a class="xref" href="Hi.NcParsers.Dependencys.INcDependency.html">INcDependency</a></div>
<div><a class="xref" href="Hi.Common.XmlUtils.IMakeXmlSource.html">IMakeXmlSource</a></div>
</dd>
</dl>
@@ -139,67 +140,67 @@ Class MachiningToolHouse
<dt>Inherited Members</dt>
<dd>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.add">Dictionary&lt;int, IMachiningTool&gt;.Add(int, IMachiningTool)</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.add">Dictionary&lt;object, IMachiningTool&gt;.Add(object, IMachiningTool)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.clear">Dictionary&lt;int, IMachiningTool&gt;.Clear()</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.clear">Dictionary&lt;object, IMachiningTool&gt;.Clear()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.containskey">Dictionary&lt;int, IMachiningTool&gt;.ContainsKey(int)</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.containskey">Dictionary&lt;object, IMachiningTool&gt;.ContainsKey(object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.containsvalue">Dictionary&lt;int, IMachiningTool&gt;.ContainsValue(IMachiningTool)</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.containsvalue">Dictionary&lt;object, IMachiningTool&gt;.ContainsValue(IMachiningTool)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.ensurecapacity">Dictionary&lt;int, IMachiningTool&gt;.EnsureCapacity(int)</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.ensurecapacity">Dictionary&lt;object, IMachiningTool&gt;.EnsureCapacity(int)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.getalternatelookup">Dictionary&lt;int, IMachiningTool&gt;.GetAlternateLookup&lt;TAlternateKey&gt;()</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.getalternatelookup">Dictionary&lt;object, IMachiningTool&gt;.GetAlternateLookup&lt;TAlternateKey&gt;()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.getenumerator">Dictionary&lt;int, IMachiningTool&gt;.GetEnumerator()</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.getenumerator">Dictionary&lt;object, IMachiningTool&gt;.GetEnumerator()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.ondeserialization">Dictionary&lt;int, IMachiningTool&gt;.OnDeserialization(object)</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.ondeserialization">Dictionary&lt;object, IMachiningTool&gt;.OnDeserialization(object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.remove#system-collections-generic-dictionary-2-remove(-0)">Dictionary&lt;int, IMachiningTool&gt;.Remove(int)</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.remove#system-collections-generic-dictionary-2-remove(-0)">Dictionary&lt;object, IMachiningTool&gt;.Remove(object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.remove#system-collections-generic-dictionary-2-remove(-0-1@)">Dictionary&lt;int, IMachiningTool&gt;.Remove(int, out IMachiningTool)</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.remove#system-collections-generic-dictionary-2-remove(-0-1@)">Dictionary&lt;object, IMachiningTool&gt;.Remove(object, out IMachiningTool)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.trimexcess#system-collections-generic-dictionary-2-trimexcess">Dictionary&lt;int, IMachiningTool&gt;.TrimExcess()</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.trimexcess#system-collections-generic-dictionary-2-trimexcess">Dictionary&lt;object, IMachiningTool&gt;.TrimExcess()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.trimexcess#system-collections-generic-dictionary-2-trimexcess(system-int32)">Dictionary&lt;int, IMachiningTool&gt;.TrimExcess(int)</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.trimexcess#system-collections-generic-dictionary-2-trimexcess(system-int32)">Dictionary&lt;object, IMachiningTool&gt;.TrimExcess(int)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.tryadd">Dictionary&lt;int, IMachiningTool&gt;.TryAdd(int, IMachiningTool)</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.tryadd">Dictionary&lt;object, IMachiningTool&gt;.TryAdd(object, IMachiningTool)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.trygetalternatelookup">Dictionary&lt;int, IMachiningTool&gt;.TryGetAlternateLookup&lt;TAlternateKey&gt;(out Dictionary&lt;int, IMachiningTool&gt;.AlternateLookup&lt;TAlternateKey&gt;)</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.trygetalternatelookup">Dictionary&lt;object, IMachiningTool&gt;.TryGetAlternateLookup&lt;TAlternateKey&gt;(out Dictionary&lt;object, IMachiningTool&gt;.AlternateLookup&lt;TAlternateKey&gt;)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.trygetvalue">Dictionary&lt;int, IMachiningTool&gt;.TryGetValue(int, out IMachiningTool)</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.trygetvalue">Dictionary&lt;object, IMachiningTool&gt;.TryGetValue(object, out IMachiningTool)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.comparer">Dictionary&lt;int, IMachiningTool&gt;.Comparer</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.comparer">Dictionary&lt;object, IMachiningTool&gt;.Comparer</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.count">Dictionary&lt;int, IMachiningTool&gt;.Count</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.count">Dictionary&lt;object, IMachiningTool&gt;.Count</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.capacity">Dictionary&lt;int, IMachiningTool&gt;.Capacity</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.capacity">Dictionary&lt;object, IMachiningTool&gt;.Capacity</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.item">Dictionary&lt;int, IMachiningTool&gt;.this[int]</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.item">Dictionary&lt;object, IMachiningTool&gt;.this[object]</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.keys">Dictionary&lt;int, IMachiningTool&gt;.Keys</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.keys">Dictionary&lt;object, IMachiningTool&gt;.Keys</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.values">Dictionary&lt;int, IMachiningTool&gt;.Values</a>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2.values">Dictionary&lt;object, IMachiningTool&gt;.Values</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
@@ -239,6 +240,12 @@ Class MachiningToolHouse
<div>
<a class="xref" href="Hi.Common.Collections.DictionaryUtil.html#Hi_Common_Collections_DictionaryUtil_Retrieve__2_System_Collections_Generic_Dictionary___0___1____0___1__System_Boolean_">DictionaryUtil.Retrieve&lt;K, V&gt;(Dictionary&lt;K, V&gt;, K, out V, bool)</a>
</div>
<div>
<a class="xref" href="Hi.Common.Collections.DictionaryUtil.html#Hi_Common_Collections_DictionaryUtil_GetOrCreate__2_System_Collections_Generic_IDictionary___0___1____0___1_">DictionaryUtil.GetOrCreate&lt;TKey, TValue&gt;(IDictionary&lt;TKey, TValue&gt;, TKey, TValue)</a>
</div>
<div>
<a class="xref" href="Hi.Common.Collections.DictionaryUtil.html#Hi_Common_Collections_DictionaryUtil_GetOrCreate__2_System_Collections_Generic_IDictionary___0___1____0_System_Func___1__">DictionaryUtil.GetOrCreate&lt;TKey, TValue&gt;(IDictionary&lt;TKey, TValue&gt;, TKey, Func&lt;TValue&gt;)</a>
</div>
<div>
<a class="xref" href="Hi.Common.Collections.DictionaryUtil.html#Hi_Common_Collections_DictionaryUtil_TryGetValueByKeys__2_System_Collections_Generic_IDictionary___0___1__System_Collections_Generic_IEnumerable___0____1__">DictionaryUtil.TryGetValueByKeys&lt;TKey, TValue&gt;(IDictionary&lt;TKey, TValue&gt;, IEnumerable&lt;TKey&gt;, out TValue)</a>
</div>
@@ -386,13 +393,13 @@ The tool ID is 1 if no tool existed; otherwise, the tool ID is the max tool ID p
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public KeyValuePair&lt;int, MillingTool&gt; CreateStickMillingTool()</code></pre>
<pre><code class="lang-csharp hljs">public KeyValuePair&lt;object, MillingTool&gt; CreateStickMillingTool()</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.keyvaluepair-2">KeyValuePair</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>, <a class="xref" href="Hi.Milling.MillingTools.MillingTool.html">MillingTool</a>&gt;</dt>
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2">KeyValuePair</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>, <a class="xref" href="Hi.Milling.MillingTools.MillingTool.html">MillingTool</a>&gt;</dt>
<dd><p>the generated tool id and the generated tool</p>
</dd>
</dl>
@@ -460,8 +467,8 @@ Since the folder can be moving with the configuration file.</p>
<a id="Hi_Machining_MachiningToolHouse_SetToolId_" data-uid="Hi.Machining.MachiningToolHouse.SetToolId*"></a>
<h3 id="Hi_Machining_MachiningToolHouse_SetToolId_System_Int32_Hi_Machining_IMachiningTool_" data-uid="Hi.Machining.MachiningToolHouse.SetToolId(System.Int32,Hi.Machining.IMachiningTool)">
SetToolId(int, IMachiningTool)
<h3 id="Hi_Machining_MachiningToolHouse_SetToolId_System_Object_Hi_Machining_IMachiningTool_" data-uid="Hi.Machining.MachiningToolHouse.SetToolId(System.Object,Hi.Machining.IMachiningTool)">
SetToolId(object, IMachiningTool)
</h3>
@@ -470,12 +477,12 @@ Since the folder can be moving with the configuration file.</p>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void SetToolId(int toolId, IMachiningTool millingTool)</code></pre>
<pre><code class="lang-csharp hljs">public void SetToolId(object toolId, IMachiningTool millingTool)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>toolId</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dt><code>toolId</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></dt>
<dd></dd>
<dt><code>millingTool</code> <a class="xref" href="Hi.Machining.IMachiningTool.html">IMachiningTool</a></dt>
<dd></dd>