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
Em 26/04/2024 14:24, 'Seth Hillbrand' via KiCad Developers escreveu:
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 <https://www.kipro-pcb.com/> i...@kipro-pcb.com
On Fri, Apr 26, 2024 at 7:49 AM Isaac Marino Bavaresco
<imbavare...@gmail.com> wrote:
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 --
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+unsubscr...@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
<https://groups.google.com/a/kicad.org/d/msgid/devlist/04a7015e-b35d-4336-a095-c60c8edcf742n%40kicad.org?utm_medium=email&utm_source=footer>.
--
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+unsubscr...@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
<https://groups.google.com/a/kicad.org/d/msgid/devlist/CAFdeG-qe74xP4nOtjNNoxM7Tb-LJmqSd8-dsqdDyNv2VCqS4xw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
O software antivírus Avast realizou uma checagem de vírus neste e-mail.
www.avast.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+unsubscr...@kicad.org.
To view this discussion on the web visit
https://groups.google.com/a/kicad.org/d/msgid/devlist/8d31d18b-9b5d-40fb-8783-dde7bb23446c%40gmail.com.