GNU General Public License v3.0

项目介绍

thomaslepoix/Qucs-RFlayout 是一个托管在 GitHub 上的开源项目,主要使用 C++ 编写,采用 GNU General Public License v3.0 许可证,目前获得 169 个 Star、17 次 Fork。

仓库全名
thomaslepoix/Qucs-RFlayout
开源许可证
GNU General Public License v3.0
Star 数
169
Fork 数
17
未关闭 Issue
4

README 摘要

Qucs-RFlayout A tool to produce layouts from Qucs RF schematic (microstrip only for now) qucs-schematic.sch -> kicad-layout.kicadpcb [OK]                                         kicad-module.kicadmod [OK]…

完整内容见 GitHub 原始 README 或本页 。

常见问题

Qucs-RFlayout 用什么语言开发?

主要使用 C++ 编写,采用 GNU General Public License v3.0 许可证,目前有 169 个 Star。

Qucs-RFlayout 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 Qucs-RFlayout 的源码?

可以直接克隆仓库:git clone https://github.com/thomaslepoix/Qucs-RFlayout.git,默认分支为 master;安装与运行步骤见仓库 README。

Qucs-RFlayout 最近还在维护吗?

仓库最近一次更新为 2025年8月25日,当前有 4 个未关闭 Issue;Star 数为 169,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Export Qucs RF schematics to KiCad layouts & OpenEMS scripts

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
218
价值分
107
活跃状态
活跃

语言占比

C++
CMake
Nix

Release

README

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

  • Better example : A low pass filter designed, produced and measured by F4HDG. Thanks to him!

  • Generated scripts outputs :

    • Touchstone file (.sxp)
    • S parameters (Smith chart and orthogonal)
    • Feed point impedance
    • Feed point VSWR
    • Phase response (wrapped and unwrapped)
    • Phase delay and group delay
    • Azimuth & elevation far field radiation pattern (polar and orthogonal, normalized and in dBi)
    • 3D far field radiation pattern for multiple frequencies (animated .gif)
    • Electric & magnetic fields, current and current density in time domain (visible with Paraview)
  • Here is a tutorial.


Installation

Dependencies

  • Qucs or Qucs-S is needed (even if you want to convert QucsStudio files), be sure it is installed and accessible from your PATH variable.
  • OpenEMS scripts dependencies :
    • OpenEMS (octave-openems package available on Debian based distros, octave-openEMS on openSUSE)
    • ImageMagick (packages available on most distros)

Installation from pre-built package

  • For Debian based distributions, a repository is available here.

  • For RPM based distributions and Windows, you can download packages here.

Installation from sources

Nix way (non-NixOS) :
nix profile install --impure 'github:thomaslepoix/Qucs-RFlayout#qucsrflayoutNixGL'
Arch way (AUR) :

A third-party repository is available here.

yay -Syu qucs-rflayout
Debian way :

Take a look on the debian branch.

Classic way :

Be sure to use a compiler that supports C++23. The build-time dependencies are the following, check equivalents on your own for other distros (reports are welcome) :

  • Arch : qt6-base, qt6-tools, texlive-meta, ttf-lato
  • Debian 12 : qt6-base-dev, libqt6opengl6-dev, texlive-xetex, fonts-lato
  • Fedora 40 : qt6-qtbase-devel, texlive-xetex, texlive-standalone, lato-fonts
  • MacOS + Homebrew : qt, texlive, font-lato (cask)
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
QRFL_PORTABILITY_TWEAKS ON, OFF OFF Disable usage of platform native dialogs (Qt doc)

Usage

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

Limitations

  • Microstrip only for now, coplanar waveguide ASAP.
  • Any other component cannot be converted into a geometric shape of metal by this tool.
  • Use one wire to connect only two component ports, use appropriate components to make tees or crosses.
  • QucsStudio schematics are supported (2.x versions only) but it is closed source and there are some incompatibilities, so please prefer using Qucs. If you really need to work with QucsStudio 3.x, take a look at this converter.

Work in progress… [email protected]

评论

暂无评论