You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rewrite EasyEDA footprint model paths after STEP/WRL export, strip stale KiCad model blocks when no 3D artifact is produced, and add service-worker regressions plus docs updates.
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,8 @@ Downloads/
116
116
`-- <component>-datasheet.pdf
117
117
```
118
118
119
+
When a footprint and matching 3D model are exported together, the footprint model reference is rewritten to the generated model path. If no 3D model is exported, stale model references are removed from the generated footprint.
120
+
119
121
## Supported sources and outputs
120
122
121
123
| Source flow | Pages | Symbol | Footprint | 3D model | Datasheet | Notes |
Copy file name to clipboardExpand all lines: docs/architecture-notes.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ This file records short implementation notes that supplement, but do not replace
32
32
- Farnell, element14, and Newark do not have their own backend adapter files because they intentionally reuse the shared SamacSys distributor backend.
33
33
- Symbol library append behavior depends on `chrome.storage.local`, not on local filesystem reads.
34
34
- Library-mode download paths remain relative to Downloads and are resolved from extension settings, not absolute filesystem paths.
35
+
- EasyEDA footprints are written after 3D export attempts so their KiCad `(model ...)` path can match the artifact that was actually downloaded, or be stripped when no model artifact was produced.
35
36
- SamacSys distributor support is still Chrome-first, but Firefox can opt into a user-managed relay through the advanced Firefox settings menu.
36
37
- Chrome direct SamacSys ZIP export now retries once with configured upstream auth after a `401`, but preview requests still use the normal direct browser session without preemptive auth headers.
37
38
- Firefox relay mode forwards matching `componentsearchengine.com` cookies so authenticated SamacSys ZIP downloads can reuse the browser session instead of teaching the relay to log in.
Copy file name to clipboardExpand all lines: systemDesign.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -255,6 +255,10 @@ The test suite remains the primary regression net for:
255
255
- loose-file downloads when `downloadIndividually` is `true`
256
256
- KiCad-style library structure when `downloadIndividually` is `false`
257
257
- Library-mode symbol exports merge into a stored symbol library keyed by the resolved library root.
258
+
- Footprint model references are reconciled after 3D export attempts finish:
259
+
- loose-file footprints reference `${KIPRJMOD}/<modelFilename>` when a model was exported
260
+
- library-mode footprints reference `../<libraryName>.3dshapes/<modelFilename>` when a model was exported
261
+
- stale footprint `(model ...)` blocks are removed when no selected 3D model artifact is exported
258
262
- Library-mode datasheet exports are written under `<libraryRoot>/datasheets/`.
259
263
260
264
### 5.4 Export SamacSys distributor parts
@@ -339,6 +343,7 @@ The test suite remains the primary regression net for:
339
343
- SamacSys distributor loose-file symbol output keeps the extracted `.kicad_sym` filename from the ZIP.
340
344
- Footprint output uses the extracted or generated `.kicad_mod` filename.
341
345
- SamacSys distributor footprint library-mode downloads rewrite the model path into the library `.3dshapes` directory.
346
+
- EasyEDA footprint downloads rewrite the first KiCad `(model ...)` path to the exported STEP or WRL artifact, preferring WRL when both are produced, and remove stale model blocks when no model artifact is exported.
342
347
- EasyEDA datasheet output uses a sanitized base name plus `-datasheet` and the detected extension. In library mode it is saved under `<libraryRoot>/datasheets/`.
343
348
- The library root name defaults to `easyECADDownloader` and can be changed to another Downloads-relative folder for library mode.
0 commit comments