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

Em sexta-feira, 26 de abril de 2024 às 16:14:15 UTC-3, Isaac Marino 
Bavaresco escreveu:

> 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
>
> [image: KiCad Services Corporation Logo]
> Seth Hillbrand 
> *Lead Developer* 
> +1-530-302-5483 <(530)%20302-5483>‬ 
> Long Beach, CA 
> www.kipro-pcb.com    in...@kipro-pcb.com 
>
>
> On Fri, Apr 26, 2024 at 7:49 AM Isaac Marino Bavaresco <imbav...@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+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
>>  
>> <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+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
>  
> <https://groups.google.com/a/kicad.org/d/msgid/devlist/CAFdeG-qe74xP4nOtjNNoxM7Tb-LJmqSd8-dsqdDyNv2VCqS4xw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>  Não 
> contém vírus.www.avast.com 
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>  
> <#m_1813961575384957776_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>

-- 
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 visit 
https://groups.google.com/a/kicad.org/d/msgid/devlist/ea9e7848-a6ec-42b4-a016-ad06c12f0418n%40kicad.org.

Reply via email to