Repository navigation
Expand file tree
/
Copy pathhelp.html
More file actions
3 lines (3 loc) · 5.59 KB
/
Copy pathhelp.html
File metadata and controls
3 lines (3 loc) · 5.59 KB
1
2
3
<!doctype html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>WayriCAD Embed3D</title><style>body{font:16px system-ui;max-width:950px;margin:32px auto;line-height:1.6;color:#23313d}code{background:#edf3f7;padding:2px 5px}</style><style id="wayricad-help-layout">html{scroll-behavior:smooth}body{box-sizing:border-box;width:auto;max-width:76rem;margin:2rem auto;padding:0 1.25rem;font:16px/1.6 system-ui,"Segoe UI",sans-serif;color:#203541;background:#fff;overflow-wrap:anywhere}h1,h2,h3{line-height:1.3}h2{margin-top:2rem}img,svg,video{max-width:100%;height:auto}pre{max-width:100%;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:1rem;background:#f1f5f7}table{display:block;max-width:100%;overflow:auto;border-collapse:collapse}th,td{padding:.55rem;border:1px solid #c9d4da;vertical-align:top;text-align:left;min-width:7rem}a{color:#155b94}li{margin:.45rem 0}.help-navigation{padding:1rem;border:1px solid #c9d4da;background:#f1f6f8}.help-navigation ul{margin:.4rem 0;padding-left:1.5rem}@media(max-width:700px){body{margin:1rem auto;padding:0 .8rem}h1{font-size:1.8rem}th,td{min-width:6rem}}@media print{.help-navigation{display:none}body{max-width:none;margin:0;color:#000}pre,table{overflow:visible}a{color:#000}}</style></head><body><h1>WayriCAD Embed3D</h1><nav class="help-navigation" aria-label="Offline help contents"><strong>On this page</strong><ul><li><a href="#help-section-1">What each operation writes</a></li><li><a href="#help-section-2">Resolve model paths</a></li><li><a href="#help-section-3">Command-line dry run and recovery</a></li><li><a href="#help-section-4">Troubleshooting</a></li></ul><p><a href="README.md">Full plugin guide and command reference</a>. This page and its illustrations are installed locally; an internet connection is not required.</p></nav><p>Scan, select and process saved design assets.</p><ol><li>Save the PCB or schematic, then click <strong>Scan</strong>.</li><li>Check the wanted symbols, footprints and 3D model sets in the component list. Select a row to inspect its paths. A 3D checkbox includes all model files linked to that component.</li><li>Click <strong>Preview embed + relink</strong> to review a new design copy with embedded, linked assets, or <strong>Preview unwind</strong> to extract selected embedded files into a unique folder under <code>local/</code>.</li><li>Review the preview, then click <strong>Apply preview</strong>. Original saved designs are unchanged.</li></ol><p>Search only filters visible rows; it does not clear selections. Options & library tools retains other selective actions, path settings, diagnostics, and <strong>Localize entire project with backup</strong>. The full-project workflow updates saved project files after preview and requires the editors to be closed. Missing external model files require their source folder or explicit partial mode.</p><figure><img src="help-project-library.png" alt="Full-project localization preview available under Options" style="max-width:100%;height:auto"><figcaption>Advanced full-project localization remains available under Options.</figcaption></figure><p>KiCad 10 native Python is required for footprint normalization and validation. KiCad 11 acceptance remains unverified.</p><h2 id="help-section-1">What each operation writes</h2><table><tr><th>Operation</th><th>Result and review boundary</th></tr><tr><td>Scan</td><td>Read-only inventory of saved component assets and resolved paths.</td></tr><tr><td>Preview embed + relink</td><td>Proposes a new saved design copy containing the checked assets. Review before Apply preview.</td></tr><tr><td>Preview unwind</td><td>Extracts checked embedded assets to a unique local folder after Apply. It does not rewrite the source design.</td></tr><tr><td>Localize entire project with backup</td><td>Updates saved project links and local libraries after a separate preview. Save and close project editors first.</td></tr></table><h2 id="help-section-2">Resolve model paths</h2><p>Inspect the path for a selected component. Supply additional model roots when a relative or environment-variable path cannot be resolved. Explicit NAME=FOLDER variables must point to actual local folders. A checked 3D box includes all linked models on that component, not just the first one. Missing source files cannot be reconstructed.</p><h2 id="help-section-3">Command-line dry run and recovery</h2><pre>wayricad-library localize-project board.kicad_pcb
wayricad-library localize-project board.kicad_pcb --library-folder libraries/local --apply
wayricad-library restore-local PROJECT/.wayricad-backups/BACKUP --apply</pre><p>The first command previews only. Review unresolved assets before using --apply; partial mode is explicit and an unresolved-assets exit status is not a complete localization. Backups include hashes and restore protects later edits.</p><h2 id="help-section-4">Troubleshooting</h2><ul><li>Empty scan: save the correct root schematic/PCB and scan again; unsaved editor content is not the input.</li><li>Unresolved models: add the original model folder or correct its variable mapping. Use partial mode only when retained external references are acceptable.</li><li>Source changed or destination conflicts: stop, review the changed files and run a fresh scan/preview. Do not delete unrelated local library assets.</li><li>Normalization unavailable: select the installed KiCad 10 native Python through WAYRICAD_KICAD_PYTHON. Pure-Python tests do not establish native acceptance.</li></ul><p>The localization scope does not collect arbitrary datasheets, SPICE models or unrelated top-level schematics. Keep those project resources separately.</p></body></html>