fix bug of opt R negative interpolation.

This commit is contained in:
iamboss 2026-03-19 22:31:17 +08:00
parent 52a3412ecb
commit ff2cfa6210
23 changed files with 58 additions and 54 deletions

Binary file not shown.

View File

@ -12,8 +12,8 @@
"AvalonEdit": "6.3.0.90",
"FontAwesome.Sharp": "6.3.0",
"Hi.WpfPlus": "3.1.126",
"HiNc": "3.1.158",
"HiNc-Resource": "3.1.41",
"HiNc": "3.1.159",
"HiNc-Resource": "3.1.42",
"runtimepack.Microsoft.NETCore.App.Runtime.win-x64": "10.0.4",
"runtimepack.Microsoft.WindowsDesktop.App.Runtime.win-x64": "10.0.4",
"runtimepack.Microsoft.AspNetCore.App.Runtime.win-x64": "10.0.4"
@ -1754,7 +1754,7 @@
}
}
},
"HiMech/3.1.139": {
"HiMech/3.1.140": {
"dependencies": {
"CommandLineParser": "2.9.1",
"HiCbtr": "3.1.129",
@ -1762,8 +1762,8 @@
},
"runtime": {
"lib/net10.0/HiMech.dll": {
"assemblyVersion": "3.1.139.0",
"fileVersion": "3.1.139.0"
"assemblyVersion": "3.1.140.0",
"fileVersion": "3.1.140.0"
}
},
"resources": {
@ -1778,21 +1778,21 @@
}
}
},
"HiNc/3.1.158": {
"HiNc/3.1.159": {
"dependencies": {
"Dapper": "2.1.35",
"Google.Protobuf": "3.28.3",
"Grpc.AspNetCore": "2.66.0",
"Grpc.Net.Client": "2.66.0",
"HiLicense": "3.1.120",
"HiMech": "3.1.139",
"HiUniNc": "3.1.135",
"HiMech": "3.1.140",
"HiUniNc": "3.1.136",
"Microsoft.Data.Sqlite": "9.0.0"
},
"runtime": {
"lib/net10.0/HiNc.dll": {
"assemblyVersion": "3.1.158.0",
"fileVersion": "3.1.158.0"
"assemblyVersion": "3.1.159.0",
"fileVersion": "3.1.159.0"
}
},
"resources": {
@ -1804,22 +1804,22 @@
}
}
},
"HiNc-Resource/3.1.41": {
"HiNc-Resource/3.1.42": {
"runtime": {
"lib/net10.0/HiNc-Resource.dll": {
"assemblyVersion": "3.1.41.0",
"fileVersion": "3.1.41.0"
"assemblyVersion": "3.1.42.0",
"fileVersion": "3.1.42.0"
}
}
},
"HiUniNc/3.1.135": {
"HiUniNc/3.1.136": {
"dependencies": {
"HiMech": "3.1.139"
"HiMech": "3.1.140"
},
"runtime": {
"lib/net10.0/HiUniNc.dll": {
"assemblyVersion": "3.1.135.0",
"fileVersion": "3.1.135.0"
"assemblyVersion": "3.1.136.0",
"fileVersion": "3.1.136.0"
}
}
},
@ -2236,33 +2236,33 @@
"path": "hilicense/3.1.120",
"hashPath": "hilicense.3.1.120.nupkg.sha512"
},
"HiMech/3.1.139": {
"HiMech/3.1.140": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Pc6sTFt32WAJ/uQ9D3+GuPSAMiZiLLui/sSWsVFqE5zYH9nsZpmmateJob5uvSTDJBjOJI6lqCB3pXg4fMlVPA==",
"path": "himech/3.1.139",
"hashPath": "himech.3.1.139.nupkg.sha512"
"sha512": "sha512-xXDfdTAybz/XwtAWSr5AGvbx2YMieGFCwFldWs10HvPQzfBxSdfbU+YtGGRto5gY1JgMUoC+CsGZNsXGqlY7Ow==",
"path": "himech/3.1.140",
"hashPath": "himech.3.1.140.nupkg.sha512"
},
"HiNc/3.1.158": {
"HiNc/3.1.159": {
"type": "package",
"serviceable": true,
"sha512": "sha512-RXURHzCaZkJ++vcJ4kGyZ3idXu1oSIShGHBJkmSTeo+fHvA1EGIsB38AXlPg7KpoFI86URXJPRD8Vngyq9BtQQ==",
"path": "hinc/3.1.158",
"hashPath": "hinc.3.1.158.nupkg.sha512"
"sha512": "sha512-nPSJwsBrgz/tAmXj+cMmM8sGugzDJW3ybYGAH1PxY5hiUom8wgtBTJLYmcxx1vo4WvbuPsLixNg9CcPxCiso4w==",
"path": "hinc/3.1.159",
"hashPath": "hinc.3.1.159.nupkg.sha512"
},
"HiNc-Resource/3.1.41": {
"HiNc-Resource/3.1.42": {
"type": "package",
"serviceable": true,
"sha512": "sha512-2997cfDIbASKPvda5lSpwQ37jjKEAdKtW9U6gmENkKsWdYm4Q50nvpSdFvm/H3ydlCRQxVlpMkcRtgroZceDsg==",
"path": "hinc-resource/3.1.41",
"hashPath": "hinc-resource.3.1.41.nupkg.sha512"
"sha512": "sha512-W6eExdcI7gbMVMmqNdyNYzqLMZItevp/FQUaCIPkBeaBOgZ+D9/4ZkdCMycnv3ozyO/x+zVkwU5SqyMvCL007Q==",
"path": "hinc-resource/3.1.42",
"hashPath": "hinc-resource.3.1.42.nupkg.sha512"
},
"HiUniNc/3.1.135": {
"HiUniNc/3.1.136": {
"type": "package",
"serviceable": true,
"sha512": "sha512-FY7kH1H9HM/HdrmuMoeGwFlV/IuGLGtyz/jofp7TDh4r5prZQv4emcLFwHihVvqmGzsNG9FHblHckp41wT8GDg==",
"path": "hiuninc/3.1.135",
"hashPath": "hiuninc.3.1.135.nupkg.sha512"
"sha512": "sha512-6P0meP3P+DD9CsGYrysZNONsbB6Fn7YHLA3JRHM5zChJphP31ZrGHa4H3qy5evqDn0FpiMcAvU0QDrVxLrH1QQ==",
"path": "hiuninc/3.1.136",
"hashPath": "hiuninc.3.1.136.nupkg.sha512"
},
"MathNet.Numerics/5.0.0": {
"type": "package",

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -489,7 +489,8 @@ public bool EnableMotionDependentMachiningResolution { get; set; }</code></pre>
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Gets or sets whether Mz lever weighting is enabled on training.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">

View File

@ -159,7 +159,8 @@ Class MillingTraining
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Gets or sets whether Mz lever weighting is enabled during training sample gathering.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">

View File

@ -550,7 +550,7 @@ following real Fanuc parameter numbering.</p>
</h3>
<div class="markdown level1 summary"><p>#1006: Axis type per axis.
See <a class="xref" href="Hi.NcParsers.Dependencys.AxisType.html">AxisType</a>. See AxisNames. See IsRotaryAxis. See SetAxis.</p>
See <a class="xref" href="Hi.NcParsers.Dependencys.AxisType.html">AxisType</a>. See <a class="xref" href="Hi.NcParsers.Dependencys.ControllerParameterTableBase.html#Hi_NcParsers_Dependencys_ControllerParameterTableBase_AxisNames">AxisNames</a>. See <a class="xref" href="Hi.NcParsers.Dependencys.ControllerParameterTableBase.html#Hi_NcParsers_Dependencys_ControllerParameterTableBase_IsRotaryAxis_System_String_">IsRotaryAxis(string)</a>. See <a class="xref" href="Hi.NcParsers.Dependencys.ControllerParameterTableBase.html#Hi_NcParsers_Dependencys_ControllerParameterTableBase_SetAxis_System_String_Hi_NcParsers_Dependencys_AxisType_">SetAxis(string, AxisType)</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
@ -583,7 +583,7 @@ See <a class="xref" href="Hi.NcParsers.Dependencys.AxisType.html">AxisType</a>.
</h3>
<div class="markdown level1 summary"><p>#1240: G28 first reference position per axis.
See <a class="xref" href="Hi.NcParsers.Dependencys.IHomeMcConfig.html">IHomeMcConfig</a>. See GetHomePosition. See SetHomePosition.</p>
See <a class="xref" href="Hi.NcParsers.Dependencys.IHomeMcConfig.html">IHomeMcConfig</a>. See <a class="xref" href="Hi.NcParsers.Dependencys.ControllerParameterTableBase.html#Hi_NcParsers_Dependencys_ControllerParameterTableBase_GetHomePosition_System_String_">GetHomePosition(string)</a>. See <a class="xref" href="Hi.NcParsers.Dependencys.ControllerParameterTableBase.html#Hi_NcParsers_Dependencys_ControllerParameterTableBase_SetHomePosition_System_String_System_Double_">SetHomePosition(string, double)</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>

View File

@ -428,7 +428,7 @@ MP400MP499: Axis-specific parameters.
</h3>
<div class="markdown level1 summary"><p>MP400: Axis type per axis. See <a class="xref" href="Hi.NcParsers.Dependencys.AxisType.html">AxisType</a>. See AxisNames.</p>
<div class="markdown level1 summary"><p>MP400: Axis type per axis. See <a class="xref" href="Hi.NcParsers.Dependencys.AxisType.html">AxisType</a>. See <a class="xref" href="Hi.NcParsers.Dependencys.ControllerParameterTableBase.html#Hi_NcParsers_Dependencys_ControllerParameterTableBase_AxisNames">AxisNames</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>

View File

@ -491,7 +491,7 @@ MD30000MD39999: Axis-specific machine data (extended).
</h3>
<div class="markdown level1 summary"><p>MD30300: Axis type per axis. See <a class="xref" href="Hi.NcParsers.Dependencys.AxisType.html">AxisType</a>. See AxisNames.</p>
<div class="markdown level1 summary"><p>MD30300: Axis type per axis. See <a class="xref" href="Hi.NcParsers.Dependencys.AxisType.html">AxisType</a>. See <a class="xref" href="Hi.NcParsers.Dependencys.ControllerParameterTableBase.html#Hi_NcParsers_Dependencys_ControllerParameterTableBase_AxisNames">AxisNames</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>

View File

@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Class CoordinateOffset | HiAPI-C# 2025 ">
<meta name="description" content="Work coordinate offset state written by LogicSyntaxs.CoordinateOffsetSyntax. Property names are used as JSON keys via nameof. Managed commands (ISO): G54, G55, G56, G57, G58, G59, G59.1G59.9. Siemens: G54G57 + G505G599 (extended), G500 to cancel. Heidenhain: CYCL DEF 247 (Datum Preset) / CYCL DEF 7 (Datum Shift).">
<meta name="description" content="Work coordinate offset state written by . Property names are used as JSON keys via nameof. Managed commands (ISO): G54, G55, G56, G57, G58, G59, G59.1G59.9. Siemens: G54G57 + G505G599 (extended), G500 to cancel. Heidenhain: CYCL DEF 247 (Datum Preset) / CYCL DEF 7 (Datum Shift).">
<link rel="icon" href="../img/HiAPI.favicon.ico">
<link rel="stylesheet" href="../public/docfx.min.css">
<link rel="stylesheet" href="../public/main.css">
@ -98,7 +98,7 @@ Class CoordinateOffset
</div>
<div class="markdown summary"><p>Work coordinate offset state written by
LogicSyntaxs.CoordinateOffsetSyntax.
<a class="xref" href="Hi.NcParsers.LogicSyntaxs.IsoCoordinateOffsetSyntax.html">IsoCoordinateOffsetSyntax</a>.
Property names are used as JSON keys via <code>nameof</code>.</p>
<p>
Managed commands (ISO): G54, G55, G56, G57, G58, G59, G59.1G59.9.

View File

@ -101,7 +101,7 @@ Classes
<dl class="jumplist">
<dt><a class="xref" href="Hi.NcParsers.Keywords.CoordinateOffset.html">CoordinateOffset</a></dt>
<dd><p>Work coordinate offset state written by
LogicSyntaxs.CoordinateOffsetSyntax.
<a class="xref" href="Hi.NcParsers.LogicSyntaxs.IsoCoordinateOffsetSyntax.html">IsoCoordinateOffsetSyntax</a>.
Property names are used as JSON keys via <code>nameof</code>.</p>
<p>
Managed commands (ISO): G54, G55, G56, G57, G58, G59, G59.1G59.9.

View File

@ -184,7 +184,6 @@
</li>
<li>Config Tab
<ul>
<li>&lt;xref:Hi.Numerical.HardNcEnv.SetToolHeightCompensationOnFeatureNormal&gt; Setting</li>
<li><a class="xref" href="../../../api/Hi.Numerical.HardNcEnv.html#Hi_Numerical_HardNcEnv_EnableShortestRotary">EnableShortestRotary</a> Setting</li>
</ul>
</li>
@ -264,7 +263,6 @@ See Rendering Items SubMenu from <a href="../player/player-extended-renderingcan
<h3 id="config-options">Config Options</h3>
<p>General configuration options including:</p>
<ul>
<li>&lt;xref:Hi.Numerical.HardNcEnv.SetToolHeightCompensationOnFeatureNormal&gt; setting</li>
<li><a class="xref" href="../../../api/Hi.Numerical.HardNcEnv.html#Hi_Numerical_HardNcEnv_EnableShortestRotary">EnableShortestRotary</a> optimization</li>
</ul>
<h2 id="source-code-locations">Source Code Locations</h2>

View File

@ -87,14 +87,18 @@
<article data-uid="">
<h1 id="release-note">Release Note</h1>
<h2 id="hinc-packages-version-31158">HiNc Packages Version 3.1.158</h2>
<ul>
<li>Fix G53.1 tool height compensation behavior: replace <code>NcEnv.SetToolHeightCompensationOnFeatureNormal</code> configuration with automatic detection via NC flag state</li>
<li>Make <a class="xref" href="../../api/Hi.Numerical.HardNcEnv.html#Hi_Numerical_HardNcEnv_EnableIntegerShrinkOnPositionCommand">EnableIntegerShrinkOnPositionCommand</a> configurable via project settings (previously hard-coded by CNC brand, now defaults to <code>false</code> with XML IO support)</li>
<li>Fix NC optimization splitting R-format arcs (G02/G03 with R parameter) by converting to IJK format, since R sign meaning does not apply correctly to individual fragments</li>
</ul>
<h2 id="hinc-packages-version-31157">HiNc Packages Version 3.1.157</h2>
<ul>
<li>Fix step.csv reading crash on null or malformed values</li>
<li>Fix XML IO sub-base directory not applied in some project file operations</li>
<li>Improve CSV actual time parsing to support <code>DateTime</code> format in addition to <code>TimeSpan</code> (see <a href="../../user-guide/zh-Hant/script/PlayCsvFile/play-csv-file.html">執行CSV檔</a>)</li>
<li>Fix CSV title parsing to trim surrounding quotes</li>
<li>Make <code>EnableIntegerShrinkOnPositionCommand</code> configurable via project settings (previously hard-coded by CNC brand, now defaults to <code>false</code> with XML IO support)</li>
<li>Fix G53.1 tool height compensation behavior: replace <code>NcEnv.SetToolHeightCompensationOnFeatureNormal</code> configuration with automatic detection via NC flag state</li>
</ul>
<h2 id="hinc-packages-version-31156">HiNc Packages Version 3.1.156</h2>
<ul>

File diff suppressed because one or more lines are too long

View File

@ -10634,7 +10634,7 @@
"Uid": null,
"IsMRef": true,
"Title": "Hi.NcParsers.Keywords.CoordinateOffset",
"Summary": "<p sourcefile=\"api/Hi.NcParsers.Keywords.CoordinateOffset.yml\" sourcestartlinenumber=\"1\">Work coordinate offset state written by\nLogicSyntaxs.CoordinateOffsetSyntax.\nProperty names are used as JSON keys via <code>nameof</code>.</p>\n<p>\nManaged commands (ISO): G54, G55, G56, G57, G58, G59, G59.1G59.9.\nSiemens: G54G57 + G505G599 (extended), G500 to cancel.\nHeidenhain: CYCL DEF 247 (Datum Preset) / CYCL DEF 7 (Datum Shift).\n</p>\n"
"Summary": "<p sourcefile=\"api/Hi.NcParsers.Keywords.CoordinateOffset.yml\" sourcestartlinenumber=\"1\">Work coordinate offset state written by\n<xref href=\"Hi.NcParsers.LogicSyntaxs.IsoCoordinateOffsetSyntax\" data-throw-if-not-resolved=\"false\"></xref>.\nProperty names are used as JSON keys via <code>nameof</code>.</p>\n<p>\nManaged commands (ISO): G54, G55, G56, G57, G58, G59, G59.1G59.9.\nSiemens: G54G57 + G505G599 (extended), G500 to cancel.\nHeidenhain: CYCL DEF 247 (Datum Preset) / CYCL DEF 7 (Datum Shift).\n</p>\n"
},
{
"type": "ManagedReference",

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.