cyclecad 0.9.6 → 0.9.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/app/index.html CHANGED
@@ -1682,7 +1682,7 @@
1682
1682
  <div id="tab-chat" style="display: none;">
1683
1683
  <!-- Chat tab populated by JavaScript -->
1684
1684
  </div>
1685
- <div id="tab-guide" style="display: none; padding: 12px; color: var(--text-primary); font-size: 13px; overflow-y: auto;">
1685
+ <div id="tab-guide" style="display: none; padding: 12px; color: var(--text-primary); font-size: 13px; overflow-y: auto; min-height: 0;">
1686
1686
  <h3 style="margin:0 0 12px 0;color:var(--accent-blue);font-size:15px;">Quick Start Guide</h3>
1687
1687
  <div style="margin-bottom:10px;"><b>1. Create shapes</b><br>Use Chat or toolbar: "box 50mm", "cylinder r20 h40", "gear 60mm 24 teeth"</div>
1688
1688
  <div style="margin-bottom:10px;"><b>2. Modify parts</b><br>"move it up 20", "rotate 45", "scale 2x", "fillet 5mm", "reduce height to 30"</div>
@@ -1694,7 +1694,14 @@
1694
1694
  <hr style="border-color:var(--border-color);margin:16px 0;">
1695
1695
  <div style="margin-bottom:10px;"><b>AI Chat</b><br>Type natural language in the Chat tab. Understands typos: "cylindr", "interset", "subtrat"</div>
1696
1696
  <div style="margin-bottom:10px;"><b>Import</b><br>Supports Inventor .ipt/.iam, STL, OBJ, and STEP (via server)</div>
1697
- <div><b>Agent API</b><br>window.cycleCAD.execute({ method: "shape.cylinder", params: { radius: 25, height: 60 } })</div>
1697
+ <div style="margin-bottom:10px;"><b>Agent API</b><br>window.cycleCAD.execute({ method: "shape.cylinder", params: { radius: 25, height: 60 } })</div>
1698
+ <hr style="border-color:var(--border-color);margin:16px 0;">
1699
+ <h3 style="margin:0 0 12px 0;color:var(--accent-green);font-size:15px;">ExplodeView Integration</h3>
1700
+ <div style="margin-bottom:10px;"><b>Viewer Mode</b><br>Press <b>V</b> or click Viewer Mode to switch to ExplodeView. All 57 viewer features are available inside cycleCAD — shared 3D scene, no duplication.</div>
1701
+ <div style="margin-bottom:10px;"><b>Available in Viewer Mode</b><br>Assembly Tree, Explode/Collapse, Section Cut, Part Selection, BOM Export, Annotations, Measurement, AI Part ID, Heatmaps, Service Mode, and 45+ more tools.</div>
1702
+ <div style="margin-bottom:10px;"><b>Viewer API</b><br>viewer.toggleViewerMode(), viewer.selectPart(idx), viewer.explodeParts(0.5), viewer.setSectionCut('x', 100), viewer.exportBOM()</div>
1703
+ <div style="margin-bottom:10px;"><b>Docker (all services)</b><br>docker-compose up -d<br>ExplodeView :8080 · cycleCAD :3000 · STEP Converter :8787</div>
1704
+ <div style="padding:8px 10px;background:rgba(88,166,255,0.08);border:1px solid rgba(88,166,255,0.2);border-radius:6px;font-size:12px;color:var(--accent-blue);">Full integration tutorial: <a href="tutorials/explodeview-integration.html" style="color:var(--accent-blue);">tutorials/explodeview-integration.html</a></div>
1698
1705
  </div>
1699
1706
  <div id="tab-tokens" style="display: none; overflow-y: auto;">
1700
1707
  <!-- Token dashboard populated by token-dashboard.js -->
@@ -4402,7 +4409,7 @@
4402
4409
  <!-- Tutorials Section -->
4403
4410
  <div style="margin-bottom:20px;">
4404
4411
  <h3 style="font-size:14px;font-weight:600;margin-bottom:12px;color:var(--accent-blue);">Tutorials</h3>
4405
- <div style="display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;">
4412
+ <div style="display:grid;grid-template-columns:1fr 1fr;gap:10px;">
4406
4413
  <a href="./tutorials/basic.html" style="text-decoration:none;display:block;padding:16px;background:linear-gradient(135deg,rgba(63,185,80,0.12),rgba(63,185,80,0.04));border:1px solid rgba(63,185,80,0.3);border-radius:8px;text-align:center;">
4407
4414
  <div style="font-size:28px;margin-bottom:8px;">&#x1F331;</div>
4408
4415
  <div style="font-weight:600;color:#3fb950;font-size:13px;">Basic</div>
@@ -4418,6 +4425,11 @@
4418
4425
  <div style="font-weight:600;color:#d29922;font-size:13px;">Advanced</div>
4419
4426
  <div style="font-size:11px;color:var(--text-secondary);margin-top:4px;">Agent API, MCP, tokens, Docker, plugins</div>
4420
4427
  </a>
4428
+ <a href="./tutorials/explodeview-integration.html" style="text-decoration:none;display:block;padding:16px;background:linear-gradient(135deg,rgba(0,212,170,0.12),rgba(0,212,170,0.04));border:1px solid rgba(0,212,170,0.3);border-radius:8px;text-align:center;">
4429
+ <div style="font-size:28px;margin-bottom:8px;">&#x1F50D;</div>
4430
+ <div style="font-weight:600;color:#00d4aa;font-size:13px;">ExplodeView</div>
4431
+ <div style="font-size:11px;color:var(--text-secondary);margin-top:4px;">Viewer Mode, 57 tools, section cuts, BOM</div>
4432
+ </a>
4421
4433
  </div>
4422
4434
  </div>
4423
4435