Archived
1389 lines
49 KiB
HTML
1389 lines
49 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Class SetupEquipment | HiAPI-C# 2025 </title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="title" content="Class SetupEquipment | HiAPI-C# 2025 ">
|
|
|
|
<meta name="description" content="The authored (setup) face of the machining equipment: the machine chain, workpiece, fixture, environment data and the Setup-page tool selection, with the project XML IO. This is the ONLY face that persists — the runtime face () is materialised from it and never serialized, so a mid-run save can no longer write live poses or the runner-equipped tool into the project file. The XML wire name stays "MachiningEquipment" (see ): shipped project files keep their layout, only the deserialized object changed.">
|
|
<link rel="icon" href="../img/HiAPI.favicon.ico">
|
|
<link rel="stylesheet" href="../public/docfx.min.css">
|
|
<link rel="stylesheet" href="../public/main.css">
|
|
<meta name="docfx:navrel" content="../toc.html">
|
|
<meta name="docfx:tocrel" content="toc.html">
|
|
|
|
<meta name="docfx:rel" content="../">
|
|
|
|
|
|
|
|
<meta name="loc:inThisArticle" content="In this article">
|
|
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
|
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
|
<meta name="loc:tocFilter" content="Filter by title">
|
|
<meta name="loc:nextArticle" content="Next">
|
|
<meta name="loc:prevArticle" content="Previous">
|
|
<meta name="loc:themeLight" content="Light">
|
|
<meta name="loc:themeDark" content="Dark">
|
|
<meta name="loc:themeAuto" content="Auto">
|
|
<meta name="loc:changeTheme" content="Change theme">
|
|
<meta name="loc:copy" content="Copy">
|
|
<meta name="loc:downloadPdf" content="Download PDF">
|
|
|
|
<script type="module" src="./../public/docfx.min.js"></script>
|
|
|
|
<script>
|
|
const theme = localStorage.getItem('theme') || 'auto'
|
|
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
|
<header class="bg-body border-bottom">
|
|
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
|
<div class="container-xxl flex-nowrap">
|
|
<a class="navbar-brand" href="../index.html">
|
|
<img id="logo" class="svg" src="../img/HiAPI.logo.png" alt="">
|
|
|
|
</a>
|
|
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
|
<i class="bi bi-three-dots"></i>
|
|
</button>
|
|
<div class="collapse navbar-collapse" id="navpanel">
|
|
<div id="navbar">
|
|
<form class="search" role="search" id="search">
|
|
<i class="bi bi-search"></i>
|
|
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</header>
|
|
|
|
<main class="container-xxl">
|
|
<div class="toc-offcanvas">
|
|
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
|
<div class="offcanvas-header">
|
|
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
|
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
|
</div>
|
|
<div class="offcanvas-body">
|
|
<nav class="toc" id="toc"></nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="content">
|
|
<div class="actionbar">
|
|
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
|
<i class="bi bi-list"></i>
|
|
</button>
|
|
|
|
<nav id="breadcrumb"></nav>
|
|
</div>
|
|
|
|
<article data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment">
|
|
|
|
|
|
|
|
<h1 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment" class="text-break">
|
|
Class SetupEquipment
|
|
</h1>
|
|
|
|
<div class="facts text-secondary">
|
|
<dl><dt>Namespace</dt><dd><a class="xref" href="Hi.html">Hi</a>.<a class="xref" href="Hi.Machining.html">Machining</a>.<a class="xref" href="Hi.Machining.MachiningEquipmentUtils.html">MachiningEquipmentUtils</a></dd></dl>
|
|
<dl><dt>Assembly</dt><dd>HiMech.dll</dd></dl>
|
|
</div>
|
|
|
|
<div class="markdown summary"><p>The authored (setup) face of the machining equipment: the machine chain,
|
|
workpiece, fixture, environment data and the Setup-page tool selection,
|
|
with the project XML IO. This is the ONLY face that persists — the runtime
|
|
face (<a class="xref" href="Hi.Machining.MachiningEquipmentUtils.MachiningEquipment.html">MachiningEquipment</a>) is materialised from it and never
|
|
serialized, so a mid-run save can no longer write live poses or the
|
|
runner-equipped tool into the project file.</p>
|
|
<p>
|
|
The XML wire name stays <code>"MachiningEquipment"</code> (see <a class="xref" href="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.html#Hi_Machining_MachiningEquipmentUtils_SetupEquipment_XName">XName</a>):
|
|
shipped project files keep their layout, only the deserialized object changed.
|
|
</p>
|
|
</div>
|
|
<div class="markdown conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public class SetupEquipment : IMachiningEquipment, IDisplayee, IExpandToBox3d, IGetAnchoredDisplayeeList, IGetProgramCl, IGetAsmb, IGetAnchor, IGetTopoIndex, IGetMachiningChain, IMakeXmlSource</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<dl class="typelist inheritance">
|
|
<dt>Inheritance</dt>
|
|
<dd>
|
|
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
|
<div><span class="xref">SetupEquipment</span></div>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl class="typelist implements">
|
|
<dt>Implements</dt>
|
|
<dd>
|
|
<div><a class="xref" href="Hi.Machining.MachiningEquipmentUtils.IMachiningEquipment.html">IMachiningEquipment</a></div>
|
|
<div><a class="xref" href="Hi.Disp.IDisplayee.html">IDisplayee</a></div>
|
|
<div><a class="xref" href="Hi.Geom.IExpandToBox3d.html">IExpandToBox3d</a></div>
|
|
<div><a class="xref" href="Hi.Mech.Topo.IGetAnchoredDisplayeeList.html">IGetAnchoredDisplayeeList</a></div>
|
|
<div><a class="xref" href="Hi.CutterLocations.IGetProgramCl.html">IGetProgramCl</a></div>
|
|
<div><a class="xref" href="Hi.Mech.Topo.IGetAsmb.html">IGetAsmb</a></div>
|
|
<div><a class="xref" href="Hi.Mech.Topo.IGetAnchor.html">IGetAnchor</a></div>
|
|
<div><a class="xref" href="Hi.Mech.Topo.IGetTopoIndex.html">IGetTopoIndex</a></div>
|
|
<div><a class="xref" href="Hi.Mech.IGetMachiningChain.html">IGetMachiningChain</a></div>
|
|
<div><a class="xref" href="Hi.Common.XmlUtils.IMakeXmlSource.html">IMakeXmlSource</a></div>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<dl class="typelist inheritedMembers">
|
|
<dt>Inherited Members</dt>
|
|
<dd>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
|
|
</div>
|
|
</dd></dl>
|
|
|
|
<dl class="typelist extensionMethods">
|
|
<dt>Extension Methods</dt>
|
|
<dd>
|
|
<div>
|
|
<a class="xref" href="Hi.Disp.DispUtil.html#Hi_Disp_DispUtil_Display_Hi_Disp_IDisplayee_Hi_Disp_Bind_Hi_Geom_Mat4d_">DispUtil.Display(IDisplayee, Bind, Mat4d)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Machining.MachiningEquipmentUtils.MachiningEquipmentUtil.html#Hi_Machining_MachiningEquipmentUtils_MachiningEquipmentUtil_AlignWorkpieceProgramZeroToIso_Hi_Machining_MachiningEquipmentUtils_IMachiningEquipment_Hi_Geom_Vec3d_">MachiningEquipmentUtil.AlignWorkpieceProgramZeroToIso(IMachiningEquipment, Vec3d)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Machining.MachiningEquipmentUtils.MachiningEquipmentUtil.html#Hi_Machining_MachiningEquipmentUtils_MachiningEquipmentUtil_GetIsoCoordinatePosition_Hi_Machining_MachiningEquipmentUtils_IMachiningEquipment_Hi_Geom_Vec3d_">MachiningEquipmentUtil.GetIsoCoordinatePosition(IMachiningEquipment, Vec3d)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Machining.MachiningEquipmentUtils.MachiningEquipmentUtil.html#Hi_Machining_MachiningEquipmentUtils_MachiningEquipmentUtil_GetMachinePositionAtProgramZero_Hi_Machining_MachiningEquipmentUtils_IMachiningEquipment_">MachiningEquipmentUtil.GetMachinePositionAtProgramZero(IMachiningEquipment)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Machining.MachiningEquipmentUtils.MachiningEquipmentUtil.html#Hi_Machining_MachiningEquipmentUtils_MachiningEquipmentUtil_GetMachinePositionAtTableBuckleZero_Hi_Machining_MachiningEquipmentUtils_IMachiningEquipment_">MachiningEquipmentUtil.GetMachinePositionAtTableBuckleZero(IMachiningEquipment)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Machining.MachiningEquipmentUtils.MachiningEquipmentUtil.html#Hi_Machining_MachiningEquipmentUtils_MachiningEquipmentUtil_GetProgramToPnMat4d_Hi_Machining_MachiningEquipmentUtils_IMachiningEquipment_">MachiningEquipmentUtil.GetProgramToPnMat4d(IMachiningEquipment)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Common.DuplicateUtil.html#Hi_Common_DuplicateUtil_TryDuplicate__1___0_System_Object___">DuplicateUtil.TryDuplicate<TSelf>(TSelf, params object[])</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__1___0_System_Action___0__">InvokeUtil.SelfInvoke<TSrc>(TSrc, Action<TSrc>)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__2___0_System_Func___0___1__">InvokeUtil.SelfInvoke<TSrc, TDst>(TSrc, Func<TSrc, TDst>)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Mech.Topo.TopoUtil.html#Hi_Mech_Topo_TopoUtil_Display_Hi_Mech_Topo_IGetAnchor_Hi_Disp_Bind_System_Collections_Generic_Dictionary_Hi_Mech_Topo_Anchor_Hi_Geom_Mat4d__">TopoUtil.Display(IGetAnchor, Bind, Dictionary<Anchor, Mat4d>)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Mech.Topo.TopoUtil.html#Hi_Mech_Topo_TopoUtil_ExpandToBox3d_Hi_Mech_Topo_IGetAnchor_Hi_Geom_Box3d_System_Collections_Generic_Dictionary_Hi_Mech_Topo_Anchor_Hi_Geom_Mat4d__">TopoUtil.ExpandToBox3d(IGetAnchor, Box3d, Dictionary<Anchor, Mat4d>)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Coloring.ColorUtil.html#Hi_Coloring_ColorUtil_GetGloomyColor_System_Object_System_Double_System_Double_">ColorUtil.GetGloomyColor(object, double, double)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Common.NameUtil.html#Hi_Common_NameUtil_GetSelectionName_System_Object_">NameUtil.GetSelectionName(object)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Common.StringUtil.html#Hi_Common_StringUtil_GetPropertyStringIfToStringNotOverloaded_System_Object_System_Boolean_System_Boolean_">StringUtil.GetPropertyStringIfToStringNotOverloaded(object, bool, bool)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Parallels.LockUtil.html#Hi_Parallels_LockUtil_Lock_System_Object_">LockUtil.Lock(object)</a>
|
|
</div>
|
|
</dd></dl>
|
|
|
|
|
|
|
|
|
|
|
|
<h2 class="section" id="constructors">Constructors
|
|
</h2>
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment__ctor_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.#ctor*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment__ctor" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.#ctor">
|
|
SetupEquipment()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Ctor.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public SetupEquipment()</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment__ctor_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.#ctor*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment__ctor_System_Xml_Linq_XElement_System_String_System_String_System_IProgress_Hi_Common_Messages_IMessage__" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.#ctor(System.Xml.Linq.XElement,System.String,System.String,System.IProgress{Hi.Common.Messages.IMessage})">
|
|
SetupEquipment(XElement, string, string, IProgress<IMessage>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.html">SetupEquipment</a> class from XML data.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public SetupEquipment(XElement src, string baseDirectory, string relFile, IProgress<IMessage> progress)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>src</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a></dt>
|
|
<dd><p>The XML element containing the equipment configuration.</p>
|
|
</dd>
|
|
<dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
|
<dd><p>The base directory for resolving relative file paths.</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 XML serialization.</p>
|
|
</dd>
|
|
<dt><code>progress</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iprogress-1">IProgress</a><<a class="xref" href="Hi.Common.Messages.IMessage.html">IMessage</a>></dt>
|
|
<dd><p>Progress reporter for diagnostic messages emitted during construction.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2 class="section" id="properties">Properties
|
|
</h2>
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_AmbientTemperature_C_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.AmbientTemperature_C*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_AmbientTemperature_C" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.AmbientTemperature_C">
|
|
AmbientTemperature_C
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets or sets the ambient temperature in Celsius.
|
|
This is a convenience property that converts between Celsius and Kelvin.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public double AmbientTemperature_C { 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.double">double</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_AmbientTemperature_K_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.AmbientTemperature_K*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_AmbientTemperature_K" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.AmbientTemperature_K">
|
|
AmbientTemperature_K
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets or sets the ambient temperature in Kelvin: the shop-floor
|
|
temperature the workpiece, cutter, chips and spindle start at and the
|
|
spindle cools toward. The cutting zone itself convects to
|
|
<a class="xref" href="Hi.Physics.CoolantHeatCondition.html#Hi_Physics_CoolantHeatCondition_CoolantTemperature_K">CoolantTemperature_K</a>.
|
|
Serialized as <code>AmbientTemperature_C</code>; the pre-rename element
|
|
<code>BackgroundTemperature_C</code> is still read.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public double AmbientTemperature_K { 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.double">double</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_Asmb_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.Asmb*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_Asmb" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.Asmb">
|
|
Asmb
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p><a class="xref" href="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.html#Hi_Machining_MachiningEquipmentUtils_SetupEquipment_Asmb">Asmb</a> of the entire authored equipment topology.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Asmb Asmb { get; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Mech.Topo.Asmb.html">Asmb</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_BackgroundTemperature_C_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.BackgroundTemperature_C*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_BackgroundTemperature_C" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.BackgroundTemperature_C">
|
|
BackgroundTemperature_C
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Source-compatible delegate of <a class="xref" href="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.html#Hi_Machining_MachiningEquipmentUtils_SetupEquipment_AmbientTemperature_C">AmbientTemperature_C</a>.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[Obsolete("Renamed to AmbientTemperature_C.")]
|
|
public double BackgroundTemperature_C { 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.double">double</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_BackgroundTemperature_K_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.BackgroundTemperature_K*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_BackgroundTemperature_K" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.BackgroundTemperature_K">
|
|
BackgroundTemperature_K
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Source-compatible delegate of <a class="xref" href="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.html#Hi_Machining_MachiningEquipmentUtils_SetupEquipment_AmbientTemperature_K">AmbientTemperature_K</a>.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[Obsolete("Renamed to AmbientTemperature_K.")]
|
|
public double BackgroundTemperature_K { 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.double">double</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_CoolantHeatCondition_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.CoolantHeatCondition*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_CoolantHeatCondition" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.CoolantHeatCondition">
|
|
CoolantHeatCondition
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets or sets the coolant heat condition settings.
|
|
This includes coolant temperature and heat transfer coefficients.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public CoolantHeatCondition CoolantHeatCondition { get; set; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Physics.CoolantHeatCondition.html">CoolantHeatCondition</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_CoolantHeatConditionFile_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.CoolantHeatConditionFile*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_CoolantHeatConditionFile" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.CoolantHeatConditionFile">
|
|
CoolantHeatConditionFile
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets or sets the file path of the coolant heat condition
|
|
(WorkpieceMaterial pattern: when set, XML IO externalizes
|
|
<a class="xref" href="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.html#Hi_Machining_MachiningEquipmentUtils_SetupEquipment_CoolantHeatCondition">CoolantHeatCondition</a> to this side-file; when null the
|
|
condition serializes inline).</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public string CoolantHeatConditionFile { 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.string">string</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_Fixture_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.Fixture*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_Fixture" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.Fixture">
|
|
Fixture
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Fixture.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Fixture Fixture { get; set; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.NcMech.Fixtures.Fixture.html">Fixture</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_MachiningChain_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.MachiningChain*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_MachiningChain" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.MachiningChain">
|
|
MachiningChain
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Body of the equipment — the authored machine topology instance. The
|
|
runtime face gets its own instance from
|
|
<a class="xref" href="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.html#Hi_Machining_MachiningEquipmentUtils_SetupEquipment_MaterialiseMachiningEquipment_System_String_System_IProgress_Hi_Common_Messages_IMessage__">MaterialiseMachiningEquipment(string, IProgress<IMessage>)</a>; the two never share graph
|
|
objects (only leaf <a class="xref" href="Hi.NcMech.Solids.Solid.html">Solid</a> geometry is shared).</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public IMachiningChain MachiningChain { get; set; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Mech.IMachiningChain.html">IMachiningChain</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_MachiningChainFile_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.MachiningChainFile*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_MachiningChainFile" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.MachiningChainFile">
|
|
MachiningChainFile
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets or sets the file path of the solid machining chain.
|
|
This is used for XML serialization and file management.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public string MachiningChainFile { 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.string">string</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_MachiningTool_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.MachiningTool*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_MachiningTool" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.MachiningTool">
|
|
MachiningTool
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>The Setup-page selected tool (persisted as the project's
|
|
<code><MillingTool></code>). Never the tool-house instance itself — see
|
|
<a class="xref" href="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.html#Hi_Machining_MachiningEquipmentUtils_SetupEquipment_Tooling_System_Int32_Hi_Machining_MachiningToolHouse_">Tooling(int, MachiningToolHouse)</a>.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public IMachiningTool MachiningTool { get; set; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Machining.IMachiningTool.html">IMachiningTool</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_SpindleCapability_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.SpindleCapability*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_SpindleCapability" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.SpindleCapability">
|
|
SpindleCapability
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets or sets the spindle capability configuration.
|
|
This defines the operational capabilities and limits of the spindle.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public SpindleCapability SpindleCapability { get; set; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Milling.SpindleCapability.html">SpindleCapability</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_SpindleCapabilityFile_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.SpindleCapabilityFile*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_SpindleCapabilityFile" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.SpindleCapabilityFile">
|
|
SpindleCapabilityFile
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets or sets the file path of the spindle capability configuration.
|
|
This is used for XML serialization and file management.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public string SpindleCapabilityFile { 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.string">string</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_TableToComp_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.TableToComp*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_TableToComp" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.TableToComp">
|
|
TableToComp
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Transformer of the branch from table buckle to workpiece side buckle.
|
|
Note that the workpiece side buckle links to <a class="xref" href="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.html#Hi_Machining_MachiningEquipmentUtils_SetupEquipment_Fixture">Fixture</a> if fixture exist;
|
|
otherwise, it links to <a class="xref" href="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.html#Hi_Machining_MachiningEquipmentUtils_SetupEquipment_Workpiece">Workpiece</a> if workpiece exist.
|
|
If <a class="xref" href="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.html#Hi_Machining_MachiningEquipmentUtils_SetupEquipment_Workpiece">Workpiece</a> either <a class="xref" href="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.html#Hi_Machining_MachiningEquipmentUtils_SetupEquipment_Fixture">Fixture</a> do not exist, this property makes no effect.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public ITransformer TableToComp { get; set; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Mech.Topo.ITransformer.html">ITransformer</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_Workpiece_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.Workpiece*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_Workpiece" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.Workpiece">
|
|
Workpiece
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Workpiece.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Workpiece Workpiece { get; set; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.NcMech.Workpieces.Workpiece.html">Workpiece</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_WorkpieceDisplayee_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.WorkpieceDisplayee*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_WorkpieceDisplayee" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.WorkpieceDisplayee">
|
|
WorkpieceDisplayee
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Displayee for workpiece rendering. Optional on the authored face —
|
|
setup views typically draw the workpiece through their own display
|
|
composition instead.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public IDisplayee WorkpieceDisplayee { get; set; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Disp.IDisplayee.html">IDisplayee</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_XName_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.XName*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_XName" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.XName">
|
|
XName
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Name for XML IO. Pinned to the shipped wire name
|
|
<code>“MachiningEquipment”</code> — the type was split off the runtime face,
|
|
the file layout was not.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static string XName { get; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2 class="section" id="methods">Methods
|
|
</h2>
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_Display_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.Display*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_Display_Hi_Disp_Bind_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.Display(Hi.Disp.Bind)">
|
|
Display(Bind)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Display function called in <a class="xref" href="Hi.Disp.DispEngine.html">DispEngine</a> rendering loop.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void Display(Bind bind)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>bind</code> <a class="xref" href="Hi.Disp.Bind.html">Bind</a></dt>
|
|
<dd><p>Bind with <a class="xref" href="Hi.Disp.DispEngine.html">DispEngine</a>. See <a class="xref" href="Hi.Disp.Bind.html">Bind</a>.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_ExpandToBox3d_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.ExpandToBox3d*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_ExpandToBox3d_Hi_Geom_Box3d_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.ExpandToBox3d(Hi.Geom.Box3d)">
|
|
ExpandToBox3d(Box3d)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Expands the destination box.
|
|
This function is usually used to compute the bounding box of elements.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void ExpandToBox3d(Box3d dst)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>dst</code> <a class="xref" href="Hi.Geom.Box3d.html">Box3d</a></dt>
|
|
<dd><p>Destination box</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_GetAnchor_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.GetAnchor*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_GetAnchor" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.GetAnchor">
|
|
GetAnchor()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Get key anchor. (i.e. root anchor)</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Anchor GetAnchor()</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a></dt>
|
|
<dd><p>key anchor</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_GetAnchoredDisplayeeList_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.GetAnchoredDisplayeeList*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_GetAnchoredDisplayeeList" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.GetAnchoredDisplayeeList">
|
|
GetAnchoredDisplayeeList()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets a list of anchored displayable objects.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public List<IAnchoredDisplayee> GetAnchoredDisplayeeList()</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="Hi.Mech.Topo.IAnchoredDisplayee.html">IAnchoredDisplayee</a>></dt>
|
|
<dd><p>A list of <a class="xref" href="Hi.Mech.Topo.IAnchoredDisplayee.html">IAnchoredDisplayee</a> objects</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_GetAsmb_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.GetAsmb*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_GetAsmb" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.GetAsmb">
|
|
GetAsmb()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets the key asmb.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Asmb GetAsmb()</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Mech.Topo.Asmb.html">Asmb</a></dt>
|
|
<dd><p>The key asmb.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_GetMachiningChain_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.GetMachiningChain*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_GetMachiningChain" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.GetMachiningChain">
|
|
GetMachiningChain()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets the machining chain instance.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public IMachiningChain GetMachiningChain()</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Mech.IMachiningChain.html">IMachiningChain</a></dt>
|
|
<dd><p>The machining chain instance.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_GetProgramCl_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.GetProgramCl*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_GetProgramCl" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.GetProgramCl">
|
|
GetProgramCl()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Get CL (Cutter Location).
|
|
Where <a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Point">Point</a> is tool tip position; <a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Normal">Normal</a> is tool orientation.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public DVec3d GetProgramCl()</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>CL</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_GetToolTipXyzOnProgramZero_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.GetToolTipXyzOnProgramZero*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_GetToolTipXyzOnProgramZero" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.GetToolTipXyzOnProgramZero">
|
|
GetToolTipXyzOnProgramZero()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Get tool tip xyz from workpiece geom anchor.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Vec3d GetToolTipXyzOnProgramZero()</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a></dt>
|
|
<dd><p>if no <a class="xref" href="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.html#Hi_Machining_MachiningEquipmentUtils_SetupEquipment_MachiningTool">MachiningTool</a> or no <a class="xref" href="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.html#Hi_Machining_MachiningEquipmentUtils_SetupEquipment_Workpiece">Workpiece</a> equiping, return null;
|
|
otherwise, return the XYZ from workpiece geomanchor to tool tip.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_GetTransformFromRootToProgramZero_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.GetTransformFromRootToProgramZero*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_GetTransformFromRootToProgramZero" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.GetTransformFromRootToProgramZero">
|
|
GetTransformFromRootToProgramZero()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets the transform matrix from the root coordinate system to the program zero coordinate system.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Mat4d GetTransformFromRootToProgramZero()</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.Mat4d.html">Mat4d</a></dt>
|
|
<dd><p>A 4x4 transformation matrix representing the coordinate system transformation.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_MakeXmlSource_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.MakeXmlSource*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_MakeXmlSource_System_String_System_String_System_Boolean_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.MakeXmlSource(System.String,System.String,System.Boolean)">
|
|
MakeXmlSource(string, string, bool)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Creates an XML representation of the object.
|
|
This method may also generate additional resources such as related files.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public XElement MakeXmlSource(string baseDirectory, string relFile, bool exhibitionOnly)</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 for resolving relative paths</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>
|
|
|
|
<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>An XML element representing the object's state</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section" id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_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>
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_MaterialiseMachiningEquipment_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.MaterialiseMachiningEquipment*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_MaterialiseMachiningEquipment_System_String_System_IProgress_Hi_Common_Messages_IMessage__" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.MaterialiseMachiningEquipment(System.String,System.IProgress{Hi.Common.Messages.IMessage})">
|
|
MaterialiseMachiningEquipment(string, IProgress<IMessage>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Builds the runtime face from this authored face: a fresh
|
|
<a class="xref" href="Hi.Machining.MachiningEquipmentUtils.MachiningEquipment.html">MachiningEquipment</a> whose topology is an XML round-trip
|
|
copy of this one (chain, fixture, workpiece, table transformer, tool),
|
|
with the heavy machine-body and fixture <a class="xref" href="Hi.NcMech.Solids.Solid.html">Solid</a> instances
|
|
SHARED (this face keeps their lifecycle), axis poses copied, and the
|
|
environment data stamped by reference. Information flows one way:
|
|
the returned instance never writes back into this one.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public MachiningEquipment MaterialiseMachiningEquipment(string baseDirectory, IProgress<IMessage> progress)</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 project base directory this equipment's
|
|
relative paths (e.g. <a class="xref" href="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.html#Hi_Machining_MachiningEquipmentUtils_SetupEquipment_MachiningChainFile">MachiningChainFile</a>) resolve against.</p>
|
|
</dd>
|
|
<dt><code>progress</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iprogress-1">IProgress</a><<a class="xref" href="Hi.Common.Messages.IMessage.html">IMessage</a>></dt>
|
|
<dd><p>Progress reporter for diagnostics during the copy.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Machining.MachiningEquipmentUtils.MachiningEquipment.html">MachiningEquipment</a></dt>
|
|
<dd><p>The materialised runtime equipment.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_Reg_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.Reg*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_Reg_Hi_Common_XmlUtils_XFactory_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.Reg(Hi.Common.XmlUtils.XFactory)">
|
|
Reg(XFactory)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Registers this type's deserializer with the given <a class="xref" href="Hi.Common.XmlUtils.XFactory.html">XFactory</a>
|
|
and chains <code>Reg(factory)</code> on dependents. Idempotent.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static void Reg(XFactory factory = null)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>factory</code> <a class="xref" href="Hi.Common.XmlUtils.XFactory.html">XFactory</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_Tooling_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.Tooling*"></a>
|
|
|
|
<h3 id="Hi_Machining_MachiningEquipmentUtils_SetupEquipment_Tooling_System_Int32_Hi_Machining_MachiningToolHouse_" data-uid="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.Tooling(System.Int32,Hi.Machining.MachiningToolHouse)">
|
|
Tooling(int, MachiningToolHouse)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Selects the Setup-page tool by <code class="paramref">toolId</code> from
|
|
<code class="paramref">toolHouse</code>. The authored face never hosts the
|
|
tool-house instance itself: the runtime face equips house instances
|
|
(and mutates their tessellation mid-run), and one tool's Asmb cannot
|
|
live in two topologies — so this hosts a private duplicate.
|
|
Clear the selection (“do not show”) by setting
|
|
<a class="xref" href="Hi.Machining.MachiningEquipmentUtils.SetupEquipment.html#Hi_Machining_MachiningEquipmentUtils_SetupEquipment_MachiningTool">MachiningTool</a> to null.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public bool Tooling(int toolId, MachiningToolHouse toolHouse)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>toolId</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
|
|
<dd><p>tool ID</p>
|
|
</dd>
|
|
<dt><code>toolHouse</code> <a class="xref" href="Hi.Machining.MachiningToolHouse.html">MachiningToolHouse</a></dt>
|
|
<dd><p>tool house</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
|
<dd><p>true if the selection changed; otherwise, false.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Exceptions</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Machining.ToolNotFoundException.html">ToolNotFoundException</a></dt>
|
|
<dd><p>Throw If <code class="paramref">toolId</code> does not exist on <code class="paramref">toolHouse</code>.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
<div class="contribution d-print-none">
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
<div class="affix">
|
|
<nav id="affix"></nav>
|
|
</div>
|
|
</main>
|
|
|
|
<div class="container-xxl search-results" id="search-results"></div>
|
|
|
|
<footer class="border-top text-secondary">
|
|
<div class="container-xxl">
|
|
<div class="flex-fill">
|
|
<span> Copyright © 2025 <a href='https://superhightech.com.tw'>Tech Coordinate</a>. All rights reserved. <a href='https://superhightech.com.tw'>超級高科技股份有限公司</a> © 2025 版權所有 </span>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
</html>
|