diff --git a/App/Hi.Wpf.dll b/App/Hi.Wpf.dll
index 9623de2..66b03b0 100644
Binary files a/App/Hi.Wpf.dll and b/App/Hi.Wpf.dll differ
diff --git a/App/HiCbtr.dll b/App/HiCbtr.dll
index d34c346..fdd4d56 100644
Binary files a/App/HiCbtr.dll and b/App/HiCbtr.dll differ
diff --git a/App/HiDisp.dll b/App/HiDisp.dll
index 409e1ab..1d19cd8 100644
Binary files a/App/HiDisp.dll and b/App/HiDisp.dll differ
diff --git a/App/HiGeom.dll b/App/HiGeom.dll
index f9964ac..e6d686b 100644
Binary files a/App/HiGeom.dll and b/App/HiGeom.dll differ
diff --git a/App/HiLicense.dll b/App/HiLicense.dll
index 046e7d5..e9e46a3 100644
Binary files a/App/HiLicense.dll and b/App/HiLicense.dll differ
diff --git a/App/HiMech.dll b/App/HiMech.dll
index 091d1d3..9967c6a 100644
Binary files a/App/HiMech.dll and b/App/HiMech.dll differ
diff --git a/App/HiNC-2025-win-desktop.deps.json b/App/HiNC-2025-win-desktop.deps.json
index 3265b22..a8838a7 100644
--- a/App/HiNC-2025-win-desktop.deps.json
+++ b/App/HiNC-2025-win-desktop.deps.json
@@ -11,8 +11,8 @@
"dependencies": {
"AvalonEdit": "6.3.0.90",
"FontAwesome.Sharp": "6.3.0",
- "Hi.Wpf": "3.1.34",
- "HiNc": "3.1.51",
+ "Hi.Wpf": "3.1.35",
+ "HiNc": "3.1.52",
"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.34": {
+ "Hi.Wpf/3.1.35": {
"dependencies": {
- "HiDisp": "3.1.39"
+ "HiDisp": "3.1.40"
},
"runtime": {
"lib/net9.0-windows7.0/Hi.Wpf.dll": {
- "assemblyVersion": "3.1.34.0",
- "fileVersion": "3.1.34.0"
+ "assemblyVersion": "3.1.35.0",
+ "fileVersion": "3.1.35.0"
}
}
},
- "HiCbtr/3.1.39": {
+ "HiCbtr/3.1.40": {
"dependencies": {
- "HiDisp": "3.1.39"
+ "HiDisp": "3.1.40"
},
"runtime": {
"lib/net9.0/HiCbtr.dll": {
- "assemblyVersion": "3.1.39.0",
- "fileVersion": "3.1.39.0"
+ "assemblyVersion": "3.1.40.0",
+ "fileVersion": "3.1.40.0"
}
}
},
- "HiDisp/3.1.39": {
+ "HiDisp/3.1.40": {
"dependencies": {
- "HiGeom": "3.1.35",
+ "HiGeom": "3.1.36",
"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.39.0",
- "fileVersion": "3.1.39.0"
+ "assemblyVersion": "3.1.40.0",
+ "fileVersion": "3.1.40.0"
}
},
"native": {
@@ -1706,7 +1706,7 @@
}
}
},
- "HiGeom/3.1.35": {
+ "HiGeom/3.1.36": {
"dependencies": {
"Google.Protobuf": "3.28.3",
"Grpc.AspNetCore": "2.66.0",
@@ -1717,8 +1717,8 @@
},
"runtime": {
"lib/net9.0/HiGeom.dll": {
- "assemblyVersion": "3.1.35.0",
- "fileVersion": "3.1.35.0"
+ "assemblyVersion": "3.1.36.0",
+ "fileVersion": "3.1.36.0"
}
},
"resources": {
@@ -1730,27 +1730,27 @@
}
}
},
- "HiLicense/3.1.33": {
+ "HiLicense/3.1.34": {
"dependencies": {
- "HiGeom": "3.1.35"
+ "HiGeom": "3.1.36"
},
"runtime": {
"lib/net9.0/HiLicense.dll": {
- "assemblyVersion": "3.1.33.0",
- "fileVersion": "3.1.33.0"
+ "assemblyVersion": "3.1.34.0",
+ "fileVersion": "3.1.34.0"
}
}
},
- "HiMech/3.1.43": {
+ "HiMech/3.1.44": {
"dependencies": {
"CommandLineParser": "2.9.1",
- "HiCbtr": "3.1.39",
+ "HiCbtr": "3.1.40",
"Microsoft.CodeAnalysis.CSharp.Scripting": "4.14.0"
},
"runtime": {
"lib/net9.0/HiMech.dll": {
- "assemblyVersion": "3.1.43.0",
- "fileVersion": "3.1.43.0"
+ "assemblyVersion": "3.1.44.0",
+ "fileVersion": "3.1.44.0"
}
},
"resources": {
@@ -1765,20 +1765,20 @@
}
}
},
- "HiNc/3.1.51": {
+ "HiNc/3.1.52": {
"dependencies": {
"Google.Protobuf": "3.28.3",
"Grpc.AspNetCore": "2.66.0",
"Grpc.Net.Client": "2.66.0",
- "HiLicense": "3.1.33",
- "HiMech": "3.1.43",
- "HiUniNc": "3.1.40",
+ "HiLicense": "3.1.34",
+ "HiMech": "3.1.44",
+ "HiUniNc": "3.1.41",
"System.IO.Pipelines": "9.0.9"
},
"runtime": {
"lib/net9.0/HiNc.dll": {
- "assemblyVersion": "3.1.51.0",
- "fileVersion": "3.1.51.0"
+ "assemblyVersion": "3.1.52.0",
+ "fileVersion": "3.1.52.0"
}
},
"resources": {
@@ -1790,14 +1790,14 @@
}
}
},
- "HiUniNc/3.1.40": {
+ "HiUniNc/3.1.41": {
"dependencies": {
- "HiMech": "3.1.43"
+ "HiMech": "3.1.44"
},
"runtime": {
"lib/net9.0/HiUniNc.dll": {
- "assemblyVersion": "3.1.40.0",
- "fileVersion": "3.1.40.0"
+ "assemblyVersion": "3.1.41.0",
+ "fileVersion": "3.1.41.0"
}
}
},
@@ -2442,61 +2442,61 @@
"path": "grpc.tools/2.66.0",
"hashPath": "grpc.tools.2.66.0.nupkg.sha512"
},
- "Hi.Wpf/3.1.34": {
+ "Hi.Wpf/3.1.35": {
"type": "package",
"serviceable": true,
- "sha512": "sha512-xYj7sQoFAWJOlnu8jMNMo33Fu0PL/wIyUD8WOZWRv65k3uhfKId+fvlod/bblp6sEJGbPpjvoTYqjSICIWCf2Q==",
- "path": "hi.wpf/3.1.34",
- "hashPath": "hi.wpf.3.1.34.nupkg.sha512"
+ "sha512": "sha512-rIIVxy2l5QTy2WwrQ2D0e4Hz4O1WeCOJbSjDpfpLjhjTPCnFz+C77pSay//OHNiYOJXW7nczRQ3cksU4subadg==",
+ "path": "hi.wpf/3.1.35",
+ "hashPath": "hi.wpf.3.1.35.nupkg.sha512"
},
- "HiCbtr/3.1.39": {
+ "HiCbtr/3.1.40": {
"type": "package",
"serviceable": true,
- "sha512": "sha512-4UFiWpjbDLzE+6ph9rZ5u9ntvxRmbkwxlqBHDbdbDggLpdTizvsCqsehWcw1l9/U/DS7T8r5zHoBbkgLbAXX1g==",
- "path": "hicbtr/3.1.39",
- "hashPath": "hicbtr.3.1.39.nupkg.sha512"
+ "sha512": "sha512-+DgpnExTGyfhPEEWGfszmX1zuS6xEbam5mcTr4EXvjMThbwJq11AGIkxb3zWLARkZgX6hvLIC/3ugS0Hd8oHdA==",
+ "path": "hicbtr/3.1.40",
+ "hashPath": "hicbtr.3.1.40.nupkg.sha512"
},
- "HiDisp/3.1.39": {
+ "HiDisp/3.1.40": {
"type": "package",
"serviceable": true,
- "sha512": "sha512-z9p0msRH8f3OfV/vK4vRhtfPafCDRXhXgiqQwEbskZRg+hjIiXU4xqwTy5M8LwSHk9ht1d6J9HdTwtUjjR3Z+A==",
- "path": "hidisp/3.1.39",
- "hashPath": "hidisp.3.1.39.nupkg.sha512"
+ "sha512": "sha512-Apg9uBX4QG5Rm+3gzrCq0W4koQ5kalKyXSF9XcrndOcd4yyWD4NHHbcHYoFNpqtfri6c5qwPoGgqpHCvHZri6A==",
+ "path": "hidisp/3.1.40",
+ "hashPath": "hidisp.3.1.40.nupkg.sha512"
},
- "HiGeom/3.1.35": {
+ "HiGeom/3.1.36": {
"type": "package",
"serviceable": true,
- "sha512": "sha512-aBkdVedhLK5CkilKPdNIIch44/1+kR8w7LaG8JU4iJc9fAV4yHxd5KriAekzmWe+3ujmkmM8kUCKC0Y71ij+fw==",
- "path": "higeom/3.1.35",
- "hashPath": "higeom.3.1.35.nupkg.sha512"
+ "sha512": "sha512-HJpmSjmBM9KjaJHZZuIQL0SfmTVNZ4SuGtWS+GQN5nhB9fuWTpdJL3ZzyJ00JS7rSKM/5wX83NSVaM6usNgpLg==",
+ "path": "higeom/3.1.36",
+ "hashPath": "higeom.3.1.36.nupkg.sha512"
},
- "HiLicense/3.1.33": {
+ "HiLicense/3.1.34": {
"type": "package",
"serviceable": true,
- "sha512": "sha512-S0XY8RhQOKQkX3Abfr8jkcjqoLguiFXzwA3QTY+HgYtkWLzC/IaxHzTrlLT1HijrCzHyb3qcR+SNEwRqH8mBTQ==",
- "path": "hilicense/3.1.33",
- "hashPath": "hilicense.3.1.33.nupkg.sha512"
+ "sha512": "sha512-h4eGvv+4lS71gB1Df3GqB8PFykLwrR5NsvoWQRUK6mLeIHZ8vlnNeYBx/pF/x0poVzz1x7NHb8W9YbPjKyNXww==",
+ "path": "hilicense/3.1.34",
+ "hashPath": "hilicense.3.1.34.nupkg.sha512"
},
- "HiMech/3.1.43": {
+ "HiMech/3.1.44": {
"type": "package",
"serviceable": true,
- "sha512": "sha512-vQBXD4UkoPoduUnz4D9v+gEb4FuZZ9W5kgKE3+WeF8q7FHDLYue67x7EX9tm5t767Z8yH9sX6ESd3ve9tX8GIA==",
- "path": "himech/3.1.43",
- "hashPath": "himech.3.1.43.nupkg.sha512"
+ "sha512": "sha512-5GnZit75i0SUCQvl59z9Rjrno4xLRBGrNc3Hjfp5CjB8tAcZTTVh7wGR7rH97D04hFOK2IvjgDyphdHxzXSxaQ==",
+ "path": "himech/3.1.44",
+ "hashPath": "himech.3.1.44.nupkg.sha512"
},
- "HiNc/3.1.51": {
+ "HiNc/3.1.52": {
"type": "package",
"serviceable": true,
- "sha512": "sha512-G9jo2iHczdwCIPydYHt2NGQCBF+0i1DaX8Gcsrmx3AaijlhbP7+SkzMmOTgSDqHmmoxuDaYY18NOE8TVXQ7dIw==",
- "path": "hinc/3.1.51",
- "hashPath": "hinc.3.1.51.nupkg.sha512"
+ "sha512": "sha512-YTpLUteJb1+0lQ67awGUVGTP552Dw4uOJdLIOsqThlrfF0Wwh352+z4WNTeX5qqTiIMCFE9croY5NfDZGiiAow==",
+ "path": "hinc/3.1.52",
+ "hashPath": "hinc.3.1.52.nupkg.sha512"
},
- "HiUniNc/3.1.40": {
+ "HiUniNc/3.1.41": {
"type": "package",
"serviceable": true,
- "sha512": "sha512-o7xlqbvWdfgjiZKcyZcE+AMBCSxOQA80T5ws/U2dw5kOZ4tjkEYEwSsFF655fA+LTykVm+z70lpBUgXARvPYIA==",
- "path": "hiuninc/3.1.40",
- "hashPath": "hiuninc.3.1.40.nupkg.sha512"
+ "sha512": "sha512-GRmkhPqz1nSkMOoadN8agzKG6nY3U8u84AxiU4ZmPp1hx06pkyS7jf+RX+q4y1ANbFJ8eo+iywfLFtg1DbaT8Q==",
+ "path": "hiuninc/3.1.41",
+ "hashPath": "hiuninc.3.1.41.nupkg.sha512"
},
"MathNet.Numerics/5.0.0": {
"type": "package",
diff --git a/App/HiNC-2025-win-desktop.dll b/App/HiNC-2025-win-desktop.dll
index f0d83ff..6490ef8 100644
Binary files a/App/HiNC-2025-win-desktop.dll and b/App/HiNC-2025-win-desktop.dll differ
diff --git a/App/HiNC-2025-win-desktop.pdb b/App/HiNC-2025-win-desktop.pdb
index 2ee3f77..456dff0 100644
Binary files a/App/HiNC-2025-win-desktop.pdb and b/App/HiNC-2025-win-desktop.pdb differ
diff --git a/App/HiNc.dll b/App/HiNc.dll
index e500685..759c5da 100644
Binary files a/App/HiNc.dll and b/App/HiNc.dll differ
diff --git a/App/HiUniNc.dll b/App/HiUniNc.dll
index 5930105..9c9bde6 100644
Binary files a/App/HiUniNc.dll and b/App/HiUniNc.dll differ
diff --git a/App/en/HiGeom.resources.dll b/App/en/HiGeom.resources.dll
index 8cf4363..69f4fa7 100644
Binary files a/App/en/HiGeom.resources.dll and b/App/en/HiGeom.resources.dll differ
diff --git a/App/en/HiMech.resources.dll b/App/en/HiMech.resources.dll
index 3a85ac9..58f0bf9 100644
Binary files a/App/en/HiMech.resources.dll and b/App/en/HiMech.resources.dll differ
diff --git a/App/wwwroot/HiAPI-docsite/brief/dev-doc/build-hinc/index.html b/App/wwwroot/HiAPI-docsite/brief/dev-doc/build-hinc/index.html
index 41e7636..a9bc29b 100644
--- a/App/wwwroot/HiAPI-docsite/brief/dev-doc/build-hinc/index.html
+++ b/App/wwwroot/HiAPI-docsite/brief/dev-doc/build-hinc/index.html
@@ -91,13 +91,14 @@
HiNC-2025-webapi apply vue.
diff --git a/App/wwwroot/HiAPI-docsite/brief/dev-doc/hinc-web-service/disp-web-service.html b/App/wwwroot/HiAPI-docsite/brief/dev-doc/hinc-web-service/disp-web-service.html
new file mode 100644
index 0000000..4a23699
--- /dev/null
+++ b/App/wwwroot/HiAPI-docsite/brief/dev-doc/hinc-web-service/disp-web-service.html
@@ -0,0 +1,165 @@
+
+
+
+
+
Rendering Canvas on Web Service Application | HiAPI-C# 2025
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Rendering Canvas on Web Service Application
+
+Overview
+In the HiNC-2025-webapi example project, the 3D canvas rendering is handled through a WebSocket-based architecture using SignalR Hub connections.
+Core Component
+The primary component for 3D canvas rendering:
+
+Location : wwwroot/disp/rendering-canvas.js
+Purpose : Manages all 3D canvas rendering operations
+
+Connection Management
+SignalR Hub Connection
+
+Components using WebSocket (corresponding to SignalR Hub) receive a unique Hub connectionId
+The rendering-canvas
component maintains a primary connectionId
+This ID serves as the index for all canvas data stream operations
+
+Connection ID Naming Convention
+In other components, the connection ID may be referenced with different naming patterns:
+
+renderingConnectionId
+rendering-connectionId
+Similar variations
+
+Naming Convention Examples
+Different components may reference the connection ID with various naming patterns:
+
+player-panel
component: uses renderingConnectionId
(wwwroot/player/player-panel.js
)
+Other components may use similar variations like rendering-connectionId
+
+Data Flow Architecture
+Frontend Responsibilities
+
+The rendering-canvas
component handles data stream transmission via WebSocket
+Manages real-time rendering updates through the connection ID
+
+Backend Integration
+Multiple backend controllers can specify content to be rendered on the rendering-canvas
. The architecture is designed to be flexible and reusable across different features.
+Example: Player Controller
+One example of backend integration:
+
+File : Players/PlayerController.cs
+Method : InitializePlayer
+Purpose : Initializes player-specific rendering content
+
+This is just one example - any controller in the application can interact with the rendering canvas using the same connection ID mechanism to display different types of 3D content
+Key Points
+
+All canvas data stream operations are indexed by the connection ID
+The WebSocket connection enables real-time rendering updates
+The architecture separates rendering logic (frontend) from content specification (backend)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App/wwwroot/HiAPI-docsite/brief/dev-doc/toc.html b/App/wwwroot/HiAPI-docsite/brief/dev-doc/toc.html
index 325215e..3186c29 100644
--- a/App/wwwroot/HiAPI-docsite/brief/dev-doc/toc.html
+++ b/App/wwwroot/HiAPI-docsite/brief/dev-doc/toc.html
@@ -39,6 +39,16 @@
+
+
+ Web Service Architecture
+
+
+
Initialize HiAPI
diff --git a/App/wwwroot/HiAPI-docsite/brief/dev-doc/toc.json b/App/wwwroot/HiAPI-docsite/brief/dev-doc/toc.json
index 6f87c37..04d1d84 100644
--- a/App/wwwroot/HiAPI-docsite/brief/dev-doc/toc.json
+++ b/App/wwwroot/HiAPI-docsite/brief/dev-doc/toc.json
@@ -1,2 +1,2 @@
-{"items":[{"name":"Overview","href":"index.html","topicHref":"index.html"},{"name":"System Requirements","href":"system-requirements.html","topicHref":"system-requirements.html"},{"name":"Getting Started","href":"getting-started/index.html","topicHref":"getting-started/index.html"},{"name":"Sketch to Build HiNC GUI","href":"build-hinc/index.html","topicHref":"build-hinc/index.html","items":[{"name":"General Rules","href":"build-hinc/general-rules.html","topicHref":"build-hinc/general-rules.html"},{"name":"Common Patterns","items":[{"name":"DictionaryService and DictionaryHub Pattern","href":"build-hinc/common/dictionary-service-pattern.html","topicHref":"build-hinc/common/dictionary-service-pattern.html"}]},{"name":"Initialize HiAPI","href":"build-hinc/initialize-hiapi.html","topicHref":"build-hinc/initialize-hiapi.html"},{"name":"Main Panel","href":"build-hinc/main-panel.html","topicHref":"build-hinc/main-panel.html"},{"name":"Bottom Message Bar","href":"build-hinc/message-section-on-main-panel.html","topicHref":"build-hinc/message-section-on-main-panel.html"},{"name":"RenderingCanvas Tool Bar","href":"build-hinc/renderingcanvas-tool-bar.html","topicHref":"build-hinc/renderingcanvas-tool-bar.html"},{"name":"Player Panel","href":"build-hinc/player/index.html","topicHref":"build-hinc/player/index.html","items":[{"name":"Player Tool Bar","href":"build-hinc/player/player-tool-bar.html","topicHref":"build-hinc/player/player-tool-bar.html"},{"name":"Player Extended RenderingCanvas Tool Bar","href":"build-hinc/player/player-extended-renderingcanvas-tool-bar.html","topicHref":"build-hinc/player/player-extended-renderingcanvas-tool-bar.html"},{"name":"Selected-Step Info Panel","href":"build-hinc/player/selected-step-info-panel.html","topicHref":"build-hinc/player/selected-step-info-panel.html"}]},{"name":"Session Message Panel","href":"build-hinc/session-message-panel/index.html","topicHref":"build-hinc/session-message-panel/index.html"},{"name":"Preference","items":[{"name":"Preference Menu","href":"build-hinc/preference/index.html","topicHref":"build-hinc/preference/index.html"},{"name":"Graphic-Cache Dropdown","href":"build-hinc/preference/graphic-cache-dropdown.html","topicHref":"build-hinc/preference/graphic-cache-dropdown.html"},{"name":"Language Selection","href":"build-hinc/preference/language-selection-submenu.html","topicHref":"build-hinc/preference/language-selection-submenu.html"},{"name":"Step Present Preference","href":"build-hinc/preference/step-present-preference-page.html","topicHref":"build-hinc/preference/step-present-preference-page.html"}]},{"name":"Widget","items":[{"name":"Vec3d Control","href":"build-hinc/widget/vec3d/index.html","topicHref":"build-hinc/widget/vec3d/index.html"},{"name":"Object Management Menu Button","href":"build-hinc/widget/object-management-menu-button.html","topicHref":"build-hinc/widget/object-management-menu-button.html"},{"name":"GUI File Path Assignment","href":"build-hinc/widget/gui-file-path-assignment.html","topicHref":"build-hinc/widget/gui-file-path-assignment.html"},{"name":"Polar Resolution 2D Panel","href":"build-hinc/widget/polar-resolution-2d-panel.html","topicHref":"build-hinc/widget/polar-resolution-2d-panel.html"},{"name":"Numeric Input/Output Utilities","href":"build-hinc/widget/numeric-io-utilities.html","topicHref":"build-hinc/widget/numeric-io-utilities.html"},{"name":"Resizable Bar","href":"build-hinc/widget/resizable-bar.html","topicHref":"build-hinc/widget/resizable-bar.html"}]},{"name":"Geometry Panels","href":"build-hinc/geom/index.html","topicHref":"build-hinc/geom/index.html","items":[{"name":"Box3d Control","href":"build-hinc/geom/box3d-control.html","topicHref":"build-hinc/geom/box3d-control.html"},{"name":"Cylindroid Control","href":"build-hinc/geom/cylindroid-control.html","topicHref":"build-hinc/geom/cylindroid-control.html"},{"name":"Geometry Combination Control","href":"build-hinc/geom/geom-combination-control.html","topicHref":"build-hinc/geom/geom-combination-control.html"},{"name":"Geometry Management Panel","href":"build-hinc/geom/geom-manage-control.html","topicHref":"build-hinc/geom/geom-manage-control.html"},{"name":"Runtime Geometry Panel","href":"build-hinc/geom/runtime-geom-panel.html","topicHref":"build-hinc/geom/runtime-geom-panel.html"},{"name":"STL File Control","href":"build-hinc/geom/stlfile-control.html","topicHref":"build-hinc/geom/stlfile-control.html"},{"name":"Transformation Geometry Control","href":"build-hinc/geom/transformation-geom-control.html","topicHref":"build-hinc/geom/transformation-geom-control.html"}]},{"name":"Mechanism","items":[{"name":"Transformers","href":"build-hinc/mech/topo/transformers.html","topicHref":"build-hinc/mech/topo/transformers.html"},{"name":"Fixture Page","href":"build-hinc/mech/fixture-page.html","topicHref":"build-hinc/mech/fixture-page.html"},{"name":"Workpiece Page","href":"build-hinc/mech/workpiece-page.html","topicHref":"build-hinc/mech/workpiece-page.html"}]},{"name":"Controller Page","href":"build-hinc/controller/index.html","topicHref":"build-hinc/controller/index.html"},{"name":"Mission Page","href":"build-hinc/mission/index.html","topicHref":"build-hinc/mission/index.html","items":[{"name":"Script Command Panel","href":"build-hinc/mission/script-command-panel.html","topicHref":"build-hinc/mission/script-command-panel.html"},{"name":"List Command Panel","href":"build-hinc/mission/ListCommand-panel.html","topicHref":"build-hinc/mission/ListCommand-panel.html"},{"name":"PreSetting Command Panel","href":"build-hinc/mission/PreSettingCommand-panel.html","topicHref":"build-hinc/mission/PreSettingCommand-panel.html"},{"name":"NcOptOption Panel","href":"build-hinc/mission/NcOptOption-panel.html","topicHref":"build-hinc/mission/NcOptOption-panel.html"},{"name":"NcFile Command Panel","href":"build-hinc/mission/NcFileCommand-panel.html","topicHref":"build-hinc/mission/NcFileCommand-panel.html"},{"name":"NcCode Command Panel","href":"build-hinc/mission/NcCodeCommand-panel.html","topicHref":"build-hinc/mission/NcCodeCommand-panel.html"},{"name":"PostExecution Command Panel","href":"build-hinc/mission/PostExecutionCommand-panel.html","topicHref":"build-hinc/mission/PostExecutionCommand-panel.html"}]}]},{"name":"Logic","items":[{"name":"Basic Geometry","href":"basic/geom/basic-geometry.html","topicHref":"basic/geom/basic-geometry.html"},{"name":"Rendering","href":"basic/rendering/index.html","topicHref":"basic/rendering/index.html","items":[{"name":"Using RenderingCanvas with DispEngine","href":"basic/rendering/rendering-canvas/index.html","topicHref":"basic/rendering/rendering-canvas/index.html"},{"name":"Building Your Own Rendering Canvas","href":"basic/rendering/rendering-canvas/custom-implementation.html","topicHref":"basic/rendering/rendering-canvas/custom-implementation.html"},{"name":"Drawing","href":"basic/rendering/drawing/index.html","topicHref":"basic/rendering/drawing/index.html"}]},{"name":"Mechanism Topology","items":[{"name":"Overview","href":"basic/mechanism/index.html","topicHref":"basic/mechanism/index.html"},{"name":"Topology Structure","href":"basic/mechanism/Topo/index.html","topicHref":"basic/mechanism/Topo/index.html"},{"name":"Transformers","href":"basic/mechanism/transformers/index.html","topicHref":"basic/mechanism/transformers/index.html"},{"name":"Render Topology","href":"basic/mechanism/render-topology/index.html","topicHref":"basic/mechanism/render-topology/index.html"}]},{"name":"XML IO","href":"basic/common/xml-io.html","topicHref":"basic/common/xml-io.html"}]}]}
+{"items":[{"name":"Overview","href":"index.html","topicHref":"index.html"},{"name":"System Requirements","href":"system-requirements.html","topicHref":"system-requirements.html"},{"name":"Getting Started","href":"getting-started/index.html","topicHref":"getting-started/index.html"},{"name":"Sketch to Build HiNC GUI","href":"build-hinc/index.html","topicHref":"build-hinc/index.html","items":[{"name":"General Rules","href":"build-hinc/general-rules.html","topicHref":"build-hinc/general-rules.html"},{"name":"Common Patterns","items":[{"name":"DictionaryService and DictionaryHub Pattern","href":"build-hinc/common/dictionary-service-pattern.html","topicHref":"build-hinc/common/dictionary-service-pattern.html"}]},{"name":"Web Service Architecture","items":[{"name":"Rendering Canvas on Web Service","href":"build-hinc/hinc-web-service/disp-web-service.md","topicHref":"build-hinc/hinc-web-service/disp-web-service.md"}]},{"name":"Initialize HiAPI","href":"build-hinc/initialize-hiapi.html","topicHref":"build-hinc/initialize-hiapi.html"},{"name":"Main Panel","href":"build-hinc/main-panel.html","topicHref":"build-hinc/main-panel.html"},{"name":"Bottom Message Bar","href":"build-hinc/message-section-on-main-panel.html","topicHref":"build-hinc/message-section-on-main-panel.html"},{"name":"RenderingCanvas Tool Bar","href":"build-hinc/renderingcanvas-tool-bar.html","topicHref":"build-hinc/renderingcanvas-tool-bar.html"},{"name":"Player Panel","href":"build-hinc/player/index.html","topicHref":"build-hinc/player/index.html","items":[{"name":"Player Tool Bar","href":"build-hinc/player/player-tool-bar.html","topicHref":"build-hinc/player/player-tool-bar.html"},{"name":"Player Extended RenderingCanvas Tool Bar","href":"build-hinc/player/player-extended-renderingcanvas-tool-bar.html","topicHref":"build-hinc/player/player-extended-renderingcanvas-tool-bar.html"},{"name":"Selected-Step Info Panel","href":"build-hinc/player/selected-step-info-panel.html","topicHref":"build-hinc/player/selected-step-info-panel.html"}]},{"name":"Session Message Panel","href":"build-hinc/session-message-panel/index.html","topicHref":"build-hinc/session-message-panel/index.html"},{"name":"Preference","items":[{"name":"Preference Menu","href":"build-hinc/preference/index.html","topicHref":"build-hinc/preference/index.html"},{"name":"Graphic-Cache Dropdown","href":"build-hinc/preference/graphic-cache-dropdown.html","topicHref":"build-hinc/preference/graphic-cache-dropdown.html"},{"name":"Language Selection","href":"build-hinc/preference/language-selection-submenu.html","topicHref":"build-hinc/preference/language-selection-submenu.html"},{"name":"Step Present Preference","href":"build-hinc/preference/step-present-preference-page.html","topicHref":"build-hinc/preference/step-present-preference-page.html"}]},{"name":"Widget","items":[{"name":"Vec3d Control","href":"build-hinc/widget/vec3d/index.html","topicHref":"build-hinc/widget/vec3d/index.html"},{"name":"Object Management Menu Button","href":"build-hinc/widget/object-management-menu-button.html","topicHref":"build-hinc/widget/object-management-menu-button.html"},{"name":"GUI File Path Assignment","href":"build-hinc/widget/gui-file-path-assignment.html","topicHref":"build-hinc/widget/gui-file-path-assignment.html"},{"name":"Polar Resolution 2D Panel","href":"build-hinc/widget/polar-resolution-2d-panel.html","topicHref":"build-hinc/widget/polar-resolution-2d-panel.html"},{"name":"Numeric Input/Output Utilities","href":"build-hinc/widget/numeric-io-utilities.html","topicHref":"build-hinc/widget/numeric-io-utilities.html"},{"name":"Resizable Bar","href":"build-hinc/widget/resizable-bar.html","topicHref":"build-hinc/widget/resizable-bar.html"}]},{"name":"Geometry Panels","href":"build-hinc/geom/index.html","topicHref":"build-hinc/geom/index.html","items":[{"name":"Box3d Control","href":"build-hinc/geom/box3d-control.html","topicHref":"build-hinc/geom/box3d-control.html"},{"name":"Cylindroid Control","href":"build-hinc/geom/cylindroid-control.html","topicHref":"build-hinc/geom/cylindroid-control.html"},{"name":"Geometry Combination Control","href":"build-hinc/geom/geom-combination-control.html","topicHref":"build-hinc/geom/geom-combination-control.html"},{"name":"Geometry Management Panel","href":"build-hinc/geom/geom-manage-control.html","topicHref":"build-hinc/geom/geom-manage-control.html"},{"name":"Runtime Geometry Panel","href":"build-hinc/geom/runtime-geom-panel.html","topicHref":"build-hinc/geom/runtime-geom-panel.html"},{"name":"STL File Control","href":"build-hinc/geom/stlfile-control.html","topicHref":"build-hinc/geom/stlfile-control.html"},{"name":"Transformation Geometry Control","href":"build-hinc/geom/transformation-geom-control.html","topicHref":"build-hinc/geom/transformation-geom-control.html"}]},{"name":"Mechanism","items":[{"name":"Transformers","href":"build-hinc/mech/topo/transformers.html","topicHref":"build-hinc/mech/topo/transformers.html"},{"name":"Fixture Page","href":"build-hinc/mech/fixture-page.html","topicHref":"build-hinc/mech/fixture-page.html"},{"name":"Workpiece Page","href":"build-hinc/mech/workpiece-page.html","topicHref":"build-hinc/mech/workpiece-page.html"}]},{"name":"Controller Page","href":"build-hinc/controller/index.html","topicHref":"build-hinc/controller/index.html"},{"name":"Mission Page","href":"build-hinc/mission/index.html","topicHref":"build-hinc/mission/index.html","items":[{"name":"Script Command Panel","href":"build-hinc/mission/script-command-panel.html","topicHref":"build-hinc/mission/script-command-panel.html"},{"name":"List Command Panel","href":"build-hinc/mission/ListCommand-panel.html","topicHref":"build-hinc/mission/ListCommand-panel.html"},{"name":"PreSetting Command Panel","href":"build-hinc/mission/PreSettingCommand-panel.html","topicHref":"build-hinc/mission/PreSettingCommand-panel.html"},{"name":"NcOptOption Panel","href":"build-hinc/mission/NcOptOption-panel.html","topicHref":"build-hinc/mission/NcOptOption-panel.html"},{"name":"NcFile Command Panel","href":"build-hinc/mission/NcFileCommand-panel.html","topicHref":"build-hinc/mission/NcFileCommand-panel.html"},{"name":"NcCode Command Panel","href":"build-hinc/mission/NcCodeCommand-panel.html","topicHref":"build-hinc/mission/NcCodeCommand-panel.html"},{"name":"PostExecution Command Panel","href":"build-hinc/mission/PostExecutionCommand-panel.html","topicHref":"build-hinc/mission/PostExecutionCommand-panel.html"}]}]},{"name":"Logic","items":[{"name":"Basic Geometry","href":"basic/geom/basic-geometry.html","topicHref":"basic/geom/basic-geometry.html"},{"name":"Rendering","href":"basic/rendering/index.html","topicHref":"basic/rendering/index.html","items":[{"name":"Using RenderingCanvas with DispEngine","href":"basic/rendering/rendering-canvas/index.html","topicHref":"basic/rendering/rendering-canvas/index.html"},{"name":"Building Your Own Rendering Canvas","href":"basic/rendering/rendering-canvas/custom-implementation.html","topicHref":"basic/rendering/rendering-canvas/custom-implementation.html"},{"name":"Drawing","href":"basic/rendering/drawing/index.html","topicHref":"basic/rendering/drawing/index.html"}]},{"name":"Mechanism Topology","items":[{"name":"Overview","href":"basic/mechanism/index.html","topicHref":"basic/mechanism/index.html"},{"name":"Topology Structure","href":"basic/mechanism/Topo/index.html","topicHref":"basic/mechanism/Topo/index.html"},{"name":"Transformers","href":"basic/mechanism/transformers/index.html","topicHref":"basic/mechanism/transformers/index.html"},{"name":"Render Topology","href":"basic/mechanism/render-topology/index.html","topicHref":"basic/mechanism/render-topology/index.html"}]},{"name":"XML IO","href":"basic/common/xml-io.html","topicHref":"basic/common/xml-io.html"}]}]}
diff --git a/App/wwwroot/HiAPI-docsite/brief/user-guide/zh-Hant/script/Doc-Task/index.html b/App/wwwroot/HiAPI-docsite/brief/user-guide/zh-Hant/script/Doc-Task/index.html
index a747230..ae27f5c 100644
--- a/App/wwwroot/HiAPI-docsite/brief/user-guide/zh-Hant/script/Doc-Task/index.html
+++ b/App/wwwroot/HiAPI-docsite/brief/user-guide/zh-Hant/script/Doc-Task/index.html
@@ -94,8 +94,7 @@
語法與功能
腳本 (Script) 中的標題 (Title) 的功能僅為註記,無其他功能,腳本的內容與標題不一定要匹配。
-
腳本預設為簡易模式 (Simple Mode),該模式基於C#語言並簡化部分指令;如未勾選簡易模式,則腳本使用原生C#語言。
-
簡易模式腳本在執行前會先轉換為C#語言再執行。
+
腳本使用原生C#語言。
Note
基本 C# 語法
@@ -104,22 +103,8 @@
可以使用 //
作為行尾註解。
可以使用double.PositiveInfinity
、double.NegativeInfinity
表示實數中的無限大及無限小。
-
簡易模式腳本範例:
-
RunNcFile("NC/file1.nc");
-
-
-
-
Note
-
簡易模式與原生C#語言(進階)
-
本段供有C#開發經驗的工程師參考。
-
腳本執行函數回傳的物件IEnumerable<Action>
。
-
撥放器在Action
之間可以執行暫停(Pause)。
-
與簡易模式腳本範例對照的典型原生C#語言腳本範例:
-
IEnumerable<Action> Run(){
- foreach(var action in RunNcFile("NC/file1.nc")) yield return action;
- yield return null;
- }
-return Run();
+腳本範例:
+PlayNcFile("NC/file1.nc");
@@ -128,8 +113,8 @@ return Run();
Tip
指令範例
-
RunNcFile("NC/file1.nc");
-RunNcFile("NC/file2.nc");
+PlayNcFile("NC/file1.nc");
+PlayNcFile("NC/file2.nc");
WriteShotFiles("Output/[NcName].shot.csv", 1);
// 輸出檔案至:
// Output/file1.nc.shot.csv
diff --git a/App/wwwroot/HiAPI-docsite/brief/user-guide/zh-Hant/script/Mapping/index.html b/App/wwwroot/HiAPI-docsite/brief/user-guide/zh-Hant/script/Mapping/index.html
index 7bfb1aa..7dac018 100644
--- a/App/wwwroot/HiAPI-docsite/brief/user-guide/zh-Hant/script/Mapping/index.html
+++ b/App/wwwroot/HiAPI-docsite/brief/user-guide/zh-Hant/script/Mapping/index.html
@@ -116,7 +116,7 @@
ClearTimeMappingData();
AddTimeDataByFile( "lineA", "Mapping/sensor1.csv", "18:25:51.7100", "18:26:12.9910");
AddTimeDataByFile( "lineB", "Mapping/sensor1.csv", "18:26:30.5750", "18:27:12.2880");
-RunNcFile("NC/file1.nc")
+PlayNcFile("NC/file1.nc")
輸入檔案格式為csv,須包含時間資訊,其餘資訊可選擇包含或不包含。
diff --git a/App/wwwroot/HiAPI-docsite/brief/user-guide/zh-Hant/script/MillingTraining/index.html b/App/wwwroot/HiAPI-docsite/brief/user-guide/zh-Hant/script/MillingTraining/index.html
index a4eac04..8bfce93 100644
--- a/App/wwwroot/HiAPI-docsite/brief/user-guide/zh-Hant/script/MillingTraining/index.html
+++ b/App/wwwroot/HiAPI-docsite/brief/user-guide/zh-Hant/script/MillingTraining/index.html
@@ -108,7 +108,7 @@ ReTrainMillingPara(<樣本旗標>, <檔案輸出路徑>);
ClearTimeMappingData();
AddTimeDataByFile( "lineA", "Mapping/sensor1.csv", "18:25:51.7100", "18:26:12.9910");
AddTimeDataByFile( "lineB", "Mapping/sensor1.csv", "18:26:30.5750", "18:27:12.2880");
-RunNcFile("NC/file1.nc")
+PlayNcFile("NC/file1.nc")
TrainMillingPara(Fx|Fy|Fz, "StainlessSteel.mp");
@@ -118,7 +118,7 @@ TrainMillingPara(Fx|Fy|Fz, "StainlessSteel.mp");