This commit is contained in:
2025-07-25 16:27:29 +08:00
parent 38b27cd481
commit b5cad3c171
1114 changed files with 68009 additions and 23981 deletions
@@ -102,7 +102,7 @@ Class GeneralApt
<div class="markdown conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class GeneralApt : IAptBased, IGetGeneralApt, IAbstractNote, IGetDiameter, IGetFluteHeight, IExpandToBox3d, IMakeXmlSource, IDuplicate, IEquatable&lt;GeneralApt&gt;, IAptRc, IAptRr, IAptRz, IAptAlpha, IAptBeta, IGetZrContour</code></pre>
<pre><code class="lang-csharp hljs">public class GeneralApt : IAptBased, IGetGeneralApt, IAbstractNote, IGetDiameter, IGetFluteHeight, IExpandToBox3d, IMakeXmlSource, IDuplicate, IEquatable&lt;GeneralApt&gt;, IAptRc, IAptRr, IAptRz, IAptAlpha, IAptBeta, IGetZrContour, IToXElement, IGenStl, IClearCache</code></pre>
</div>
@@ -134,6 +134,9 @@ Class GeneralApt
<div><a class="xref" href="Hi.Milling.Apts.IAptAlpha.html">IAptAlpha</a></div>
<div><a class="xref" href="Hi.Milling.Apts.IAptBeta.html">IAptBeta</a></div>
<div><a class="xref" href="Hi.Geom.IGetZrContour.html">IGetZrContour</a></div>
<div><a class="xref" href="Hi.Common.XmlUtils.IToXElement.html">IToXElement</a></div>
<div><a class="xref" href="Hi.Geom.IGenStl.html">IGenStl</a></div>
<div><a class="xref" href="Hi.Common.IClearCache.html">IClearCache</a></div>
</dd>
</dl>
@@ -909,33 +912,29 @@ This function is usually used to compute the bounding box of elements.</p>
<a id="Hi_Milling_Apts_GeneralApt_GenStl_" data-uid="Hi.Milling.Apts.GeneralApt.GenStl*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_GenStl_System_Int32_System_Int32_" data-uid="Hi.Milling.Apts.GeneralApt.GenStl(System.Int32,System.Int32)">
GenStl(int, int)
<h3 id="Hi_Milling_Apts_GeneralApt_GenStl_Hi_Geom_Resolution_IPolarResolution2d_" data-uid="Hi.Milling.Apts.GeneralApt.GenStl(Hi.Geom.Resolution.IPolarResolution2d)">
GenStl(IPolarResolution2d)
</h3>
<div class="markdown level1 summary"><p>Generate shank stl.</p>
<div class="markdown level1 summary"><p>Generate a new Stl.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Stl GenStl(int latitudeNum = 8, int longtitudeNum = 24)</code></pre>
<pre><code class="lang-csharp hljs">public Stl GenStl(IPolarResolution2d polarResolution)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>latitudeNum</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>latitude number</p>
</dd>
<dt><code>longtitudeNum</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>longtitude number</p>
</dd>
<dt><code>polarResolution</code> <a class="xref" href="Hi.Geom.Resolution.IPolarResolution2d.html">IPolarResolution2d</a></dt>
<dd></dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.Geom.Stl.html">Stl</a></dt>
<dd><p>shank stl</p>
<dd><p>newly created Stl</p>
</dd>
</dl>
@@ -1057,8 +1056,8 @@ The Z values should generally be ordered from smallest to largest.</p>
<a id="Hi_Milling_Apts_GeneralApt_MakeXmlSource_" data-uid="Hi.Milling.Apts.GeneralApt.MakeXmlSource*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_MakeXmlSource_System_String_System_String_" data-uid="Hi.Milling.Apts.GeneralApt.MakeXmlSource(System.String,System.String)">
MakeXmlSource(string, string)
<h3 id="Hi_Milling_Apts_GeneralApt_MakeXmlSource_System_String_System_String_System_Boolean_" data-uid="Hi.Milling.Apts.GeneralApt.MakeXmlSource(System.String,System.String,System.Boolean)">
MakeXmlSource(string, string, bool)
</h3>
@@ -1068,7 +1067,7 @@ This method may also generate additional resources such as related files.</p>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public XElement MakeXmlSource(string baseDirectory, string relFile)</code></pre>
<pre><code class="lang-csharp hljs">public XElement MakeXmlSource(string baseDirectory, string relFile, bool exhibitionOnly)</code></pre>
</div>
<h4 class="section">Parameters</h4>
@@ -1078,6 +1077,9 @@ This method may also generate additional resources such as related files.</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>
@@ -1094,6 +1096,11 @@ This method may also generate additional resources such as related files.</p>
<h4 class="section" id="Hi_Milling_Apts_GeneralApt_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>
@@ -1131,6 +1138,39 @@ This method may also generate additional resources such as related files.</p>
<a id="Hi_Milling_Apts_GeneralApt_ToXElement_" data-uid="Hi.Milling.Apts.GeneralApt.ToXElement*"></a>
<h3 id="Hi_Milling_Apts_GeneralApt_ToXElement" data-uid="Hi.Milling.Apts.GeneralApt.ToXElement">
ToXElement()
</h3>
<div class="markdown level1 summary"><p>Get the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a> to represent the object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public XElement ToXElement()</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 class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a> to represent the object.</p>
</dd>
</dl>
</article>