PCB ReTrace Guide

A local-first browser tool for reverse engineering, documenting, and inspecting printed circuit boards.

Privacy Note: This application runs 100% in your browser. All images and data are stored in your browser's local database (IndexedDB). No data is uploaded to any server.

1. Concept & Hierarchy

ReTrace organizes data to match physical hardware:

  1. Device: The physical unit (e.g., "Multimeter Model X").
  2. Board: A specific PCB inside the device (e.g., "Mainboard", "Power Supply").
  3. Images: Photos of the board (Top, Bottom, Angled shots).

2. The Workflow

Step 1: Setup

Create a New Device and a New Board using the top menu. Then, upload your images. High-resolution, flat photos work best.

Step 2: Mapping Components (BOM)

Navigate to the Images tab. Click on a component in the photo to mark it.

Step 3: Tracing Nets

Use the Inspect and Nets tabs to document connectivity.

3. Computer Vision & Stitching

ReTrace uses Computer Vision (CV) for Spatial Alignment. It allows you to synchronize the view across different images.

Important: The CV engine does not automatically recognize components (it won't read "10k" off a resistor). Its purpose is to mathematically align coordinates between images so you can see through the board.

Auto-Stitch (Same Side)

When you upload a new image, ReTrace automatically attempts to stitch it against existing images on the board in the background. If features match (e.g., a close-up vs. a wide shot), connections are created automatically.

You can also run this manually:

  1. Open Image Settings on your Main image.
  2. Select Stitch / Connections -> Run Auto-CV.

Manual Stitch (Top vs. Bottom)

To create an "X-Ray" view where clicking a pin on the Top automatically shows the corresponding pin on the Bottom:

  1. Select your Top Image.
  2. Go to Image Settings -> Connections.
  3. Find your Bottom Image and click "Edit Stitch".
  4. Flip Target: Click the button. This mirrors the bottom image horizontally.
  5. Match Points: Click 4 common features (Vias, Holes, Corners) visible on both images.
  6. Click Save Match.

4. Tools

ReTrace includes standalone calculators accessible from the BOM editor:

5. Data Management