This commit is contained in:
iamboss 2025-10-18 10:01:54 +08:00
parent 58fe57b9c6
commit 4303229724
27 changed files with 266 additions and 267 deletions

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

@ -11,8 +11,8 @@
"dependencies": { "dependencies": {
"AvalonEdit": "6.3.0.90", "AvalonEdit": "6.3.0.90",
"FontAwesome.Sharp": "6.3.0", "FontAwesome.Sharp": "6.3.0",
"Hi.Wpf": "3.1.48", "Hi.Wpf": "3.1.49",
"HiNc": "3.1.67", "HiNc": "3.1.68",
"Microsoft.Extensions.Configuration.Json": "9.0.0", "Microsoft.Extensions.Configuration.Json": "9.0.0",
"Microsoft.Extensions.DependencyInjection": "9.0.0", "Microsoft.Extensions.DependencyInjection": "9.0.0",
"Microsoft.Extensions.Hosting": "9.0.0", "Microsoft.Extensions.Hosting": "9.0.0",
@ -1659,39 +1659,39 @@
} }
}, },
"Grpc.Tools/2.66.0": {}, "Grpc.Tools/2.66.0": {},
"Hi.Wpf/3.1.48": { "Hi.Wpf/3.1.49": {
"dependencies": { "dependencies": {
"HiDisp": "3.1.53" "HiDisp": "3.1.54"
}, },
"runtime": { "runtime": {
"lib/net9.0-windows7.0/Hi.Wpf.dll": { "lib/net9.0-windows7.0/Hi.Wpf.dll": {
"assemblyVersion": "3.1.48.0", "assemblyVersion": "3.1.49.0",
"fileVersion": "3.1.48.0" "fileVersion": "3.1.49.0"
} }
} }
}, },
"HiCbtr/3.1.53": { "HiCbtr/3.1.54": {
"dependencies": { "dependencies": {
"HiDisp": "3.1.53" "HiDisp": "3.1.54"
}, },
"runtime": { "runtime": {
"lib/net9.0/HiCbtr.dll": { "lib/net9.0/HiCbtr.dll": {
"assemblyVersion": "3.1.53.0", "assemblyVersion": "3.1.54.0",
"fileVersion": "3.1.53.0" "fileVersion": "3.1.54.0"
} }
} }
}, },
"HiDisp/3.1.53": { "HiDisp/3.1.54": {
"dependencies": { "dependencies": {
"HiGeom": "3.1.48", "HiGeom": "3.1.49",
"System.Configuration.ConfigurationManager": "9.0.10", "System.Configuration.ConfigurationManager": "9.0.10",
"System.Drawing.Common": "9.0.10", "System.Drawing.Common": "9.0.10",
"System.Resources.Extensions": "9.0.10" "System.Resources.Extensions": "9.0.10"
}, },
"runtime": { "runtime": {
"lib/net9.0/HiDisp.dll": { "lib/net9.0/HiDisp.dll": {
"assemblyVersion": "3.1.53.0", "assemblyVersion": "3.1.54.0",
"fileVersion": "3.1.53.0" "fileVersion": "3.1.54.0"
} }
}, },
"native": { "native": {
@ -1706,7 +1706,7 @@
} }
} }
}, },
"HiGeom/3.1.48": { "HiGeom/3.1.49": {
"dependencies": { "dependencies": {
"Google.Protobuf": "3.28.3", "Google.Protobuf": "3.28.3",
"Grpc.AspNetCore": "2.66.0", "Grpc.AspNetCore": "2.66.0",
@ -1717,8 +1717,8 @@
}, },
"runtime": { "runtime": {
"lib/net9.0/HiGeom.dll": { "lib/net9.0/HiGeom.dll": {
"assemblyVersion": "3.1.48.0", "assemblyVersion": "3.1.49.0",
"fileVersion": "3.1.48.0" "fileVersion": "3.1.49.0"
} }
}, },
"resources": { "resources": {
@ -1730,27 +1730,27 @@
} }
} }
}, },
"HiLicense/3.1.48": { "HiLicense/3.1.49": {
"dependencies": { "dependencies": {
"HiGeom": "3.1.48" "HiGeom": "3.1.49"
}, },
"runtime": { "runtime": {
"lib/net9.0/HiLicense.dll": { "lib/net9.0/HiLicense.dll": {
"assemblyVersion": "3.1.48.0", "assemblyVersion": "3.1.49.0",
"fileVersion": "3.1.48.0" "fileVersion": "3.1.49.0"
} }
} }
}, },
"HiMech/3.1.57": { "HiMech/3.1.58": {
"dependencies": { "dependencies": {
"CommandLineParser": "2.9.1", "CommandLineParser": "2.9.1",
"HiCbtr": "3.1.53", "HiCbtr": "3.1.54",
"Microsoft.CodeAnalysis.CSharp.Scripting": "4.14.0" "Microsoft.CodeAnalysis.CSharp.Scripting": "4.14.0"
}, },
"runtime": { "runtime": {
"lib/net9.0/HiMech.dll": { "lib/net9.0/HiMech.dll": {
"assemblyVersion": "3.1.57.0", "assemblyVersion": "3.1.58.0",
"fileVersion": "3.1.57.0" "fileVersion": "3.1.58.0"
} }
}, },
"resources": { "resources": {
@ -1765,20 +1765,20 @@
} }
} }
}, },
"HiNc/3.1.67": { "HiNc/3.1.68": {
"dependencies": { "dependencies": {
"Google.Protobuf": "3.28.3", "Google.Protobuf": "3.28.3",
"Grpc.AspNetCore": "2.66.0", "Grpc.AspNetCore": "2.66.0",
"Grpc.Net.Client": "2.66.0", "Grpc.Net.Client": "2.66.0",
"HiLicense": "3.1.48", "HiLicense": "3.1.49",
"HiMech": "3.1.57", "HiMech": "3.1.58",
"HiUniNc": "3.1.54", "HiUniNc": "3.1.55",
"System.IO.Pipelines": "9.0.10" "System.IO.Pipelines": "9.0.10"
}, },
"runtime": { "runtime": {
"lib/net9.0/HiNc.dll": { "lib/net9.0/HiNc.dll": {
"assemblyVersion": "3.1.67.0", "assemblyVersion": "3.1.68.0",
"fileVersion": "3.1.67.0" "fileVersion": "3.1.68.0"
} }
}, },
"resources": { "resources": {
@ -1790,14 +1790,14 @@
} }
} }
}, },
"HiUniNc/3.1.54": { "HiUniNc/3.1.55": {
"dependencies": { "dependencies": {
"HiMech": "3.1.57" "HiMech": "3.1.58"
}, },
"runtime": { "runtime": {
"lib/net9.0/HiUniNc.dll": { "lib/net9.0/HiUniNc.dll": {
"assemblyVersion": "3.1.54.0", "assemblyVersion": "3.1.55.0",
"fileVersion": "3.1.54.0" "fileVersion": "3.1.55.0"
} }
} }
}, },
@ -2442,61 +2442,61 @@
"path": "grpc.tools/2.66.0", "path": "grpc.tools/2.66.0",
"hashPath": "grpc.tools.2.66.0.nupkg.sha512" "hashPath": "grpc.tools.2.66.0.nupkg.sha512"
}, },
"Hi.Wpf/3.1.48": { "Hi.Wpf/3.1.49": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-JB2zuC4Kf7DhjOS/auHuX+h3fKtvd8IZeDdkM9MDPqagsUpRpioQqb7RM0+Z9UKtZdM8TmASJfNWkv31eFAU0A==", "sha512": "sha512-acohRzOamJGu1sMSHjkodrsT5LQytkeoUnjEz3E65Gi63JWU7ZNZLbyyjVkHMR4YyFGB7kpYUD2cLq6Exs65Bw==",
"path": "hi.wpf/3.1.48", "path": "hi.wpf/3.1.49",
"hashPath": "hi.wpf.3.1.48.nupkg.sha512" "hashPath": "hi.wpf.3.1.49.nupkg.sha512"
}, },
"HiCbtr/3.1.53": { "HiCbtr/3.1.54": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-WXqtwHXBICRYaibn2+JoPAvqLFvamjcQ+6gGeibf7X1d4c5Gc9YJnPID7VNnzrvR3LDTdWrydtadku7K7ZiRCQ==", "sha512": "sha512-VnriHkbIi8LZYu7o+tC4KAv2/xS7TZ6njXSJqGlXaM651z95cvzZsMmKUweMdIO3yPQLLDUuZaR509md6lLqOg==",
"path": "hicbtr/3.1.53", "path": "hicbtr/3.1.54",
"hashPath": "hicbtr.3.1.53.nupkg.sha512" "hashPath": "hicbtr.3.1.54.nupkg.sha512"
}, },
"HiDisp/3.1.53": { "HiDisp/3.1.54": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-phbpdGQkrneWnULVBfSMgB/73ONWX645SQrqqE/NYpbZw0laea4XtHsTZdxjFo4H1bhoPV1MSdKqwBa4yj4b9w==", "sha512": "sha512-Mnvs+ETgvGBl51JmM4LllfM/tSJWBvz+epI8qz1BIJdfj8429L4Xg+sjJuYiTVXoxiDLJbFY6OhWGte0URvk7g==",
"path": "hidisp/3.1.53", "path": "hidisp/3.1.54",
"hashPath": "hidisp.3.1.53.nupkg.sha512" "hashPath": "hidisp.3.1.54.nupkg.sha512"
}, },
"HiGeom/3.1.48": { "HiGeom/3.1.49": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-pwYl8I0sCwKuKPOUCYLepxDPZini8WF25EjC84Ubgp5l1RITC1JVWgSBWCVJTjB7xE28Q7u0zHLnztjRmyhh+Q==", "sha512": "sha512-nPGW6l90KLrkk9uqDoD0/5O7ZOoQ3/v398Qtkvi8PLf4EaaSTfQOnaS7HWE6F4AMONXbyADKz5yAKackc7h8qg==",
"path": "higeom/3.1.48", "path": "higeom/3.1.49",
"hashPath": "higeom.3.1.48.nupkg.sha512" "hashPath": "higeom.3.1.49.nupkg.sha512"
}, },
"HiLicense/3.1.48": { "HiLicense/3.1.49": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-v7DfLIlP++YiVcVsJ2I/zkj0k8I9vXoQinFkSMq+RjnN6dr97Vi9P4dw6NOVc+jOhR8C7EkPcVNESO59MBZ+9g==", "sha512": "sha512-Iq8zS+hHdDVpW9QjfJtYamo3Xcb/qZ2oI5CIbboGoB7E6aTjrjB6dUCxVNZh7mRjkE7goj7Dk+9ESzZR98usBw==",
"path": "hilicense/3.1.48", "path": "hilicense/3.1.49",
"hashPath": "hilicense.3.1.48.nupkg.sha512" "hashPath": "hilicense.3.1.49.nupkg.sha512"
}, },
"HiMech/3.1.57": { "HiMech/3.1.58": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-tNkzJMMBhpjf0GeX0ojnrHw7fzXBDUAemBZgQgsrnUvSNXyaDuii7W4XNSH6j1g2w5/uP0/plQOKQPbiNzWTkA==", "sha512": "sha512-0uOmyncGFu+k4lQ7hYU9Zvt+b0wMdUZK1b4a01GYHHkoXXLQllqeK9Fjs79/ciNlPLYrDuVIOXwqaIFDtLoizA==",
"path": "himech/3.1.57", "path": "himech/3.1.58",
"hashPath": "himech.3.1.57.nupkg.sha512" "hashPath": "himech.3.1.58.nupkg.sha512"
}, },
"HiNc/3.1.67": { "HiNc/3.1.68": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-tLgupMxwQGmb2agQYIDRc7QojSFCf2+Jb+GtYzCnpUx1KBb3VA0x9K1QIq7HlJxreG9pTnse8CuYVwugMlnC/Q==", "sha512": "sha512-Xy1TmMFEA4XM96Z//9A86qgJtEeduASZ+7cXyQrLNCI+HsY/fnFenboX4FoMFlWbZBE0ZDMN1KW044Y6qEkZOw==",
"path": "hinc/3.1.67", "path": "hinc/3.1.68",
"hashPath": "hinc.3.1.67.nupkg.sha512" "hashPath": "hinc.3.1.68.nupkg.sha512"
}, },
"HiUniNc/3.1.54": { "HiUniNc/3.1.55": {
"type": "package", "type": "package",
"serviceable": true, "serviceable": true,
"sha512": "sha512-Tiu0xEGbloG1BC2MlaoM7JGt1eXMNjFSpi4Ha3ZDxs6HREYm33O67MrxtWRPHhJHcGNaMJbaGToqJj8zNax4Uw==", "sha512": "sha512-5C0NqN53oEI9+tVEJOkbFVbXRzdYWunwItRlfBOPluIO54YJSZFdirrsL5sAl1pSrG/43+rOkhi5Zj00/c4dAg==",
"path": "hiuninc/3.1.54", "path": "hiuninc/3.1.55",
"hashPath": "hiuninc.3.1.54.nupkg.sha512" "hashPath": "hiuninc.3.1.55.nupkg.sha512"
}, },
"MathNet.Numerics/5.0.0": { "MathNet.Numerics/5.0.0": {
"type": "package", "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

@ -217,6 +217,43 @@ Interface IProjectService
<h2 class="section" id="methods">Methods
</h2>
<a id="Hi_MachiningProcs_IProjectService_GetLocalProjectService_" data-uid="Hi.MachiningProcs.IProjectService.GetLocalProjectService*"></a>
<h3 id="Hi_MachiningProcs_IProjectService_GetLocalProjectService" data-uid="Hi.MachiningProcs.IProjectService.GetLocalProjectService">
GetLocalProjectService()
</h3>
<div class="markdown level1 summary"><p>Get Local Project Service as base-service.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">LocalProjectService GetLocalProjectService()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a></dt>
<dd><p>Local Project Service</p>
</dd>
</dl>
</article> </article>

View File

@ -429,14 +429,41 @@ Apply absolute file path.</p>
<div class="markdown level1 conceptual"></div> <div class="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task CloseProject()</code></pre> <pre><code class="lang-csharp hljs">public void CloseProject()</code></pre>
</div>
<a id="Hi_MachiningProcs_LocalProjectService_GetLocalProjectService_" data-uid="Hi.MachiningProcs.LocalProjectService.GetLocalProjectService*"></a>
<h3 id="Hi_MachiningProcs_LocalProjectService_GetLocalProjectService" data-uid="Hi.MachiningProcs.LocalProjectService.GetLocalProjectService">
GetLocalProjectService()
</h3>
<div class="markdown level1 summary"><p>Get Local Project Service as base-service.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public LocalProjectService GetLocalProjectService()</code></pre>
</div> </div>
<h4 class="section">Returns</h4> <h4 class="section">Returns</h4>
<dl class="parameters"> <dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt> <dt><a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a></dt>
<dd><p>A task representing the asynchronous operation</p> <dd><p>Local Project Service</p>
</dd> </dd>
</dl> </dl>

View File

@ -434,14 +434,41 @@ Apply relative file path from <a class="xref" href="Hi.MachiningProcs.ProxyProje
<div class="markdown level1 conceptual"></div> <div class="markdown level1 conceptual"></div>
<div class="codewrapper"> <div class="codewrapper">
<pre><code class="lang-csharp hljs">public Task CloseProject()</code></pre> <pre><code class="lang-csharp hljs">public void CloseProject()</code></pre>
</div>
<a id="Hi_MachiningProcs_ProxyProjectService_GetLocalProjectService_" data-uid="Hi.MachiningProcs.ProxyProjectService.GetLocalProjectService*"></a>
<h3 id="Hi_MachiningProcs_ProxyProjectService_GetLocalProjectService" data-uid="Hi.MachiningProcs.ProxyProjectService.GetLocalProjectService">
GetLocalProjectService()
</h3>
<div class="markdown level1 summary"><p>Get Local Project Service as base-service.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public LocalProjectService GetLocalProjectService()</code></pre>
</div> </div>
<h4 class="section">Returns</h4> <h4 class="section">Returns</h4>
<dl class="parameters"> <dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.tasks.task">Task</a></dt> <dt><a class="xref" href="Hi.MachiningProcs.LocalProjectService.html">LocalProjectService</a></dt>
<dd><p>A task representing the asynchronous operation</p> <dd><p>Local Project Service</p>
</dd> </dd>
</dl> </dl>

View File

@ -180,42 +180,6 @@ Class RuntimeApi
<h2 class="section" id="constructors">Constructors
</h2>
<a id="Hi_MachiningProcs_RuntimeApi__ctor_" data-uid="Hi.MachiningProcs.RuntimeApi.#ctor*"></a>
<h3 id="Hi_MachiningProcs_RuntimeApi__ctor_Hi_MachiningProcs_IMachiningProjectGetter_" data-uid="Hi.MachiningProcs.RuntimeApi.#ctor(Hi.MachiningProcs.IMachiningProjectGetter)">
RuntimeApi(IMachiningProjectGetter)
</h3>
<div class="markdown level1 summary"><p>Initializes a new instance.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public RuntimeApi(IMachiningProjectGetter machiningProjectGetter)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>machiningProjectGetter</code> <a class="xref" href="Hi.MachiningProcs.IMachiningProjectGetter.html">IMachiningProjectGetter</a></dt>
<dd></dd>
</dl>
<h2 class="section" id="properties">Properties <h2 class="section" id="properties">Properties
</h2> </h2>

View File

@ -707,38 +707,6 @@ public class RuntimeController : ControllerBase</code></pre>
</h2> </h2>
<a id="Hi_MachiningProcs_RuntimeController__ctor_" data-uid="Hi.MachiningProcs.RuntimeController.#ctor*"></a>
<h3 id="Hi_MachiningProcs_RuntimeController__ctor_Hi_MachiningProcs_IMachiningProjectGetter_" data-uid="Hi.MachiningProcs.RuntimeController.#ctor(Hi.MachiningProcs.IMachiningProjectGetter)">
RuntimeController(IMachiningProjectGetter)
</h3>
<div class="markdown level1 summary"><p>Initializes a new instance.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public RuntimeController(IMachiningProjectGetter machiningProjectGetter)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>machiningProjectGetter</code> <a class="xref" href="Hi.MachiningProcs.IMachiningProjectGetter.html">IMachiningProjectGetter</a></dt>
<dd></dd>
</dl>
<a id="Hi_MachiningProcs_RuntimeController__ctor_" data-uid="Hi.MachiningProcs.RuntimeController.#ctor*"></a> <a id="Hi_MachiningProcs_RuntimeController__ctor_" data-uid="Hi.MachiningProcs.RuntimeController.#ctor*"></a>
<h3 id="Hi_MachiningProcs_RuntimeController__ctor_Hi_MachiningProcs_IProjectService_" data-uid="Hi.MachiningProcs.RuntimeController.#ctor(Hi.MachiningProcs.IProjectService)"> <h3 id="Hi_MachiningProcs_RuntimeController__ctor_Hi_MachiningProcs_IProjectService_" data-uid="Hi.MachiningProcs.RuntimeController.#ctor(Hi.MachiningProcs.IProjectService)">
@ -4075,74 +4043,6 @@ public void WriteStepFiles(string relFileTemplate = &quot;Output/[NcName].step.c
<h2 class="section" id="events">Events
</h2>
<h3 id="Hi_MachiningProcs_RuntimeController_MachiningStepBuilt" data-uid="Hi.MachiningProcs.RuntimeController.MachiningStepBuilt">
MachiningStepBuilt
</h3>
<div class="markdown level1 summary"><p>Gets or sets the action to configure steps during execution.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[JsAce(Snippet = &quot;MachiningStepBuilt+=($1preStep,$2curStep)=&gt;{$3Command};&quot;, DocContentHtml = &quot;Runtime Step Configuration action. preStep is the Previous Milling Step; curStep is the Current Milling Step. preStep is null if no previous step existed.&quot;)]
public event MachiningActRunner.MachiningStepBuiltDelegate MachiningStepBuilt</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.MachiningProcs.MachiningActRunner.html">MachiningActRunner</a>.<a class="xref" href="Hi.MachiningProcs.MachiningActRunner.MachiningStepBuiltDelegate.html">MachiningStepBuiltDelegate</a></dt>
<dd></dd>
</dl>
<h3 id="Hi_MachiningProcs_RuntimeController_MachiningStepSelected" data-uid="Hi.MachiningProcs.RuntimeController.MachiningStepSelected">
MachiningStepSelected
</h3>
<div class="markdown level1 summary"><p>Event that is triggered when a milling step is selected.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">[JsAce(Snippet = &quot;MachiningStepSelected+=($1millingStep)=&gt;{$2Command};&quot;)]
public event Action&lt;MachiningStep&gt; MachiningStepSelected</code></pre>
</div>
<h4 class="section">Event Type</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="Hi.MachiningSteps.MachiningStep.html">MachiningStep</a>&gt;</dt>
<dd></dd>
</dl>
</article> </article>

View File

@ -153,6 +153,37 @@ Interface IMachiningStepHost
</h2> </h2>
<a id="Hi_MachiningSteps_IMachiningStepHost_ClStrip_" data-uid="Hi.MachiningSteps.IMachiningStepHost.ClStrip*"></a>
<h3 id="Hi_MachiningSteps_IMachiningStepHost_ClStrip" data-uid="Hi.MachiningSteps.IMachiningStepHost.ClStrip">
ClStrip
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">ClStrip ClStrip { get; }</code></pre>
</div>
<h4 class="section">Property Value</h4>
<dl class="parameters">
<dt><a class="xref" href="Hi.CutterLocations.ClStrips.ClStrip.html">ClStrip</a></dt>
<dd></dd>
</dl>
<a id="Hi_MachiningSteps_IMachiningStepHost_DictionaryColorGuide_" data-uid="Hi.MachiningSteps.IMachiningStepHost.DictionaryColorGuide*"></a> <a id="Hi_MachiningSteps_IMachiningStepHost_DictionaryColorGuide_" data-uid="Hi.MachiningSteps.IMachiningStepHost.DictionaryColorGuide*"></a>
<h3 id="Hi_MachiningSteps_IMachiningStepHost_DictionaryColorGuide" data-uid="Hi.MachiningSteps.IMachiningStepHost.DictionaryColorGuide"> <h3 id="Hi_MachiningSteps_IMachiningStepHost_DictionaryColorGuide" data-uid="Hi.MachiningSteps.IMachiningStepHost.DictionaryColorGuide">

View File

@ -206,35 +206,35 @@ namespace Sample.Machining
project.Workpiece.IdealGeom = new StlFile(stlFile_CylinderR19, projectDir); project.Workpiece.IdealGeom = new StlFile(stlFile_CylinderR19, projectDir);
project.Workpiece.InitResolution = resolution_mm; project.Workpiece.InitResolution = resolution_mm;
RuntimeApi runtimeApi = new RuntimeApi(localProjectService); RuntimeApi runtimeApi = project.RuntimeApi;
runtimeApi.SetNcResolutionFixed(9999, 15); runtimeApi.SetNcResolutionFixed(9999, 15);
runtimeApi.EnableCollisionDetection = false; runtimeApi.EnableCollisionDetection = false;
runtimeApi.EnablePhysics = false; runtimeApi.EnablePhysics = false;
runtimeApi.MachiningResolution_mm = resolution_mm; runtimeApi.MachiningResolution_mm = resolution_mm;
//RunConsole(project, projectDisplayee, resolution_mm); //RunConsole(project, projectDisplayee, resolution_mm);
RunWindow(project, projectDisplayee, resolution_mm); RunWindow(localProjectService, projectDisplayee, resolution_mm);
} }
static void RunConsole(MachiningProject project, static void RunConsole(IProjectService projectService,
MachiningProjectDisplayee projectDisplayee, double resolution_mm) MachiningProjectDisplayee projectDisplayee, double resolution_mm)
{ {
RunSession(project, resolution_mm); RunSession(projectService, resolution_mm);
DispEngine dispEngine = new DispEngine(projectDisplayee); DispEngine dispEngine = new DispEngine(projectDisplayee);
dispEngine.SetViewToIsometricView(); dispEngine.SetViewToIsometricView();
dispEngine.SketchView = project.ClStrip.GetFittingView(dispEngine.SketchView); dispEngine.SketchView = projectService.MachiningProject.ClStrip.GetFittingView(dispEngine.SketchView);
dispEngine.SketchView = dispEngine.SketchView.Scale(0.5); dispEngine.SketchView = dispEngine.SketchView.Scale(0.5);
dispEngine.Snapshot($&quot;Cache/result.bmp&quot;, 1000, 1000); dispEngine.Snapshot($&quot;Cache/result.bmp&quot;, 1000, 1000);
project.Dispose(); projectService.GetLocalProjectService().CloseProject();
LocalApp.AppEnd(); LocalApp.AppEnd();
Console.WriteLine($&quot;App exit.&quot;); Console.WriteLine($&quot;App exit.&quot;);
} }
static void RunWindow(MachiningProject project, static void RunWindow(IProjectService projectService,
MachiningProjectDisplayee projectDisplayee, double resolution_mm) MachiningProjectDisplayee projectDisplayee, double resolution_mm)
{ {
var task = Task.Run(() =&gt; var task = Task.Run(() =&gt;
{ {
RunSession(project, resolution_mm); RunSession(projectService, resolution_mm);
Console.WriteLine($&quot;task done.&quot;); Console.WriteLine($&quot;task done.&quot;);
}).ShowIfCatched(null); }).ShowIfCatched(null);
@ -245,7 +245,7 @@ namespace Sample.Machining
}; };
app.Exit += (o, e) =&gt; app.Exit += (o, e) =&gt;
{ {
project.Dispose(); projectService.GetLocalProjectService().CloseProject();
LocalApp.AppEnd(); LocalApp.AppEnd();
Console.WriteLine($&quot;App exit.&quot;); Console.WriteLine($&quot;App exit.&quot;);
}; };
@ -256,9 +256,10 @@ namespace Sample.Machining
}); });
#endregion #endregion
} }
static void RunSession(MachiningProject project, double resolution_mm) static void RunSession(IProjectService projectService, double resolution_mm)
{ {
RuntimeApi runtimeApi = new RuntimeApi(project); var project=projectService.MachiningProject;
RuntimeApi runtimeApi = project.RuntimeApi;
project.BeginSession(); project.BeginSession();
double radius = 20; double radius = 20;

File diff suppressed because one or more lines are too long

View File

@ -76743,6 +76743,19 @@ references:
commentId: T:Hi.MachiningProcs.IProjectService commentId: T:Hi.MachiningProcs.IProjectService
fullName: Hi.MachiningProcs.IProjectService fullName: Hi.MachiningProcs.IProjectService
nameWithType: IProjectService nameWithType: IProjectService
- uid: Hi.MachiningProcs.IProjectService.GetLocalProjectService
name: GetLocalProjectService()
href: api/Hi.MachiningProcs.IProjectService.html#Hi_MachiningProcs_IProjectService_GetLocalProjectService
commentId: M:Hi.MachiningProcs.IProjectService.GetLocalProjectService
fullName: Hi.MachiningProcs.IProjectService.GetLocalProjectService()
nameWithType: IProjectService.GetLocalProjectService()
- uid: Hi.MachiningProcs.IProjectService.GetLocalProjectService*
name: GetLocalProjectService
href: api/Hi.MachiningProcs.IProjectService.html#Hi_MachiningProcs_IProjectService_GetLocalProjectService_
commentId: Overload:Hi.MachiningProcs.IProjectService.GetLocalProjectService
isSpec: "True"
fullName: Hi.MachiningProcs.IProjectService.GetLocalProjectService
nameWithType: IProjectService.GetLocalProjectService
- uid: Hi.MachiningProcs.IProjectService.MachiningProject - uid: Hi.MachiningProcs.IProjectService.MachiningProject
name: MachiningProject name: MachiningProject
href: api/Hi.MachiningProcs.IProjectService.html#Hi_MachiningProcs_IProjectService_MachiningProject href: api/Hi.MachiningProcs.IProjectService.html#Hi_MachiningProcs_IProjectService_MachiningProject
@ -76871,6 +76884,19 @@ references:
isSpec: "True" isSpec: "True"
fullName: Hi.MachiningProcs.LocalProjectService.CloseProject fullName: Hi.MachiningProcs.LocalProjectService.CloseProject
nameWithType: LocalProjectService.CloseProject nameWithType: LocalProjectService.CloseProject
- uid: Hi.MachiningProcs.LocalProjectService.GetLocalProjectService
name: GetLocalProjectService()
href: api/Hi.MachiningProcs.LocalProjectService.html#Hi_MachiningProcs_LocalProjectService_GetLocalProjectService
commentId: M:Hi.MachiningProcs.LocalProjectService.GetLocalProjectService
fullName: Hi.MachiningProcs.LocalProjectService.GetLocalProjectService()
nameWithType: LocalProjectService.GetLocalProjectService()
- uid: Hi.MachiningProcs.LocalProjectService.GetLocalProjectService*
name: GetLocalProjectService
href: api/Hi.MachiningProcs.LocalProjectService.html#Hi_MachiningProcs_LocalProjectService_GetLocalProjectService_
commentId: Overload:Hi.MachiningProcs.LocalProjectService.GetLocalProjectService
isSpec: "True"
fullName: Hi.MachiningProcs.LocalProjectService.GetLocalProjectService
nameWithType: LocalProjectService.GetLocalProjectService
- uid: Hi.MachiningProcs.LocalProjectService.GetMachiningProject - uid: Hi.MachiningProcs.LocalProjectService.GetMachiningProject
name: GetMachiningProject() name: GetMachiningProject()
href: api/Hi.MachiningProcs.LocalProjectService.html#Hi_MachiningProcs_LocalProjectService_GetMachiningProject href: api/Hi.MachiningProcs.LocalProjectService.html#Hi_MachiningProcs_LocalProjectService_GetMachiningProject
@ -78987,6 +79013,19 @@ references:
isSpec: "True" isSpec: "True"
fullName: Hi.MachiningProcs.ProxyProjectService.CloseProject fullName: Hi.MachiningProcs.ProxyProjectService.CloseProject
nameWithType: ProxyProjectService.CloseProject nameWithType: ProxyProjectService.CloseProject
- uid: Hi.MachiningProcs.ProxyProjectService.GetLocalProjectService
name: GetLocalProjectService()
href: api/Hi.MachiningProcs.ProxyProjectService.html#Hi_MachiningProcs_ProxyProjectService_GetLocalProjectService
commentId: M:Hi.MachiningProcs.ProxyProjectService.GetLocalProjectService
fullName: Hi.MachiningProcs.ProxyProjectService.GetLocalProjectService()
nameWithType: ProxyProjectService.GetLocalProjectService()
- uid: Hi.MachiningProcs.ProxyProjectService.GetLocalProjectService*
name: GetLocalProjectService
href: api/Hi.MachiningProcs.ProxyProjectService.html#Hi_MachiningProcs_ProxyProjectService_GetLocalProjectService_
commentId: Overload:Hi.MachiningProcs.ProxyProjectService.GetLocalProjectService
isSpec: "True"
fullName: Hi.MachiningProcs.ProxyProjectService.GetLocalProjectService
nameWithType: ProxyProjectService.GetLocalProjectService
- uid: Hi.MachiningProcs.ProxyProjectService.GetMachiningProject - uid: Hi.MachiningProcs.ProxyProjectService.GetMachiningProject
name: GetMachiningProject() name: GetMachiningProject()
href: api/Hi.MachiningProcs.ProxyProjectService.html#Hi_MachiningProcs_ProxyProjectService_GetMachiningProject href: api/Hi.MachiningProcs.ProxyProjectService.html#Hi_MachiningProcs_ProxyProjectService_GetMachiningProject
@ -79217,25 +79256,6 @@ references:
commentId: T:Hi.MachiningProcs.RuntimeApi commentId: T:Hi.MachiningProcs.RuntimeApi
fullName: Hi.MachiningProcs.RuntimeApi fullName: Hi.MachiningProcs.RuntimeApi
nameWithType: RuntimeApi nameWithType: RuntimeApi
- uid: Hi.MachiningProcs.RuntimeApi.#ctor(Hi.MachiningProcs.IMachiningProjectGetter)
name: RuntimeApi(IMachiningProjectGetter)
href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi__ctor_Hi_MachiningProcs_IMachiningProjectGetter_
commentId: M:Hi.MachiningProcs.RuntimeApi.#ctor(Hi.MachiningProcs.IMachiningProjectGetter)
name.vb: New(IMachiningProjectGetter)
fullName: Hi.MachiningProcs.RuntimeApi.RuntimeApi(Hi.MachiningProcs.IMachiningProjectGetter)
fullName.vb: Hi.MachiningProcs.RuntimeApi.New(Hi.MachiningProcs.IMachiningProjectGetter)
nameWithType: RuntimeApi.RuntimeApi(IMachiningProjectGetter)
nameWithType.vb: RuntimeApi.New(IMachiningProjectGetter)
- uid: Hi.MachiningProcs.RuntimeApi.#ctor*
name: RuntimeApi
href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi__ctor_
commentId: Overload:Hi.MachiningProcs.RuntimeApi.#ctor
isSpec: "True"
name.vb: New
fullName: Hi.MachiningProcs.RuntimeApi.RuntimeApi
fullName.vb: Hi.MachiningProcs.RuntimeApi.New
nameWithType: RuntimeApi.RuntimeApi
nameWithType.vb: RuntimeApi.New
- uid: Hi.MachiningProcs.RuntimeApi.AddTimeDataByFile(System.String,System.String,System.Double,System.Double) - uid: Hi.MachiningProcs.RuntimeApi.AddTimeDataByFile(System.String,System.String,System.Double,System.Double)
name: AddTimeDataByFile(string, string, double, double) name: AddTimeDataByFile(string, string, double, double)
href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_AddTimeDataByFile_System_String_System_String_System_Double_System_Double_ href: api/Hi.MachiningProcs.RuntimeApi.html#Hi_MachiningProcs_RuntimeApi_AddTimeDataByFile_System_String_System_String_System_Double_System_Double_
@ -80605,15 +80625,6 @@ references:
commentId: T:Hi.MachiningProcs.RuntimeController commentId: T:Hi.MachiningProcs.RuntimeController
fullName: Hi.MachiningProcs.RuntimeController fullName: Hi.MachiningProcs.RuntimeController
nameWithType: RuntimeController nameWithType: RuntimeController
- uid: Hi.MachiningProcs.RuntimeController.#ctor(Hi.MachiningProcs.IMachiningProjectGetter)
name: RuntimeController(IMachiningProjectGetter)
href: api/Hi.MachiningProcs.RuntimeController.html#Hi_MachiningProcs_RuntimeController__ctor_Hi_MachiningProcs_IMachiningProjectGetter_
commentId: M:Hi.MachiningProcs.RuntimeController.#ctor(Hi.MachiningProcs.IMachiningProjectGetter)
name.vb: New(IMachiningProjectGetter)
fullName: Hi.MachiningProcs.RuntimeController.RuntimeController(Hi.MachiningProcs.IMachiningProjectGetter)
fullName.vb: Hi.MachiningProcs.RuntimeController.New(Hi.MachiningProcs.IMachiningProjectGetter)
nameWithType: RuntimeController.RuntimeController(IMachiningProjectGetter)
nameWithType.vb: RuntimeController.New(IMachiningProjectGetter)
- uid: Hi.MachiningProcs.RuntimeController.#ctor(Hi.MachiningProcs.IProjectService) - uid: Hi.MachiningProcs.RuntimeController.#ctor(Hi.MachiningProcs.IProjectService)
name: RuntimeController(IProjectService) name: RuntimeController(IProjectService)
href: api/Hi.MachiningProcs.RuntimeController.html#Hi_MachiningProcs_RuntimeController__ctor_Hi_MachiningProcs_IProjectService_ href: api/Hi.MachiningProcs.RuntimeController.html#Hi_MachiningProcs_RuntimeController__ctor_Hi_MachiningProcs_IProjectService_
@ -81117,18 +81128,6 @@ references:
isSpec: "True" isSpec: "True"
fullName: Hi.MachiningProcs.RuntimeController.MachiningSession fullName: Hi.MachiningProcs.RuntimeController.MachiningSession
nameWithType: RuntimeController.MachiningSession nameWithType: RuntimeController.MachiningSession
- uid: Hi.MachiningProcs.RuntimeController.MachiningStepBuilt
name: MachiningStepBuilt
href: api/Hi.MachiningProcs.RuntimeController.html#Hi_MachiningProcs_RuntimeController_MachiningStepBuilt
commentId: E:Hi.MachiningProcs.RuntimeController.MachiningStepBuilt
fullName: Hi.MachiningProcs.RuntimeController.MachiningStepBuilt
nameWithType: RuntimeController.MachiningStepBuilt
- uid: Hi.MachiningProcs.RuntimeController.MachiningStepSelected
name: MachiningStepSelected
href: api/Hi.MachiningProcs.RuntimeController.html#Hi_MachiningProcs_RuntimeController_MachiningStepSelected
commentId: E:Hi.MachiningProcs.RuntimeController.MachiningStepSelected
fullName: Hi.MachiningProcs.RuntimeController.MachiningStepSelected
nameWithType: RuntimeController.MachiningStepSelected
- uid: Hi.MachiningProcs.RuntimeController.Map(System.String,Hi.Mappings.FileTimeSection,System.Nullable{Hi.Mapping.StepTimeShotUtil.CycleSamplingMode}) - uid: Hi.MachiningProcs.RuntimeController.Map(System.String,Hi.Mappings.FileTimeSection,System.Nullable{Hi.Mapping.StepTimeShotUtil.CycleSamplingMode})
name: Map(string, FileTimeSection, CycleSamplingMode?) name: Map(string, FileTimeSection, CycleSamplingMode?)
href: api/Hi.MachiningProcs.RuntimeController.html#Hi_MachiningProcs_RuntimeController_Map_System_String_Hi_Mappings_FileTimeSection_System_Nullable_Hi_Mapping_StepTimeShotUtil_CycleSamplingMode__ href: api/Hi.MachiningProcs.RuntimeController.html#Hi_MachiningProcs_RuntimeController_Map_System_String_Hi_Mappings_FileTimeSection_System_Nullable_Hi_Mapping_StepTimeShotUtil_CycleSamplingMode__
@ -82692,6 +82691,19 @@ references:
commentId: T:Hi.MachiningSteps.IMachiningStepHost commentId: T:Hi.MachiningSteps.IMachiningStepHost
fullName: Hi.MachiningSteps.IMachiningStepHost fullName: Hi.MachiningSteps.IMachiningStepHost
nameWithType: IMachiningStepHost nameWithType: IMachiningStepHost
- uid: Hi.MachiningSteps.IMachiningStepHost.ClStrip
name: ClStrip
href: api/Hi.MachiningSteps.IMachiningStepHost.html#Hi_MachiningSteps_IMachiningStepHost_ClStrip
commentId: P:Hi.MachiningSteps.IMachiningStepHost.ClStrip
fullName: Hi.MachiningSteps.IMachiningStepHost.ClStrip
nameWithType: IMachiningStepHost.ClStrip
- uid: Hi.MachiningSteps.IMachiningStepHost.ClStrip*
name: ClStrip
href: api/Hi.MachiningSteps.IMachiningStepHost.html#Hi_MachiningSteps_IMachiningStepHost_ClStrip_
commentId: Overload:Hi.MachiningSteps.IMachiningStepHost.ClStrip
isSpec: "True"
fullName: Hi.MachiningSteps.IMachiningStepHost.ClStrip
nameWithType: IMachiningStepHost.ClStrip
- uid: Hi.MachiningSteps.IMachiningStepHost.DictionaryColorGuide - uid: Hi.MachiningSteps.IMachiningStepHost.DictionaryColorGuide
name: DictionaryColorGuide name: DictionaryColorGuide
href: api/Hi.MachiningSteps.IMachiningStepHost.html#Hi_MachiningSteps_IMachiningStepHost_DictionaryColorGuide href: api/Hi.MachiningSteps.IMachiningStepHost.html#Hi_MachiningSteps_IMachiningStepHost_DictionaryColorGuide

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.