fix opt rotation code jumping at pi-cycle bounding.

This commit is contained in:
2026-03-02 20:29:12 +08:00
parent ee51fd62dc
commit 8f334870a2
26 changed files with 348 additions and 134 deletions
@@ -884,16 +884,10 @@ Host class for HiNC functionality that provides project management, path resolut
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task CloseProject()</code></pre>
<pre><code class="lang-csharp hljs">public void CloseProject()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt>
<dd><p>A task representing the asynchronous operation</p>
</dd>
</dl>
@@ -482,6 +482,38 @@ public bool EnableMotionDependentMachiningResolution { get; set; }</code></pre>
<a id="Hi_MachiningProcs_RuntimeApi_EnableMzLeverWeightingOnTraining_" data-uid="Hi.MachiningProcs.RuntimeApi.EnableMzLeverWeightingOnTraining*"></a>
<h3 id="Hi_MachiningProcs_RuntimeApi_EnableMzLeverWeightingOnTraining" data-uid="Hi.MachiningProcs.RuntimeApi.EnableMzLeverWeightingOnTraining">
EnableMzLeverWeightingOnTraining
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[Obsolete]
public bool EnableMzLeverWeightingOnTraining { 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.boolean">bool</a></dt>
<dd></dd>
</dl>
<a id="Hi_MachiningProcs_RuntimeApi_EnablePauseOnCollision_" data-uid="Hi.MachiningProcs.RuntimeApi.EnablePauseOnCollision*"></a>
<h3 id="Hi_MachiningProcs_RuntimeApi_EnablePauseOnCollision" data-uid="Hi.MachiningProcs.RuntimeApi.EnablePauseOnCollision">
@@ -582,6 +614,43 @@ public bool EnablePhysics { get; set; }</code></pre>
<a id="Hi_MachiningProcs_RuntimeApi_EnableSampleNormalization_" data-uid="Hi.MachiningProcs.RuntimeApi.EnableSampleNormalization*"></a>
<h3 id="Hi_MachiningProcs_RuntimeApi_EnableSampleNormalization" data-uid="Hi.MachiningProcs.RuntimeApi.EnableSampleNormalization">
EnableSampleNormalization
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[Obsolete]
public bool EnableSampleNormalization { 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.boolean">bool</a></dt>
<dd></dd>
</dl>
<h4 class="section" id="Hi_MachiningProcs_RuntimeApi_EnableSampleNormalization_remarks">Remarks</h4>
<div class="markdown level1 remarks"><p>The input normalization deminish the quantity effect.
The R-value decrease from 99% to 70% in moment training case from NKUST\nkust2024-milling-para-training-plan\workingx.hincproj
Don't apply this option.</p>
</div>
<a id="Hi_MachiningProcs_RuntimeApi_EnableWearEffect_" data-uid="Hi.MachiningProcs.RuntimeApi.EnableWearEffect*"></a>
<h3 id="Hi_MachiningProcs_RuntimeApi_EnableWearEffect" data-uid="Hi.MachiningProcs.RuntimeApi.EnableWearEffect">
@@ -1022,7 +1091,7 @@ This property should be set before milling force evaluation if <a class="xref" h
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[JsAce]
<pre><code class="lang-csharp hljs">[JsAce(DocContentHtml = &quot;Obsoleted. Use MillingCycleDivisionNum instead.&quot;)]
[Obsolete(&quot;Use MillingCycleDivisionNum instead.&quot;)]
public static int MillingForceCycleDivisionNum { get; set; }</code></pre>
</div>
@@ -743,6 +743,39 @@ public class RuntimeController : ControllerBase</code></pre>
</h2>
<a id="Hi_MachiningProcs_RuntimeController_DefaultParaTemplateDimension_" data-uid="Hi.MachiningProcs.RuntimeController.DefaultParaTemplateDimension*"></a>
<h3 id="Hi_MachiningProcs_RuntimeController_DefaultParaTemplateDimension" data-uid="Hi.MachiningProcs.RuntimeController.DefaultParaTemplateDimension">
DefaultParaTemplateDimension
</h3>
<div class="markdown level1 summary"><p><a class="xref" href="Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_DefaultParaTemplateDimension">DefaultParaTemplateDimension</a></p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[JsAce]
public int DefaultParaTemplateDimension { 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.int32">int</a></dt>
<dd></dd>
</dl>
<a id="Hi_MachiningProcs_RuntimeController_DiffVisualRadius_mm_" data-uid="Hi.MachiningProcs.RuntimeController.DiffVisualRadius_mm*"></a>
<h3 id="Hi_MachiningProcs_RuntimeController_DiffVisualRadius_mm" data-uid="Hi.MachiningProcs.RuntimeController.DiffVisualRadius_mm">
@@ -2236,39 +2269,6 @@ public double OptYieldingUtilizationFactor { get; set; }</code></pre>
<a id="Hi_MachiningProcs_RuntimeController_ParaTemplateDimension_" data-uid="Hi.MachiningProcs.RuntimeController.ParaTemplateDimension*"></a>
<h3 id="Hi_MachiningProcs_RuntimeController_ParaTemplateDimension" data-uid="Hi.MachiningProcs.RuntimeController.ParaTemplateDimension">
ParaTemplateDimension
</h3>
<div class="markdown level1 summary"><p><a class="xref" href="Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_DefaultParaTemplateDimension">DefaultParaTemplateDimension</a></p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[JsAce]
public int ParaTemplateDimension { 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.int32">int</a></dt>
<dd></dd>
</dl>
<a id="Hi_MachiningProcs_RuntimeController_RuntimeApi_" data-uid="Hi.MachiningProcs.RuntimeController.RuntimeApi*"></a>
<h3 id="Hi_MachiningProcs_RuntimeController_RuntimeApi" data-uid="Hi.MachiningProcs.RuntimeController.RuntimeApi">
@@ -275,6 +275,36 @@ Class TrainingSample
</h2>
<a id="Hi_MillingForces_Fittings_TrainingSample_NormalizeByInput_" data-uid="Hi.MillingForces.Fittings.TrainingSample.NormalizeByInput*"></a>
<h3 id="Hi_MillingForces_Fittings_TrainingSample_NormalizeByInput" data-uid="Hi.MillingForces.Fittings.TrainingSample.NormalizeByInput">
NormalizeByInput()
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void NormalizeByInput()</code></pre>
</div>
<h4 class="section" id="Hi_MillingForces_Fittings_TrainingSample_NormalizeByInput_remarks">Remarks</h4>
<div class="markdown level1 remarks"><p>The input normalization deminish the quantity effect.
The R-value decrease from 99% to 70% in moment training case from NKUST\nkust2024-milling-para-training-plan\workingx.hincproj</p>
</div>
<a id="Hi_MillingForces_Fittings_TrainingSample_ToString_" data-uid="Hi.MillingForces.Fittings.TrainingSample.ToString*"></a>
<h3 id="Hi_MillingForces_Fittings_TrainingSample_ToString" data-uid="Hi.MillingForces.Fittings.TrainingSample.ToString">
@@ -149,6 +149,76 @@ Class MillingTraining
<h2 class="section" id="fields">Fields
</h2>
<h3 id="Hi_MillingForces_Training_MillingTraining_EnableMzLeverWeighting" data-uid="Hi.MillingForces.Training.MillingTraining.EnableMzLeverWeighting">
EnableMzLeverWeighting
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static bool EnableMzLeverWeighting</code></pre>
</div>
<h4 class="section">Field Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h3 id="Hi_MillingForces_Training_MillingTraining_EnableSampleNormalization" data-uid="Hi.MillingForces.Training.MillingTraining.EnableSampleNormalization">
EnableSampleNormalization
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[Obsolete]
public static bool EnableSampleNormalization</code></pre>
</div>
<h4 class="section">Field Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd></dd>
</dl>
<h4 class="section" id="Hi_MillingForces_Training_MillingTraining_EnableSampleNormalization_remarks">Remarks</h4>
<div class="markdown level1 remarks"><p>The input normalization deminish the quantity effect.
The R-value decrease from 99% to 70% in moment training case from NKUST\nkust2024-milling-para-training-plan\workingx.hincproj
Don't apply this option.</p>
</div>
<h2 class="section" id="properties">Properties
</h2>
File diff suppressed because one or more lines are too long
+64 -13
View File
@@ -84239,6 +84239,19 @@ references:
isSpec: "True"
fullName: Hi.MachiningProcs.RuntimeApi.EnableMotionDependentMachiningResolution
nameWithType: RuntimeApi.EnableMotionDependentMachiningResolution
- uid: Hi.MachiningProcs.RuntimeApi.EnableMzLeverWeightingOnTraining
name: EnableMzLeverWeightingOnTraining
href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_EnableMzLeverWeightingOnTraining
commentId: P:Hi.MachiningProcs.RuntimeApi.EnableMzLeverWeightingOnTraining
fullName: Hi.MachiningProcs.RuntimeApi.EnableMzLeverWeightingOnTraining
nameWithType: RuntimeApi.EnableMzLeverWeightingOnTraining
- uid: Hi.MachiningProcs.RuntimeApi.EnableMzLeverWeightingOnTraining*
name: EnableMzLeverWeightingOnTraining
href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_EnableMzLeverWeightingOnTraining_
commentId: Overload:Hi.MachiningProcs.RuntimeApi.EnableMzLeverWeightingOnTraining
isSpec: "True"
fullName: Hi.MachiningProcs.RuntimeApi.EnableMzLeverWeightingOnTraining
nameWithType: RuntimeApi.EnableMzLeverWeightingOnTraining
- uid: Hi.MachiningProcs.RuntimeApi.EnablePauseOnCollision
name: EnablePauseOnCollision
href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_EnablePauseOnCollision
@@ -84278,6 +84291,19 @@ references:
isSpec: "True"
fullName: Hi.MachiningProcs.RuntimeApi.EnablePhysics
nameWithType: RuntimeApi.EnablePhysics
- uid: Hi.MachiningProcs.RuntimeApi.EnableSampleNormalization
name: EnableSampleNormalization
href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_EnableSampleNormalization
commentId: P:Hi.MachiningProcs.RuntimeApi.EnableSampleNormalization
fullName: Hi.MachiningProcs.RuntimeApi.EnableSampleNormalization
nameWithType: RuntimeApi.EnableSampleNormalization
- uid: Hi.MachiningProcs.RuntimeApi.EnableSampleNormalization*
name: EnableSampleNormalization
href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_EnableSampleNormalization_
commentId: Overload:Hi.MachiningProcs.RuntimeApi.EnableSampleNormalization
isSpec: "True"
fullName: Hi.MachiningProcs.RuntimeApi.EnableSampleNormalization
nameWithType: RuntimeApi.EnableSampleNormalization
- uid: Hi.MachiningProcs.RuntimeApi.EnableWearEffect
name: EnableWearEffect
href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_EnableWearEffect
@@ -85756,6 +85782,19 @@ references:
isSpec: "True"
fullName: Hi.MachiningProcs.RuntimeController.ClearTimeMappingData
nameWithType: RuntimeController.ClearTimeMappingData
- uid: Hi.MachiningProcs.RuntimeController.DefaultParaTemplateDimension
name: DefaultParaTemplateDimension
href: api/Hi.MachiningProcs.RuntimeController.html#Hi_MachiningProcs_RuntimeController_DefaultParaTemplateDimension
commentId: P:Hi.MachiningProcs.RuntimeController.DefaultParaTemplateDimension
fullName: Hi.MachiningProcs.RuntimeController.DefaultParaTemplateDimension
nameWithType: RuntimeController.DefaultParaTemplateDimension
- uid: Hi.MachiningProcs.RuntimeController.DefaultParaTemplateDimension*
name: DefaultParaTemplateDimension
href: api/Hi.MachiningProcs.RuntimeController.html#Hi_MachiningProcs_RuntimeController_DefaultParaTemplateDimension_
commentId: Overload:Hi.MachiningProcs.RuntimeController.DefaultParaTemplateDimension
isSpec: "True"
fullName: Hi.MachiningProcs.RuntimeController.DefaultParaTemplateDimension
nameWithType: RuntimeController.DefaultParaTemplateDimension
- uid: Hi.MachiningProcs.RuntimeController.Diff(System.Double)
name: Diff(double)
href: api/Hi.MachiningProcs.RuntimeController.html#Hi_MachiningProcs_RuntimeController_Diff_System_Double_
@@ -86572,19 +86611,6 @@ references:
isSpec: "True"
fullName: Hi.MachiningProcs.RuntimeController.Pace
nameWithType: RuntimeController.Pace
- uid: Hi.MachiningProcs.RuntimeController.ParaTemplateDimension
name: ParaTemplateDimension
href: api/Hi.MachiningProcs.RuntimeController.html#Hi_MachiningProcs_RuntimeController_ParaTemplateDimension
commentId: P:Hi.MachiningProcs.RuntimeController.ParaTemplateDimension
fullName: Hi.MachiningProcs.RuntimeController.ParaTemplateDimension
nameWithType: RuntimeController.ParaTemplateDimension
- uid: Hi.MachiningProcs.RuntimeController.ParaTemplateDimension*
name: ParaTemplateDimension
href: api/Hi.MachiningProcs.RuntimeController.html#Hi_MachiningProcs_RuntimeController_ParaTemplateDimension_
commentId: Overload:Hi.MachiningProcs.RuntimeController.ParaTemplateDimension
isSpec: "True"
fullName: Hi.MachiningProcs.RuntimeController.ParaTemplateDimension
nameWithType: RuntimeController.ParaTemplateDimension
- uid: Hi.MachiningProcs.RuntimeController.Pause
name: Pause()
href: api/Hi.MachiningProcs.RuntimeController.html#Hi_MachiningProcs_RuntimeController_Pause
@@ -104073,6 +104099,19 @@ references:
isSpec: "True"
fullName: Hi.MillingForces.Fittings.TrainingSample.InputArray
nameWithType: TrainingSample.InputArray
- uid: Hi.MillingForces.Fittings.TrainingSample.NormalizeByInput
name: NormalizeByInput()
href: api/Hi.MillingForces.Fittings.TrainingSample.html#Hi_MillingForces_Fittings_TrainingSample_NormalizeByInput
commentId: M:Hi.MillingForces.Fittings.TrainingSample.NormalizeByInput
fullName: Hi.MillingForces.Fittings.TrainingSample.NormalizeByInput()
nameWithType: TrainingSample.NormalizeByInput()
- uid: Hi.MillingForces.Fittings.TrainingSample.NormalizeByInput*
name: NormalizeByInput
href: api/Hi.MillingForces.Fittings.TrainingSample.html#Hi_MillingForces_Fittings_TrainingSample_NormalizeByInput_
commentId: Overload:Hi.MillingForces.Fittings.TrainingSample.NormalizeByInput
isSpec: "True"
fullName: Hi.MillingForces.Fittings.TrainingSample.NormalizeByInput
nameWithType: TrainingSample.NormalizeByInput
- uid: Hi.MillingForces.Fittings.TrainingSample.Output
name: Output
href: api/Hi.MillingForces.Fittings.TrainingSample.html#Hi_MillingForces_Fittings_TrainingSample_Output
@@ -108808,6 +108847,18 @@ references:
isSpec: "True"
fullName: Hi.MillingForces.Training.MillingTraining.DefaultParaTemplate
nameWithType: MillingTraining.DefaultParaTemplate
- uid: Hi.MillingForces.Training.MillingTraining.EnableMzLeverWeighting
name: EnableMzLeverWeighting
href: api/Hi.MillingForces.Training.MillingTraining.html#Hi_MillingForces_Training_MillingTraining_EnableMzLeverWeighting
commentId: F:Hi.MillingForces.Training.MillingTraining.EnableMzLeverWeighting
fullName: Hi.MillingForces.Training.MillingTraining.EnableMzLeverWeighting
nameWithType: MillingTraining.EnableMzLeverWeighting
- uid: Hi.MillingForces.Training.MillingTraining.EnableSampleNormalization
name: EnableSampleNormalization
href: api/Hi.MillingForces.Training.MillingTraining.html#Hi_MillingForces_Training_MillingTraining_EnableSampleNormalization
commentId: F:Hi.MillingForces.Training.MillingTraining.EnableSampleNormalization
fullName: Hi.MillingForces.Training.MillingTraining.EnableSampleNormalization
nameWithType: MillingTraining.EnableSampleNormalization
- uid: Hi.MillingForces.Training.MillingTraining.GatherAndGetUpdate(System.Collections.Concurrent.ConcurrentDictionary{System.Int32,System.Collections.Generic.List{Hi.Mapping.ITimeShot}},Hi.CutterLocations.ClStrips.ClStrip,Hi.MillingForces.Fittings.ICuttingPara,Hi.MillingForces.Fittings.SampleFlag,System.Double,System.IProgress{System.Object},System.Threading.CancellationToken)
name: GatherAndGetUpdate(ConcurrentDictionary<int, List<ITimeShot>>, ClStrip, ICuttingPara, SampleFlag, double, IProgress<object>, CancellationToken)
href: api/Hi.MillingForces.Training.MillingTraining.html#Hi_MillingForces_Training_MillingTraining_GatherAndGetUpdate_System_Collections_Concurrent_ConcurrentDictionary_System_Int32_System_Collections_Generic_List_Hi_Mapping_ITimeShot___Hi_CutterLocations_ClStrips_ClStrip_Hi_MillingForces_Fittings_ICuttingPara_Hi_MillingForces_Fittings_SampleFlag_System_Double_System_IProgress_System_Object__System_Threading_CancellationToken_