|
From: Chris <chr...@ym...> - 2020-04-07 14:05:07
|
@Thomas "Try something like this :" I've just remembered that I tried that when I first started, but when I saw it only produced a simulation file I forgot about it :) It will produce a file which I can process, so I will build it into my script - thanks. -------- Forwarded Message -------- Subject: Exporting Netlists for Circuit Design Software Date: Mon, 6 Apr 2020 16:13:36 +0100 From: Chris <chr...@ym...> To: quc...@li... I can use a gEDA utility to convert a gEDA schematic into the Altium (ex Protel1/ex Tango) format. I can load this into circuit board design software. I would prefer to use Qucs, so I have written a Python script: This can take a Qucs schematic file and produce an Altium format file (part example below and full example attached), the schematic only contains components, so the Altium file only contains components - no nets. If I also want the nets it is a rather long-winded process: 1) Simulation>Simulate 2) Simulation>Show last netlist 3) Click on "Show last netlist" tab. 4) Cut and paste contents of "Show last netlist" tab to a file with .sim extension. 5) Run the script on that file. This produces an Altium format file, the "Show last netlist" file contains both components and nets, so the Altium file contains both components and nets. It would be much easier if this could all be run from Qucs. I suppose this might be a plugin, but I have looked at https://qucs-help.readthedocs.io but can't find anything on plugins. At least it would help to have a file export option which did steps 1-4. If this script might be useful to others I can upload it. I am adding the most common Qucs components to a part list to translate them into types acceptable to Altium, but could do with help finding the libraries. [ C1 CAP_CERAMIC 100 nF ] ( net1 C1-1 R5-1 R8-2 ) |