← Files Contour3DARCHIVED FILE

assets/workbench/index.html

6.79 KB · Nov 14, 2026 · 00:55 UTC

↓ Download file

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
  <title>Contour3D · Authoring Workbench</title>
  <link rel="stylesheet" href="./workbench.css">
  <script type="importmap">{"imports":{"three":"./vendor/three.module.js"}}</script>
  <script type="module" src="./workbench.js"></script>
</head>
<body>
  <header class="topbar">
    <div class="brand"><svg viewBox="0 0 40 40" aria-hidden="true"><path d="M6 26Q20 36 34 26L29 12Q20 5 11 12Z"/><path d="M8 21Q20 29 32 21M11 12Q20 20 29 12M20 16V31"/></svg><span>Contour<span class="brand-number">3D</span><small>AUTHORING WORKBENCH</small></span></div>
    <div class="file-context"><span class="live-dot"></span><div><strong id="scene-name">Loading scene…</strong><small id="revision">Preparing inspection</small></div></div>
    <button id="fit-scene" class="quiet">Fit scene <kbd>F</kbd></button>
  </header>
  <nav class="tabs" aria-label="Workspace modes">
    <button class="tab active" data-tab="model">01 <span>Model</span></button>
    <button class="tab" data-tab="inspect">02 <span>Surface</span></button>
    <button class="tab" data-tab="references">03 <span>References</span></button>
    <button class="tab" data-tab="edit">04 <span>Edit</span><span id="region-count" class="count">0</span></button>
    <span class="tab-note">Source: standard Blender</span>
  </nav>
  <main>
    <aside class="parts-panel">
      <div class="panel-heading"><span class="eyebrow">SCENE PARTS</span><span id="part-count" class="pill">—</span></div>
      <input id="part-search" type="search" placeholder="Find a part…" aria-label="Search parts">
      <div id="parts" class="parts-list" role="list"></div>
      <div class="scene-summary"><div><strong id="triangle-count">—</strong><span>evaluated triangles</span></div><div><strong id="source-scale">m</strong><span>dimensions in meters</span></div></div>
      <p id="preview-warning" class="muted">Navigation preview. Use real renders for review.</p>
    </aside>
    <section class="workspace">
      <section id="model-pane" class="pane active">
        <div class="viewport-toolbar"><div class="view-presets" aria-label="Views"><button data-view="iso" class="active">Perspective</button><button data-view="front">Front</button><button data-view="side">Side</button><button data-view="top">Top</button></div><button id="wireframe" aria-pressed="false">Wireframe</button></div>
        <div id="viewport"><div id="viewport-empty">Preparing the 3D scene…</div><div class="viewport-caption"><span class="caption-dot"></span> Evaluated preview <span class="separator">/</span> Z ↑ <span class="separator">/</span> meters</div><div class="axis-label">X <span>Y</span> Z</div></div>
        <div class="viewport-bottom"><span id="selection-hint">Select a part or a surface point</span><span>Orbit · left button &nbsp; Pan · right button</span></div>
      </section>
      <section id="inspect-pane" class="pane scroll-pane">
        <div class="section-title"><span class="eyebrow">BLENDER INSPECTION</span><h1>Inspect the current surface.</h1><p>Clay views, reflection flow and specific geometry checks.</p></div>
        <div id="diagnostic-cards" class="diagnostic-grid"></div>
        <div id="render-grid" class="render-grid"></div>
      </section>
      <section id="references-pane" class="pane scroll-pane">
        <div class="section-title"><span class="eyebrow">VISUAL INTENT</span><h1>References for the current asset.</h1><p>Real views connect design decisions to the current form.</p></div>
        <div class="reference-actions"><label class="button secondary" for="reference-files">Add images</label><input id="reference-files" type="file" accept="image/png,image/jpeg,image/webp" multiple hidden><button id="copy-imagegen">Copy imagegen brief</button></div>
        <div class="prompt-card"><span class="eyebrow">SPECIFIC QUESTION</span><p id="imagegen-question">Image generation was not requested for this packet.</p><details><summary>View specification</summary><pre id="imagegen-prompt"></pre></details></div>
        <div id="reference-grid" class="render-grid"></div>
        <p class="muted">Review generated ideas after implementing the accepted features in the .blend source.</p>
      </section>
      <section id="edit-pane" class="pane scroll-pane">
        <div class="section-title"><span class="eyebrow">SCOPED EDIT</span><h1>Edit while preserving fit.</h1><p>Select a 3D point, mark a protected region and describe the result.</p></div>
        <div class="edit-layout">
          <div class="edit-card"><label for="edit-intent">What to change</label><textarea id="edit-intent" rows="5" placeholder="For example: raise the crown by 8 mm while preserving this rim and its mounts."></textarea><div id="control-editor"></div><button id="save-request" class="primary">Save request for Codex</button><div id="request-result" class="request-result" role="status"></div></div>
          <div class="edit-card"><span class="eyebrow">PROTECTED REGIONS</span><div class="mobile-region"><p id="selected-point-mobile">Select a point in 3D.</p><label for="region-radius-mobile">Region radius, mm</label><input id="region-radius-mobile" type="number" min="0.001" step="1" value="12"><button id="protect-region-mobile" class="secondary" disabled>Protect selected point</button></div><div id="protected-regions" class="region-list"><p class="muted">No regions yet. Select a surface point and choose Protect region.</p></div><p class="muted">The request is bound to this scene revision. Codex edits the native source and checks the declared constraints.</p></div>
        </div>
      </section>
    </section>
    <aside class="detail-panel">
      <span class="eyebrow">SELECTED PART</span><h2 id="selected-name">Nothing selected</h2><span id="selected-role" class="pill">Select in the scene</span>
      <div id="selected-metrics" class="metrics"></div>
      <div class="point-card"><span class="eyebrow">SURFACE POINT</span><p id="selected-point">Click a surface in 3D.</p><label for="region-radius">Region radius, mm</label><input id="region-radius" type="number" min="0.001" step="1" value="12"><button id="protect-region" class="secondary" disabled>Protect region</button></div>
      <div class="detail-note"><span class="status-dot"></span><div><strong>Property checks</strong><p>Position, shaders and dependencies have specific checks. Artistic quality also requires review.</p></div></div>
      <button id="isolate-part" class="quiet" disabled>Isolate part</button>
    </aside>
  </main>
  <footer><span id="status">Opening visual packet…</span><span>Contour3D 1.0 · local workbench</span></footer>
  <dialog id="image-dialog"><button id="close-image" class="dialog-close" aria-label="Close image">×</button><img id="full-image" alt=""><p id="full-caption"></p></dialog>
  <div id="toast" role="status"></div>
</body>
</html>

SHA-256: ec596d618ece41ed784b4633507d45c9ffa8bc1af879e58ba20618e3ec65e638