From bd4c443524acd977139ef5623e150d93dbc2fc97 Mon Sep 17 00:00:00 2001 From: mohan-bee Date: Wed, 6 May 2026 21:46:12 +0530 Subject: [PATCH 1/2] update tsci snapshot logic --- docs/command-line/tsci-snapshot.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/command-line/tsci-snapshot.md b/docs/command-line/tsci-snapshot.md index 4dbce6a..b146bb2 100644 --- a/docs/command-line/tsci-snapshot.md +++ b/docs/command-line/tsci-snapshot.md @@ -3,7 +3,7 @@ title: tsci snapshot description: Generate schematic and PCB snapshots for regression tests --- -`tsci snapshot` renders your boards to SVG images and compares them with saved snapshots. +`tsci snapshot` renders schematic and PCB SVG images and compares them with saved snapshots. It does not generate 3D snapshots unless you explicitly pass `--3d`. ## Usage @@ -14,7 +14,7 @@ tsci snapshot [options] [path] ### Options - `-u, --update` – write new snapshots to disk. - `--force-update` – force writing snapshots even when no visual diff is detected. -- `--3d` – also generate 3D preview snapshots. +- `--3d` – generate schematic, PCB, and 3D preview snapshots. - `--pcb-only` – generate only PCB snapshots. - `--schematic-only` – generate only schematic snapshots. - `--disable-parts-engine` – disable the parts engine while rendering snapshots. @@ -42,6 +42,8 @@ __snapshots__/test.board-pcb.snap.svg __snapshots__/test.board-schematic.snap.svg ``` -If `--3d` is specified, a `-3d.snap.svg` is also produced. +By default, only the PCB and schematic snapshots are produced. -Running without `--update` verifies that the generated output matches the existing snapshots. Differences cause a non-zero exit code. +If `--3d` is specified, the command produces PCB, schematic, and 3D snapshots + +Running without `--update` verifies that the generated output matches the existing snapshots. Differences cause a non-zero exit code. \ No newline at end of file From 9064590f3ae2a1685d67f560e7d4a9ef73c7fa5a Mon Sep 17 00:00:00 2001 From: mohan-bee Date: Fri, 8 May 2026 08:53:19 +0530 Subject: [PATCH 2/2] up --- docs/command-line/tsci-snapshot.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/command-line/tsci-snapshot.md b/docs/command-line/tsci-snapshot.md index b146bb2..3c13065 100644 --- a/docs/command-line/tsci-snapshot.md +++ b/docs/command-line/tsci-snapshot.md @@ -3,7 +3,7 @@ title: tsci snapshot description: Generate schematic and PCB snapshots for regression tests --- -`tsci snapshot` renders schematic and PCB SVG images and compares them with saved snapshots. It does not generate 3D snapshots unless you explicitly pass `--3d`. +`tsci snapshot` renders your boards to SVG images and compares them with saved snapshots. ## Usage