Reverse engineering mode

From @Harvie on Thu Nov 29 2018 12:13:00 GMT+0000 (UTC)

If i try to create connection in “Board editor” window and that connection is not already in schematic, it gives me following error:

image

And that is perfectly OK. But what if i am reverse engineering the board. I have photos of board and i want to recreate the same board in Board editor and turn that into a schematic. (given that i’ve already added all the components to the schematic). That would help me to untangle the connections on the board to usable schematic…

I still think this should not be enabled by default. Surely i don’t want to screw with the schematic by accidentaly adding new connections when making board from schematic. But having option to enable this mode (with proper warning dialog) would be great.

Copied from original issue: https://github.com/LibrePCB/librepcb-rfcs/issues/40

1 Like

From @ubruhin on Thu Nov 29 2018 14:02:33 GMT+0000 (UTC)

I have this use-case in mind since the beginning of LibrePCB because I also like to have this feature :slight_smile: The core classes should be (more or less) ready for that feature, but the schematic and board editors aren’t, so they have to be extended.

I still think this should not be enabled by default. Surely i don’t want to screw with the schematic by accidentaly adding new connections when making board from schematic. But having option to enable this mode (with proper warning dialog) would be great.

:+1:

1 Like

I know, Is exist here idea for advanced reverse engineering mode - Reverse engineering mode.

But what if you would integrate basic version of the Reverse Engineering Mode?
It’s simple - add a possibility to set background image into the PCB editor (into a new layers “Top - Bottom Background or Template” )

Example:

  1. Catch a photo of the unknown hacked/copied board. Top and bottom independently.
  2. Import these photo into LibrePCB - PCB Editor. Top image into Top Background Layer and nice versa.
  3. Set transparency for both photo. Grid have to be over photo.
  4. Edit and Align the image via a new functions: Move/resize/mirror/skew of the both images.Grid will be a helper.
  5. Lock the images (prevent editing)

Now if during routing is selected Top Copper layer as active layer, Top Background will shown (with preset transparency). If is selected Bottom Copper layer as active, bottom background is shown.
By this way we able to place component and draw traces by the “template”.

This basic function is not for create/edit schematic. Is only for copy of the PCB from the real one.
Schematic have to be done by the oldschool manual way (paper+pencil) and after this can be drawed by the LibrePCB schematic editor.

But PCB can be done 1:1 (very close to origin) using this method.

1 Like

Is there a video of this someplace showing an example of how to put together. Thanks

Looks so this.

I saw it on the todo list. Any chance to have this implemented soon?
Seems to me very useful for maintenance usage, to fix a card if you don’t have the schematics.

Nope, so far there is no concrete idea when it will be implemented…