This commit is contained in:
2025-10-01 15:57:54 +08:00
parent 627b6b2ad3
commit ef1af3544e
31 changed files with 105 additions and 146 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+67 -67
View File
@@ -11,8 +11,8 @@
"dependencies": {
"AvalonEdit": "6.3.0.90",
"FontAwesome.Sharp": "6.3.0",
"Hi.Wpf": "3.1.41",
"HiNc": "3.1.61",
"Hi.Wpf": "3.1.43",
"HiNc": "3.1.62",
"Microsoft.Extensions.Configuration.Json": "9.0.0",
"Microsoft.Extensions.DependencyInjection": "9.0.0",
"Microsoft.Extensions.Hosting": "9.0.0",
@@ -1659,39 +1659,39 @@
}
},
"Grpc.Tools/2.66.0": {},
"Hi.Wpf/3.1.41": {
"Hi.Wpf/3.1.43": {
"dependencies": {
"HiDisp": "3.1.46"
"HiDisp": "3.1.48"
},
"runtime": {
"lib/net9.0-windows7.0/Hi.Wpf.dll": {
"assemblyVersion": "3.1.41.0",
"fileVersion": "3.1.41.0"
"assemblyVersion": "3.1.43.0",
"fileVersion": "3.1.43.0"
}
}
},
"HiCbtr/3.1.46": {
"HiCbtr/3.1.48": {
"dependencies": {
"HiDisp": "3.1.46"
"HiDisp": "3.1.48"
},
"runtime": {
"lib/net9.0/HiCbtr.dll": {
"assemblyVersion": "3.1.46.0",
"fileVersion": "3.1.46.0"
"assemblyVersion": "3.1.48.0",
"fileVersion": "3.1.48.0"
}
}
},
"HiDisp/3.1.46": {
"HiDisp/3.1.48": {
"dependencies": {
"HiGeom": "3.1.42",
"HiGeom": "3.1.43",
"System.Configuration.ConfigurationManager": "9.0.9",
"System.Drawing.Common": "9.0.9",
"System.Resources.Extensions": "9.0.9"
},
"runtime": {
"lib/net9.0/HiDisp.dll": {
"assemblyVersion": "3.1.46.0",
"fileVersion": "3.1.46.0"
"assemblyVersion": "3.1.48.0",
"fileVersion": "3.1.48.0"
}
},
"native": {
@@ -1706,7 +1706,7 @@
}
}
},
"HiGeom/3.1.42": {
"HiGeom/3.1.43": {
"dependencies": {
"Google.Protobuf": "3.28.3",
"Grpc.AspNetCore": "2.66.0",
@@ -1717,8 +1717,8 @@
},
"runtime": {
"lib/net9.0/HiGeom.dll": {
"assemblyVersion": "3.1.42.0",
"fileVersion": "3.1.42.0"
"assemblyVersion": "3.1.43.0",
"fileVersion": "3.1.43.0"
}
},
"resources": {
@@ -1730,27 +1730,27 @@
}
}
},
"HiLicense/3.1.40": {
"HiLicense/3.1.43": {
"dependencies": {
"HiGeom": "3.1.42"
"HiGeom": "3.1.43"
},
"runtime": {
"lib/net9.0/HiLicense.dll": {
"assemblyVersion": "3.1.40.0",
"fileVersion": "3.1.40.0"
"assemblyVersion": "3.1.43.0",
"fileVersion": "3.1.43.0"
}
}
},
"HiMech/3.1.50": {
"HiMech/3.1.52": {
"dependencies": {
"CommandLineParser": "2.9.1",
"HiCbtr": "3.1.46",
"HiCbtr": "3.1.48",
"Microsoft.CodeAnalysis.CSharp.Scripting": "4.14.0"
},
"runtime": {
"lib/net9.0/HiMech.dll": {
"assemblyVersion": "3.1.50.0",
"fileVersion": "3.1.50.0"
"assemblyVersion": "3.1.52.0",
"fileVersion": "3.1.52.0"
}
},
"resources": {
@@ -1765,20 +1765,20 @@
}
}
},
"HiNc/3.1.61": {
"HiNc/3.1.62": {
"dependencies": {
"Google.Protobuf": "3.28.3",
"Grpc.AspNetCore": "2.66.0",
"Grpc.Net.Client": "2.66.0",
"HiLicense": "3.1.40",
"HiMech": "3.1.50",
"HiUniNc": "3.1.47",
"HiLicense": "3.1.43",
"HiMech": "3.1.52",
"HiUniNc": "3.1.49",
"System.IO.Pipelines": "9.0.9"
},
"runtime": {
"lib/net9.0/HiNc.dll": {
"assemblyVersion": "3.1.61.0",
"fileVersion": "3.1.61.0"
"assemblyVersion": "3.1.62.0",
"fileVersion": "3.1.62.0"
}
},
"resources": {
@@ -1790,14 +1790,14 @@
}
}
},
"HiUniNc/3.1.47": {
"HiUniNc/3.1.49": {
"dependencies": {
"HiMech": "3.1.50"
"HiMech": "3.1.52"
},
"runtime": {
"lib/net9.0/HiUniNc.dll": {
"assemblyVersion": "3.1.47.0",
"fileVersion": "3.1.47.0"
"assemblyVersion": "3.1.49.0",
"fileVersion": "3.1.49.0"
}
}
},
@@ -2442,61 +2442,61 @@
"path": "grpc.tools/2.66.0",
"hashPath": "grpc.tools.2.66.0.nupkg.sha512"
},
"Hi.Wpf/3.1.41": {
"Hi.Wpf/3.1.43": {
"type": "package",
"serviceable": true,
"sha512": "sha512-9CnJVMCZvJpvjQB7LR7RSq5iINMniHMyHI9OrBFbiQD5U6JN/kVW2FbFknUdaByGtDbILEOmqjuxrnu8XUAiWQ==",
"path": "hi.wpf/3.1.41",
"hashPath": "hi.wpf.3.1.41.nupkg.sha512"
"sha512": "sha512-WpVKGsD7JA5PAZnWJY0s7Ue8WP3sk9r7wxLzrLKr3dT16cswAobiEsRMvodhxoU/zX7SElsxzSyiXDt3RcQexQ==",
"path": "hi.wpf/3.1.43",
"hashPath": "hi.wpf.3.1.43.nupkg.sha512"
},
"HiCbtr/3.1.46": {
"HiCbtr/3.1.48": {
"type": "package",
"serviceable": true,
"sha512": "sha512-0FUD6LXuPMhUFnU2rc4lPRXd93sBn6hLE0TCkLhF4uiblXPVAQHV06xla9dZto6g0xSmXdj2ZrAclXjz2cE1WA==",
"path": "hicbtr/3.1.46",
"hashPath": "hicbtr.3.1.46.nupkg.sha512"
"sha512": "sha512-gCNOXY6+KSvnDfmrrA6WB4VT0kv8mTYWI0jEKIyZJ24L39wEiW69/4cTQFavsfivZxfIvxbhHYqkTo4Ow4fyig==",
"path": "hicbtr/3.1.48",
"hashPath": "hicbtr.3.1.48.nupkg.sha512"
},
"HiDisp/3.1.46": {
"HiDisp/3.1.48": {
"type": "package",
"serviceable": true,
"sha512": "sha512-M38E6Jt6j/qxKl0lHeIVXO7/K9OYnx9l93zrC8N5vLtkLC9W3srN4+sBuyUAST83D94j5OvFltgZBFQK29Dtzw==",
"path": "hidisp/3.1.46",
"hashPath": "hidisp.3.1.46.nupkg.sha512"
"sha512": "sha512-6Qkf0XewbU1VYjZOQeYocsVQmgaQ7otLEGMmY/Z6fJQsaQZ2nYxeWFjMsxoo/5F1qcESrRW6Jyqd0zlEB8SFLg==",
"path": "hidisp/3.1.48",
"hashPath": "hidisp.3.1.48.nupkg.sha512"
},
"HiGeom/3.1.42": {
"HiGeom/3.1.43": {
"type": "package",
"serviceable": true,
"sha512": "sha512-qUIxEZE3lYjaYRrItb2pO861ZDKL3TypaP3lUWoF9n50ly6rVuN6Mt2q4lzv0x5tcCnFg7/gw02p/Qb96b8oXg==",
"path": "higeom/3.1.42",
"hashPath": "higeom.3.1.42.nupkg.sha512"
"sha512": "sha512-3XGVAIeJBBhbNkTegk3nIjDNYGFLmdTlV5hS3gYjSGWm9UjaepwNmGbw9dFbEb8sPPWAFNYSSKhSLu1pzwhSSQ==",
"path": "higeom/3.1.43",
"hashPath": "higeom.3.1.43.nupkg.sha512"
},
"HiLicense/3.1.40": {
"HiLicense/3.1.43": {
"type": "package",
"serviceable": true,
"sha512": "sha512-1XwRW/Uw4FfbrK2/kBu7vMcaNhi5vXiH3k2fJ7/RAhszRPqOAi0HnnmZ2RW3n+nBCP3LvY8UHzn5zcBg+b6prQ==",
"path": "hilicense/3.1.40",
"hashPath": "hilicense.3.1.40.nupkg.sha512"
"sha512": "sha512-QxBgUtFNj9I0z6pW/l/N48v7dkefV1abvjQS9n+0DvpaCISgL+q80ckPvnLd71ToVVfg+AXfJhMqrELCLsBFPQ==",
"path": "hilicense/3.1.43",
"hashPath": "hilicense.3.1.43.nupkg.sha512"
},
"HiMech/3.1.50": {
"HiMech/3.1.52": {
"type": "package",
"serviceable": true,
"sha512": "sha512-G+g18azgWAsk+3Dov91dURt8AWCMoVBgPU00ipCzjyBbe1gcyPs0m2LlWSCxyTupyut9FvTjDPZ4Q34udU7PQA==",
"path": "himech/3.1.50",
"hashPath": "himech.3.1.50.nupkg.sha512"
"sha512": "sha512-e6OICZ1O97iyI5u8RCJ4ZO2HRbFMAdk85XuXJ7g+LrE8kwSbsy/qeC1PeZdNDg1yi9L2Mkild5dVmWpZ5IWePA==",
"path": "himech/3.1.52",
"hashPath": "himech.3.1.52.nupkg.sha512"
},
"HiNc/3.1.61": {
"HiNc/3.1.62": {
"type": "package",
"serviceable": true,
"sha512": "sha512-lLvVUVF361VviEKOV+DbfOnWS9Vc/l8JobDtA+G8fiu6i+EtPLqB5M60n1bw9CPQio6BW7if06Dcro0GUF6m9A==",
"path": "hinc/3.1.61",
"hashPath": "hinc.3.1.61.nupkg.sha512"
"sha512": "sha512-o9DFt0C++lHUmZctdvauPujHUww5Gv6Bq7YTCojpDFK+aJ050P687f9hAkcZ3N01inTtCu5x7cVfMQKNoNQ+LQ==",
"path": "hinc/3.1.62",
"hashPath": "hinc.3.1.62.nupkg.sha512"
},
"HiUniNc/3.1.47": {
"HiUniNc/3.1.49": {
"type": "package",
"serviceable": true,
"sha512": "sha512-9FO8uCrIzDZTLmphqTcXJZgWA3HwITiPSuZ8H7WdI/8ltHiE4/kcf7BfIZHEHxUL/E68HzWDBw8ztk5qqV6qYw==",
"path": "hiuninc/3.1.47",
"hashPath": "hiuninc.3.1.47.nupkg.sha512"
"sha512": "sha512-uvnVTHCC2r7WSHuL50wrI081VZv0eyv4+Kumtmbp1d3ephZWX2/o95LoMjQA4cK3X3wrRz/eAuL66bYEVBp6cQ==",
"path": "hiuninc/3.1.49",
"hashPath": "hiuninc.3.1.49.nupkg.sha512"
},
"MathNet.Numerics/5.0.0": {
"type": "package",
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -560,38 +560,6 @@ Uses the default MongoDB connection.</p>
<a id="Hi_MachiningProcs_MachiningProject_DispCacheMb_" data-uid="Hi.MachiningProcs.MachiningProject.DispCacheMb*"></a>
<h3 id="Hi_MachiningProcs_MachiningProject_DispCacheMb" data-uid="Hi.MachiningProcs.MachiningProject.DispCacheMb">
DispCacheMb
</h3>
<div class="markdown level1 summary"><p>Gets or sets the display cache size in megabytes.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static long DispCacheMb { 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.int64">long</a></dt>
<dd></dd>
</dl>
<a id="Hi_MachiningProcs_MachiningProject_EnableCollisionDetection_" data-uid="Hi.MachiningProcs.MachiningProject.EnableCollisionDetection*"></a>
<h3 id="Hi_MachiningProcs_MachiningProject_EnableCollisionDetection" data-uid="Hi.MachiningProcs.MachiningProject.EnableCollisionDetection">
@@ -117,10 +117,10 @@
<ul>
<li>Geom/Box3dControl</li>
</ul>
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
<h3 id="web-service-application-source-code-path">Web Service Application Source Code Path</h3>
<ul>
<li>wwwroot/geom/box3d-control.js</li>
<li>Controller/Geom/GeomController.cs</li>
<li>Geom/Box3dHub.cs</li>
</ul>
</article>
@@ -108,10 +108,10 @@
<ul>
<li>Geom/CylindroidControl</li>
</ul>
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
<h3 id="web-service-application-source-code-path">Web Service Application Source Code Path</h3>
<ul>
<li>wwwroot/geom/cylindroid-control.js</li>
<li>Controller/Geom/GeomController.cs</li>
<li>Geom/CylindroidHub.cs</li>
</ul>
</article>
@@ -102,10 +102,10 @@
<ul>
<li>Geom/ExtendedCylinderControl</li>
</ul>
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
<h3 id="web-service-application-source-code-path">Web Service Application Source Code Path</h3>
<ul>
<li>wwwroot/geom/extended-cylinder-panel.js</li>
<li>Controller/Geom/GeomController.cs</li>
<li>Geom/ExtendedCylinderHub.cs</li>
</ul>
</article>
@@ -122,10 +122,10 @@
<ul>
<li>Geom/GeomCombinationControl</li>
</ul>
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
<h3 id="web-service-application-source-code-path">Web Service Application Source Code Path</h3>
<ul>
<li>wwwroot/geom/geom-combination-control.js</li>
<li>Controller/Geom/GeomController.cs</li>
<li>Geom/GeomCombinationHub.cs (to be created)</li>
</ul>
</article>
@@ -128,10 +128,11 @@
<ul>
<li>Geom/GeometryManagementPanel</li>
</ul>
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
<h3 id="web-service-application-source-code-path">Web Service Application Source Code Path</h3>
<ul>
<li>wwwroot/geom/geom-manage-control.js</li>
<li>Controller/Geom/GeomController.cs</li>
<li>wwwroot/geom/geometry-management-panel.js</li>
<li>Geom/GeomHub.cs</li>
<li>Geom/GeometryController.cs</li>
</ul>
</article>
@@ -106,10 +106,11 @@
<ul>
<li>Geom/RuntimeGeomPanel</li>
</ul>
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
<h3 id="web-service-application-source-code-path">Web Service Application Source Code Path</h3>
<ul>
<li>wwwroot/geom/runtime-geom-panel.js</li>
<li>Controller/Geom/GeomController.cs</li>
<li>Geom/RuntimeGeomHub.cs (to be created)</li>
<li>Geom/GeometryController.cs</li>
</ul>
</article>
@@ -107,10 +107,10 @@
<ul>
<li>Geom/StlFileControl</li>
</ul>
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
<h3 id="web-service-application-source-code-path">Web Service Application Source Code Path</h3>
<ul>
<li>wwwroot/geom/stlfile-control.js</li>
<li>Controller/Geom/GeomController.cs</li>
<li>Geom/StlFileHub.cs</li>
</ul>
</article>
@@ -123,10 +123,10 @@
<ul>
<li>Geom/TransformationGeomControl</li>
</ul>
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
<h3 id="web-service-application-source-code-path">Web Service Application Source Code Path</h3>
<ul>
<li>wwwroot/geom/transformation-geom-control.js</li>
<li>Controller/Geom/GeomController.cs</li>
<li>Geom/TransformationGeomHub.cs (to be created)</li>
</ul>
</article>
@@ -120,10 +120,9 @@
<ul>
<li>Geom/PolarResolution2dPanel</li>
</ul>
<h3 id="web-page-application-source-code-path">Web Page Application Source Code Path</h3>
<h3 id="web-service-application-source-code-path">Web Service Application Source Code Path</h3>
<ul>
<li>wwwroot/widget/polar-resolution-2d-panel.js</li>
<li>Controller/Widget/WidgetController.cs</li>
</ul>
</article>
@@ -152,11 +152,12 @@ execute NC files, and properly manage project resources using
<h2 id="Sample_Machining_DemoUseMachiningProject_remarks">Remarks</h2>
<div class="markdown level0 remarks"><h3 id="source-code">Source Code</h3>
<pre><code class="lang-csharp" name="SampleCode">using System;
<pre><code class="lang-csharp" name="SampleCode">using Hi.Common.FileLines;
using Hi.Common.Messages;
using Hi.MachiningProcs;
using Hi.Common.FileLines;
using Hi.HiNcKits;
using Hi.MachiningProcs;
using System;
using System.IO;
namespace Sample.Machining
{
@@ -184,6 +185,8 @@ namespace Sample.Machining
#region EventHandling
Console.WriteLine($&quot;Set message event.&quot;);
using StreamWriter writer = new StreamWriter(&quot;msg.txt&quot;);
//show message if something abnormal.
machiningProject.SessionMessageHost.CollectionItemAdded += pack =&gt;
{
@@ -192,7 +195,7 @@ namespace Sample.Machining
pack.Tags.Contains(MessageFlag.Exception.ToString()))
{
var sourceCommand = pack.SourceCommand;
Console.WriteLine($&quot;{pack.Message} At \&quot;{sourceCommand?.FilePath}\&quot; (Line {sourceCommand?.GetLineNo()}) \&quot;{sourceCommand?.Line}\&quot;&quot;);
writer.WriteLine($&quot;{pack.Message} At \&quot;{sourceCommand?.FilePath}\&quot; (Line {sourceCommand?.GetLineNo()}) \&quot;{sourceCommand?.Line}\&quot;&quot;);
}
};
Console.WriteLine($&quot;Set machining step event.&quot;);
File diff suppressed because one or more lines are too long
-13
View File
@@ -77751,19 +77751,6 @@ references:
isSpec: "True"
fullName: Hi.MachiningProcs.MachiningProject.DictionaryColorGuide
nameWithType: MachiningProject.DictionaryColorGuide
- uid: Hi.MachiningProcs.MachiningProject.DispCacheMb
name: DispCacheMb
href: api/Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_DispCacheMb
commentId: P:Hi.MachiningProcs.MachiningProject.DispCacheMb
fullName: Hi.MachiningProcs.MachiningProject.DispCacheMb
nameWithType: MachiningProject.DispCacheMb
- uid: Hi.MachiningProcs.MachiningProject.DispCacheMb*
name: DispCacheMb
href: api/Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_DispCacheMb_
commentId: Overload:Hi.MachiningProcs.MachiningProject.DispCacheMb
isSpec: "True"
fullName: Hi.MachiningProcs.MachiningProject.DispCacheMb
nameWithType: MachiningProject.DispCacheMb
- uid: Hi.MachiningProcs.MachiningProject.Dispose
name: Dispose()
href: api/Hi.MachiningProcs.MachiningProject.html#Hi_MachiningProcs_MachiningProject_Dispose
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.