This repository has been archived on 2026-10-11. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
HiNC-2025-win-desktop-Deploy/App/wwwroot/HiAPI-docsite/anatomy/util/index.html
T
2026-09-09 18:06:21 +08:00

162 lines
8.3 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Util Pages | HiAPI-C# 2025 </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Util Pages | HiAPI-C# 2025 ">
<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 &quot;{query}&quot;">
<meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
<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="">
<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="">
<h1 id="util-pages">Util Pages</h1>
<p>The utility pages are the ones not tied to the main machining workflow. They support side-tasks —
browsing the server filesystem and building a generic mechanism XML — and are reachable from the
menu bar's <code>Page ▾</code> dropdown, below the separator that follows the three workflow pages (Tool House
/ General Setup / Execution). Their routes are <code>/util/file-explorer</code> and <code>/util/mech-builder</code>; the
dropdown itself is built in <code>wwwroot-src/src/components/AppMenuBar.vue</code> over the <code>menu.page.*</code>
strings in <code>wwwroot-src/src/i18n/en/menu.ts</code>, and both routes are declared in
<code>wwwroot-src/src/router/routes.ts</code>.</p>
<p>The two pages share a component, not just a menu section. The File Explorer's browser
(<code>wwwroot-src/src/components/FileExplorer.vue</code>) also runs inside a modal wrapper,
<code>wwwroot-src/src/components/widgets/FileExplorerDialog.vue</code>, and that wrapper is the app's file
picker: it is what the Mechanism Builder's Load and both Save As actions open, and what the menu
bar's <code>Project ▾</code> entries open. One page documents the browser, the other a page built on it.</p>
<h2 id="pages">Pages</h2>
<ul>
<li><a href="file-explorer.html">File Explorer</a> — server-side filesystem browser over three named roots (Admin
/ Project / Resource), with a lazy-loading tree, an editor slave panel running CodeMirror 6, an
STL preview, zip pack / extract, and rename / duplicate / delete. The same component is the app's
modal file picker.</li>
<li><a href="mech-builder.html">Mechanism Builder</a> — editor for a standalone <a class="xref" href="../../api/Hi.Mech.GeneralMechanism.html">GeneralMechanism</a>:
anchor / branch graph, per-branch transformer, per-anchor geometry and display colour, with
server-side Load and Save As through the File Explorer's picker.</li>
<li><a href="stl-preview-pane.html">STL Preview Pane</a> — the 3D preview that takes over the File Explorer's
editor column for an <code>.stl</code> row: its cancellable load, the rendering connection it owns, and the
transform it can bake into the file.</li>
<li><a class="xref" href="../legacy-controller.html">Legacy-Controller</a> — the legacy controller screen, reachable from
<code>Page → Legacy-Controller</code> below the second separator. The General Setup page's Controller branch
is the settings face for the SoftNcRunner; this page stays reachable while it carries settings
that tree has no editor for.</li>
</ul>
<h2 id="where-neighbouring-editors-live">Where Neighbouring Editors Live</h2>
<p>Three editors a reader might expect here are shipped surfaces of other pages:</p>
<ul>
<li><strong>Cutter editor</strong> — a Tool House Control-Tree branch, not a util page:
<code>wwwroot-src/src/components/controlTree/toolhouse/ToolCutterPanel.vue</code> with its section, contour
and flute panels, over <code>Mech/CutterController.cs</code>, reached through the <code>tool-house</code> route. The</li>
<li><strong>Rake-face angles</strong> — plain cutter fields: <code>radialRakeAngle_deg</code> in
<code>wwwroot-src/src/components/controlTree/toolhouse/FluteSideContourPanel.vue</code> and
<code>axialRakeAngle_deg</code> in
<code>wwwroot-src/src/components/controlTree/toolhouse/FluteBottomContourPanel.vue</code>. A <code>.MillingPara</code>
or <code>.mp</code> file opens as XML in the File Explorer's editor panel.</li>
<li><strong>Color Index Time Chart</strong> — a strip chart on the Execution page:
<code>wwwroot-src/src/components/execution/charts/StripIndividualChart.vue</code>, mounted by
<code>wwwroot-src/src/pages/ExecutionPage.vue</code> under the <code>colorIndexTimeChart</code> panel flag that
<code>Environments/ExecutionDivConfig.cs</code> persists.
It plots the user-picked inspecting key live per step.</li>
</ul>
</article>
<div class="contribution d-print-none">
</div>
<div class="next-article d-print-none border-top" id="nextArticle"></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>