Archived
deploy webservice static-file routing for docsite folder URLs, per-instance step-cache db, and constant-height panel title bars.
This commit is contained in:
@@ -153,6 +153,68 @@ Class SweptableUtil
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="Hi_Machining_SweptableUtil_AddBySweepingVolume_" data-uid="Hi.Machining.SweptableUtil.AddBySweepingVolume*"></a>
|
||||
|
||||
<h3 id="Hi_Machining_SweptableUtil_AddBySweepingVolume_Hi_Cbtr_CubeTree_Hi_Machining_IGetSweptable_Hi_Geom_Mat4d_Hi_Geom_Mat4d_System_Double_System_Double_System_Boolean_System_Boolean_" data-uid="Hi.Machining.SweptableUtil.AddBySweepingVolume(Hi.Cbtr.CubeTree,Hi.Machining.IGetSweptable,Hi.Geom.Mat4d,Hi.Geom.Mat4d,System.Double,System.Double,System.Boolean,System.Boolean)">
|
||||
AddBySweepingVolume(CubeTree, IGetSweptable, Mat4d, Mat4d, double, double, bool, bool)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Add volume by sweeping volume — the boolean-union dual of
|
||||
<a class="xref" href="Hi.Machining.SweptableUtil.html#Hi_Machining_SweptableUtil_RemoveBySweepingVolume_Hi_Cbtr_CubeTree_Hi_Machining_IGetSweptable_Hi_Geom_Mat4d_Hi_Geom_Mat4d_System_Double_System_Double_System_Boolean_System_Boolean_">RemoveBySweepingVolume(CubeTree, IGetSweptable, Mat4d, Mat4d, double, double, bool, bool)</a>. Deposits the swept solid into the geometry
|
||||
(additive manufacturing: weld / cladding / FDM bead), rather than removing it.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static UnmanagedAddition AddBySweepingVolume(this CubeTree cubeTree, IGetSweptable sweptable, Mat4d beginMat, Mat4d endMat, double preferredCubeWidth = 0, double fractionTolerance = 0, bool enableBuildingContactContours = false, bool isAggressiveAdd = false)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>cubeTree</code> <a class="xref" href="Hi.Cbtr.CubeTree.html">CubeTree</a></dt>
|
||||
<dd><p>geom to be volume-added</p>
|
||||
</dd>
|
||||
<dt><code>sweptable</code> <a class="xref" href="Hi.Machining.IGetSweptable.html">IGetSweptable</a></dt>
|
||||
<dd><p>swaptable</p>
|
||||
</dd>
|
||||
<dt><code>beginMat</code> <a class="xref" href="Hi.Geom.Mat4d.html">Mat4d</a></dt>
|
||||
<dd><p>previous transformation matrix in sequence</p>
|
||||
</dd>
|
||||
<dt><code>endMat</code> <a class="xref" href="Hi.Geom.Mat4d.html">Mat4d</a></dt>
|
||||
<dd><p>current transformation matrix in sequence</p>
|
||||
</dd>
|
||||
<dt><code>preferredCubeWidth</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
||||
<dd><p>preferred cube width for the operation, defaults to cubeTree's resolution if 0</p>
|
||||
</dd>
|
||||
<dt><code>fractionTolerance</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
||||
<dd><p>fraction tolerance for the sweptable, defaults to preferredCubeWidth * 1e-4 if 0</p>
|
||||
</dd>
|
||||
<dt><code>enableBuildingContactContours</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd><p>enable building contours of the newly created surface</p>
|
||||
</dd>
|
||||
<dt><code>isAggressiveAdd</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd><p>whether to use aggressive adding mode</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="Hi.Cbtr.UnmanagedAddition.html">UnmanagedAddition</a></dt>
|
||||
<dd><p>Addition</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Machining_SweptableUtil_RemoveBySweepingVolume_" data-uid="Hi.Machining.SweptableUtil.RemoveBySweepingVolume*"></a>
|
||||
|
||||
<h3 id="Hi_Machining_SweptableUtil_RemoveBySweepingVolume_Hi_Cbtr_CubeTree_Hi_Machining_IGetSweptable_Hi_Geom_Mat4d_Hi_Geom_Mat4d_System_Double_System_Double_System_Boolean_System_Boolean_" data-uid="Hi.Machining.SweptableUtil.RemoveBySweepingVolume(Hi.Cbtr.CubeTree,Hi.Machining.IGetSweptable,Hi.Geom.Mat4d,Hi.Geom.Mat4d,System.Double,System.Double,System.Boolean,System.Boolean)">
|
||||
|
||||
Reference in New Issue
Block a user