thomaslepoix / Qucs-RFlayout

Export Qucs RF schematics to KiCad layouts & OpenEMS scripts
GNU General Public License v3.0
125 stars 11 forks source link
kicad microstrip microwave openems openhardware pcb pcb-layout pcb-rnd pcbnew qucs qucs-rflayout

Liberapay patrons Discord License Version Nix

CodeQL SonarCloud quality gate

Package Debian Package Windows

Qucs-RFlayout

A tool to produce layouts from Qucs RF schematic (microstrip only for now)

qucs-schematic.sch -> kicad-layout.kicad_pcb [OK]

                                        -> kicad-module.kicad_mod [OK]

                                        -> pcb-rnd-layout.lht [OK]

                                        -> openEMS-script.m [OK]

                                        -> image.svg [Beta]

                                        -> gmsh.geo [ASAP]


French documentation here

This software is a part of the Open-RFlab project and relies on the octave-openems-hll library, if you are interrested in contributing or involved in an other somewhat -> openems converter please take a look.


Screenshots

Qucs : schematic.sch

qucs_sch

Qucs-RFlayout : preview

qucsrflayout_preview

Pcbnew : layout.kicad_pcb

pcbnew_kicad_pcb

Pcbnew : module.kicad_mod

pcbnew_kicad_mod

Pcb-rnd : layout.lht

pcb-rnd_lht

Inkscape : image.svg

inkscape_svg

OpenEMS : simulation.m

appcsxcad_m


Installation

Dependencies

Package installation

Installation from sources

Nix way (non-NixOS) :

nix profile install --impure 'github:thomaslepoix/Qucs-RFlayout#qucsrflayoutNixGL'

Debian way :

Take a look on the debian branch.

Classic way :

The build-time dependencies are the following, check equivalents on your own for other distros (reports are welcome) :

Qucs-RFlayout $

    cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release
    cmake --build build
    sudo cmake --build build --target install
Supported build options (among regular CMake options): option value default comment
CMAKE_BUILD_TYPE Debug, Release, Coverage ... Release
CMAKE_CXX_COMPILER g++, clang++ ...
QRFL_MINIMAL ON, OFF OFF Disable GUI and Qt dependency


Usage

qucsrflayout -i qucs-schematic.sch -o output-directory -f .output-format


Limitations


Work in progress... thomas.lepoix@protonmail.ch