Electronics > Altium Designer

Comparing Altium PCBs

(1/2) > >>

Faringdon:
Supposing you have two PCB projects in Altium. They are from a long time ago, and you want to check if they are exactly  the same (ie, that they would both give the exact same gerber files)
Is there a way of comparing them in Altium?

Eg layer by layer...is top layer of  project 1 equal to top layer of project 2?....etc etc

plazma:
I use ViewMate for gerber comparisons and review.

ajb:
Assuming you’ve at least checked that the files aren’t exactly the same first?  There are definitely changes that could be made in a file that wouldn’t affect the project outputs (parameters are frequently rearranged within the prjpcb file for no apparent reason, for example, but this would at least confirm if they aren’t literally the same files.

If you add the projects to a git repository there are some comparison tools built in that might be helpful. I haven’t looked at those tools in a while, but I remember them being clunky and not as useful as I’d’ve liked. You’d basically need to create a repository for the project, copy one version of the files into the repo, commit, then overwrite those files with the other version, and commit again. This would immediately tell you if there are any differences at the files level, since git won’t let you commit if the files are the same.

You could also just generate gerbers from them and then load all of the files into the CAM viewer. Then visually check each layer from one project against the corresponding layer from the other. You might need to play with the display settings or layer order to ensure that one layer doesn’t obscure changes in the other.  BOM could be checked similarly by generating from both files and comparing in excel.  In both cases, you’ll want to use the same our job to generate the outputs to avoid introducing differences in the output it generation.

Faringdon:
Thanks, its a 4 layer board....and i wonder if i do "EXPORT DXF" for ech project, and do this with only the 4 copper layers selected, then it will give me a dxf file which corresponds exactly to the exact copper shapes of layers 1,2,3,4...then i can  convert the dxf to a txt file.....then do the same as this  for the other project.......then use NOTEPAD++ to compare those 2 text files....if they are the same, then i can be garanteed that the copper shapes on all layers are the same for each project.

Also, doing the same thing with the PCB netlist file, and the schem netlist file...and comparing across.......if these TXT  files are all the same between the projects, then surely those 2 pcbs are pretty darn sure to be the same?

ajb:
The main limitation of those methods is that they can't distinguish between differences in the information and differences in how that information is represented.  For example, the two netlist files might be completely different, but is that because the connectivity is different, or because the nets are listed in different orders?  Or maybe the project settings were changed, and now the nets are all different names, but have the same connectivity.  Same with gerbers: there are an infinite(ish) number of different ways to represent the same geometry, whether you're looking at the gerber itself or a dxf conversion.  Two identical representations must provide the same information, but the two identical sets of information may have completely different representations.

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod