P-CAD 2006 to KiCAD v8.0 schematic converter

876 views
Skip to first unread message

Isaac Marino Bavaresco

unread,
Apr 26, 2024, 10:49:00 AM4/26/24
to KiCad Developers
Hi All!

I  wrote a program to convert P-CAD 2006 schematic files to KiCAD v8.0 format.

It is written 100% in C and compiles for Windows with MinGW 13.1.0. It should be easy to port it to Linux, if needed.

It is still not generating completely correct output for some conditions but many schematics get translated perfectly, keeping the original visual representation as faithfuly as possible and 100% correct conectivity.

If someone got interested, it is on GitHub at <https://github.com/Ibavaresco/PCADSch2KiCAD>

Comments and suggestions are welcome.

It parses correctly 100% of my schematic files, but it would be good if someone tries it with other files to find any errors.

Cheers,
Isaac

Seth Hillbrand

unread,
Apr 26, 2024, 1:25:02 PM4/26/24
to dev...@kicad.org
Hi Isaac-

You might have a look at Eldar's old code to do the same thing at https://bazaar.launchpad.net/~kicad-gost-committers/kicad/kicad/files/4496/extra/pcad2kicadsch  He might have solved some of the problems you are having.

If you'd like to include this import in the KiCad codebase, let me know and I can give you some pointers on how to approach it.  Obviously, we require C++ and not C but that's probably an easy shift for you.

Seth

KiCad Services Corporation Logo
Seth Hillbrand
Lead Developer
+1-530-302-5483
Long Beach, CA
www.kipro-pcb.com    in...@kipro-pcb.com


--
You received this message because you are subscribed to the Google Groups "KiCad Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to devlist+u...@kicad.org.
To view this discussion on the web visit https://groups.google.com/a/kicad.org/d/msgid/devlist/04a7015e-b35d-4336-a095-c60c8edcf742n%40kicad.org.

Isaac Marino Bavaresco

unread,
Apr 26, 2024, 3:14:15 PM4/26/24
to dev...@kicad.org

Hi Seth!


I am not exactly "having problems", I just did not have time to write the code to solve the issue, yet.

I program also in C++, although I like C much more. Indeed I contributed (uncredited) to KiCAD in 2009/2010 (Perhaps Dick Hollenbeck still remembers me).

This project started as a way to sort P-CAD's schematic files so to help with version control, because every time P-CAD saves a file it shuffles all the elements around, making it impossible to do a diff. By sorting the elements of the file, the real differences can be spotted.

Then I noticed that it would be (relatively) easy to output KiCAD files too.

I did know about this other converter already, but it seemed to me that it was not working (at least I could not make it work when I needed, then I desisted using it).


My parsing engine is all table-based, except (in P-CAD's case) for four functions to deal with complicated elements, making it easy to create parsers for other file formats also.


But for now I don't have time to continue developing it. That's why I published the code, so other may give it a try.


Cheers,

Isaac

You received this message because you are subscribed to a topic in the Google Groups "KiCad Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/a/kicad.org/d/topic/devlist/WMtN3o2ePfA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to devlist+u...@kicad.org.
To view this discussion on the web visit https://groups.google.com/a/kicad.org/d/msgid/devlist/CAFdeG-qe74xP4nOtjNNoxM7Tb-LJmqSd8-dsqdDyNv2VCqS4xw%40mail.gmail.com.

Não contém vírus.www.avast.com
Message has been deleted

Isaac Marino Bavaresco

unread,
Aug 5, 2025, 11:44:00 AMAug 5
to KiCad Developers, Isaac Marino Bavaresco
My P-CAD to KiCAD schematic converter is working very well now. It still ignores the electrical type of the pins but otherwise the conversion is very acurate.

It would be nice to have some help with testing.

Cheers,
Isaac

Seth Hillbrand

unread,
Aug 5, 2025, 11:45:41 AMAug 5
to dev...@kicad.org
Message has been deleted

Isaac Marino Bavaresco

unread,
Aug 6, 2025, 11:28:09 PMAug 6
to KiCad Developers, se...@kipro-pcb.com
My converter is an independent console application written in C, it was not intended to be integrated inside KiCAD:

Cheers,
Isaac
Reply all
Reply to author
Forward
0 new messages