From d7c042e80a6c4b3e654c1e6d656437803eccc1d4 Mon Sep 17 00:00:00 2001 From: Rushabh Patil Date: Fri, 26 Jun 2026 01:21:29 +0530 Subject: [PATCH 1/2] Document tsci snapshot --simulation-only and --layer flags; correct 3D snapshot file extension --- docs/command-line/tsci-snapshot.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/command-line/tsci-snapshot.md b/docs/command-line/tsci-snapshot.md index 4dbce6a9..4bb970e1 100644 --- a/docs/command-line/tsci-snapshot.md +++ b/docs/command-line/tsci-snapshot.md @@ -17,6 +17,8 @@ tsci snapshot [options] [path] - `--3d` – also generate 3D preview snapshots. - `--pcb-only` – generate only PCB snapshots. - `--schematic-only` – generate only schematic snapshots. +- `--simulation-only` – generate only simulation snapshots. Cannot be combined with `--pcb-only`, `--schematic-only`, `--layer`, `--3d`, or `--camera-preset`. +- `--layer ` – generate a PCB snapshot for a single layer, either `top` or `bottom` (implies `--pcb-only`). - `--disable-parts-engine` – disable the parts engine while rendering snapshots. - `--show-courtyards` – show courtyard outlines in PCB snapshots. - `--camera-preset ` – choose the camera angle preset for 3D snapshots. This also implies `--3d`. @@ -42,6 +44,15 @@ __snapshots__/test.board-pcb.snap.svg __snapshots__/test.board-schematic.snap.svg ``` -If `--3d` is specified, a `-3d.snap.svg` is also produced. +If `--3d` is specified, a `-3d.snap.png` is also produced. + +With `--simulation-only`, simulation snapshots are written instead: + +``` +__snapshots__/test.board-simulation.snap.svg +__snapshots__/test.board-schematic-simulation.snap.svg +``` + +With `--layer top` or `--layer bottom`, the PCB snapshot is named after the layer, for example `test.board-top.snap.svg`. Running without `--update` verifies that the generated output matches the existing snapshots. Differences cause a non-zero exit code. From 7f2e10b17de856e662dc2fd42c0ac3c90631a2be Mon Sep 17 00:00:00 2001 From: Rushabh Patil Date: Fri, 26 Jun 2026 18:00:23 +0530 Subject: [PATCH 2/2] up --- docs/command-line/tsci-snapshot.md | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/docs/command-line/tsci-snapshot.md b/docs/command-line/tsci-snapshot.md index 4bb970e1..b5df2403 100644 --- a/docs/command-line/tsci-snapshot.md +++ b/docs/command-line/tsci-snapshot.md @@ -17,8 +17,8 @@ tsci snapshot [options] [path] - `--3d` – also generate 3D preview snapshots. - `--pcb-only` – generate only PCB snapshots. - `--schematic-only` – generate only schematic snapshots. -- `--simulation-only` – generate only simulation snapshots. Cannot be combined with `--pcb-only`, `--schematic-only`, `--layer`, `--3d`, or `--camera-preset`. -- `--layer ` – generate a PCB snapshot for a single layer, either `top` or `bottom` (implies `--pcb-only`). +- `--simulation-only` – generate only simulation snapshots. +- `--layer ` – generate a PCB snapshot for a single layer, either `top` or `bottom`. - `--disable-parts-engine` – disable the parts engine while rendering snapshots. - `--show-courtyards` – show courtyard outlines in PCB snapshots. - `--camera-preset ` – choose the camera angle preset for 3D snapshots. This also implies `--3d`. @@ -46,13 +46,4 @@ __snapshots__/test.board-schematic.snap.svg If `--3d` is specified, a `-3d.snap.png` is also produced. -With `--simulation-only`, simulation snapshots are written instead: - -``` -__snapshots__/test.board-simulation.snap.svg -__snapshots__/test.board-schematic-simulation.snap.svg -``` - -With `--layer top` or `--layer bottom`, the PCB snapshot is named after the layer, for example `test.board-top.snap.svg`. - Running without `--update` verifies that the generated output matches the existing snapshots. Differences cause a non-zero exit code.