fix bug of G53.1 and remove NcEnv.SetToolHeightCompensationOnFeatureNormal property.
This commit is contained in:
@@ -269,35 +269,41 @@ Class PathUtil
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Common_PathUtils_PathUtil_CombineWithFolderExtension_" data-uid="Hi.Common.PathUtils.PathUtil.CombineWithFolderExtension*"></a>
|
||||
<a id="Hi_Common_PathUtils_PathUtil_CombineAsSubDirectory_" data-uid="Hi.Common.PathUtils.PathUtil.CombineAsSubDirectory*"></a>
|
||||
|
||||
<h3 id="Hi_Common_PathUtils_PathUtil_CombineWithFolderExtension_System_String_System_String_" data-uid="Hi.Common.PathUtils.PathUtil.CombineWithFolderExtension(System.String,System.String)">
|
||||
CombineWithFolderExtension(string, string)
|
||||
<h3 id="Hi_Common_PathUtils_PathUtil_CombineAsSubDirectory_System_String_System_String_System_String_" data-uid="Hi.Common.PathUtils.PathUtil.CombineAsSubDirectory(System.String,System.String,System.String)">
|
||||
CombineAsSubDirectory(string, string, string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Combines a base directory with a relative file path, preserving the folder structure.</p>
|
||||
<div class="markdown level1 summary"><p>Combines a base directory with a relative file path and appends a suffix
|
||||
to derive a sub-directory path. The suffix is only appended when
|
||||
<code class="paramref">relFile</code> is not null or whitespace.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static string CombineWithFolderExtension(string baseDirectory, string relFile)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public static string CombineAsSubDirectory(string baseDirectory, string relFile, string suffixIfAdded = "-src")</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</p>
|
||||
<dd><p>The base directory.</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</p>
|
||||
<dd><p>The relative file path.</p>
|
||||
</dd>
|
||||
<dt><code>suffixIfAdded</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The suffix appended to the combined path
|
||||
when <code class="paramref">relFile</code> is not null or whitespace.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<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>The combined path with forward slashes as directory separators</p>
|
||||
<dd><p>The combined sub-directory path with forward slashes as directory separators.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
@@ -311,49 +317,10 @@ Class PathUtil
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Common_PathUtils_PathUtil_CombineWithoutExtension_" data-uid="Hi.Common.PathUtils.PathUtil.CombineWithoutExtension*"></a>
|
||||
<a id="Hi_Common_PathUtils_PathUtil_GetConcatedDirectoryName_" data-uid="Hi.Common.PathUtils.PathUtil.GetConcatedDirectoryName*"></a>
|
||||
|
||||
<h3 id="Hi_Common_PathUtils_PathUtil_CombineWithoutExtension_System_String___" data-uid="Hi.Common.PathUtils.PathUtil.CombineWithoutExtension(System.String[])">
|
||||
CombineWithoutExtension(params string[])
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Combines multiple path segments and removes the file extension from the result.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static string CombineWithoutExtension(params string[] paths)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>paths</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>[]</dt>
|
||||
<dd><p>The path segments to combine</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<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>The combined path without file extension, using forward slashes as directory separators</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Common_PathUtils_PathUtil_GetCombinedDirectoryName_" data-uid="Hi.Common.PathUtils.PathUtil.GetCombinedDirectoryName*"></a>
|
||||
|
||||
<h3 id="Hi_Common_PathUtils_PathUtil_GetCombinedDirectoryName_System_String_System_String_" data-uid="Hi.Common.PathUtils.PathUtil.GetCombinedDirectoryName(System.String,System.String)">
|
||||
GetCombinedDirectoryName(string, string)
|
||||
<h3 id="Hi_Common_PathUtils_PathUtil_GetConcatedDirectoryName_System_String_System_String_" data-uid="Hi.Common.PathUtils.PathUtil.GetConcatedDirectoryName(System.String,System.String)">
|
||||
GetConcatedDirectoryName(string, string)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -362,7 +329,7 @@ Class PathUtil
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static string GetCombinedDirectoryName(string baseDirectory, string relFile)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public static string GetConcatedDirectoryName(string baseDirectory, string relFile)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
@@ -807,6 +774,54 @@ Forward slashes are used as directory separators in either case.</p>
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Common_PathUtils_PathUtil_ResolveSubDirectory_" data-uid="Hi.Common.PathUtils.PathUtil.ResolveSubDirectory*"></a>
|
||||
|
||||
<h3 id="Hi_Common_PathUtils_PathUtil_ResolveSubDirectory_System_String_System_String_System_String_" data-uid="Hi.Common.PathUtils.PathUtil.ResolveSubDirectory(System.String,System.String,System.String)">
|
||||
ResolveSubDirectory(string, string, string)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Resolves the sub-directory for loading with legacy fallback.
|
||||
Returns the <a class="xref" href="Hi.Common.PathUtils.PathUtil.html#Hi_Common_PathUtils_PathUtil_CombineAsSubDirectory_System_String_System_String_System_String_">CombineAsSubDirectory(string, string, string)</a> path if it exists;
|
||||
otherwise falls back to the legacy <a class="xref" href="Hi.Common.PathUtils.PathUtil.html#Hi_Common_PathUtils_PathUtil_GetConcatedDirectoryName_System_String_System_String_">GetConcatedDirectoryName(string, string)</a> path
|
||||
if it exists; otherwise defaults to the <a class="xref" href="Hi.Common.PathUtils.PathUtil.html#Hi_Common_PathUtils_PathUtil_CombineAsSubDirectory_System_String_System_String_System_String_">CombineAsSubDirectory(string, string, string)</a> path.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static string ResolveSubDirectory(string baseDirectory, string relFile, string suffix = "-src")</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.</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.</p>
|
||||
</dd>
|
||||
<dt><code>suffix</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The suffix for the new sub-directory path.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<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>The resolved sub-directory path with forward slashes as directory separators.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user