Skip to content
ispyisail edited this page Sep 11, 2026 · 2 revisions

Kommandozeilen-Referenz

Überblick über die Kommandozeilenoptionen von QElectroTech.

Korrigiert im September 2026. Diese Seite beschrieb zuvor eine Option --dpi sowie Umgebungsvariablen QET_PLUGIN_PATH / QET_ELEMENT_PATH, die es nicht gibt, und stellte die Argumente in eine Reihenfolge, die der Parser nicht versteht. Alles Folgende wurde am Quellcode geprΓΌft.

Allgemeine Optionen

Diese Optionen nehmen ihren Wert mit einem =-Zeichen entgegen.

Option Wirkung
--help Hilfe zu den Optionen anzeigen
-v, --version Version anzeigen
--license Lizenz anzeigen
--lang-dir=VERZ Verzeichnis mit den Sprachdateien

Je nachdem, wie das Programm übersetzt wurde, stehen eventuell auch diese Verzeichnis-Überschreibungen zur Verfügung: --common-elements-dir=VERZ, --common-tbt-dir=VERZ, --config-dir=VERZ, --data-dir=VERZ. --help zeigt, welche Ihre Fassung hat.

Dateien ΓΆffnen

Eine Projektdatei wird als einfaches Positionsargument ΓΌbergeben. Eine Option -o oder --open gibt es nicht.

qelectrotech meinprojekt.qet
qelectrotech projekt1.qet projekt2.qet

QET erlaubt nur eine Instanz: Ein Aufruf bei bereits laufendem QET reicht die Dateien an das vorhandene Fenster weiter.

Export ohne OberflΓ€che

Übergeben Sie eines der folgenden Flags, und QET ΓΆffnet das Projekt, erledigt die Arbeit und endet β€” ohne je ein Fenster zu zeigen.

Die Argumente sind positionsgebunden, anders als bei den allgemeinen Optionen. Die Form lautet stets:

qelectrotech <flag> <projekt.qet> <ausgabe>

Das Flag steht vor dem Projekt. Die umgekehrte Reihenfolge funktioniert nicht.

Flag Ausgabe
--export-pdf ein PDF, alle Folios
--export-png / --export-svg ein Verzeichnis, ein Bild je Folio
--export-bom CSV, StΓΌckliste
--export-wiring CSV, Von-Nach-Verdrahtungsliste
--export-cables CSV, Verdrahtungsliste aus dem Dokument-XML
--export-wires CSV, Leiternummern
--export-nets CSV, elektrische Netze
--export-links CSV, Querverweise
--info strukturelles JSON (nach stdout, wenn kein Pfad angegeben ist)
--resave neu geschriebenes .qet
--set-titleblock .qet mit eingetragenen Schriftfeldern
--check-elements prΓΌft .elmt-Dateien oder ein Verzeichnis

Dazu --show-terminals, das Klemmenmarken in PDF-/PNG-/SVG-Ausgaben zeichnet.

qelectrotech --export-pdf meinprojekt.qet ausgabe.pdf
qelectrotech --export-png meinprojekt.qet bilder/
qelectrotech --export-bom meinprojekt.qet stueckliste.csv
qelectrotech --check-elements meine_elemente/

Eine Auflâsungsoption gibt es nicht: --export-png zeichnet jedes Folio in der Grâße seines druckbaren Bereichs.

RΓΌckgabewerte

0 Erfolg Β· 1 die Arbeit schlug fehl Β· 2 falsch aufgerufen. Direkt mit set -e verwendbar.

Im Skript

set -e
for f in projekte/*.qet; do
    timeout 120 qelectrotech --export-pdf "$f" "pdf/$(basename "${f%.qet}").pdf"
done

QT_QPA_PLATFORM=offscreen genΓΌgt; Xvfb wird nicht benΓΆtigt. Setzen Sie immer eine Zeitgrenze: Ein mit einer Γ€lteren Version gespeichertes Projekt kann einen modalen Dialog auslΓΆsen.

Umgebungsvariablen

QET definiert keine eigenen Umgebungsvariablen fΓΌr Plugins oder Elemente. Verwenden Sie die Optionen --common-elements-dir= und Verwandte oben, sofern Ihre Fassung sie anbietet.

WeiterfΓΌhrend

Getting Started

Home

🌐 Languages β€” English Β· FranΓ§ais Β· Deutsch

Downloads

Windows without admin rights β€” the portable archive, no installer

Quick Start Guide

User Manual

FAQ

Tips & Tricks

Guides

Conductors β€” wire properties, what feeds which export, cables, and hops where wires cross

Wires per terminal β€” limit the wires on a terminal, chain wiring instead of stars

Printing and exporting β€” paper, PDF, images, and what each path does differently

Linking elements β€” master, slave, terminal

PLC modules β€” I/O tables and linking a wire to a specific point

Using the element editor β€” drawing tools, saving, checks

Grid size and element size β€” why symbols aren't all the same scale, and scaling one without leaving the grid

Preferences reference β€” what each settings page does

Saving and loading settings β€” your whole setup in one file, to copy or keep

Keyboard-only control β€” mouseless QET, and what still needs a mouse

Mouse modifiers β€” what Shift, Ctrl and Alt change while you drag

3D mouse β€” SpaceMouse pan, zoom and buttons

Aligning items β€” snap symbols back to the grid, or line them up

Pictures on a sheet β€” labels, crop, transparency, what they cost in the file

Arcs and curved wires β€” the Arc tool, pulling an arc in or out, rounding a corner with a fillet, dashed arcs for lighting layouts

Grouping items β€” select, move and copy several items as one

Finding your place on a sheet β€” go to a cell like B13 or 4-B7, keep the headers in sight, show the cell limits, zoom and pan

Showing and hiding kinds of items β€” hide texts, wire numbers, shapes, pictures, tables or cross-references on every sheet

Drawing faster β€” place without dragging, the S shortcut bar, command search, gestures

Customising QElectroTech β€” keys, toolbar size and contents, the gesture ring (partly pending)

Managing collections β€” folders, writability, building your own shortlist

Templates β€” reusable multi-element blocks, placed by double-click or drag

Search & Replace β€” bulk property changes

Building a nomenclature query β€” the BOM/summary table builder

Linking wires across pages β€” sheet reports

Variables & formulas β€” %f, %{label}, sequences

Auto-numbering β€” schemes, sequences, freezing

Terminal strips β€” strips, levels, bridges

Title block templates β€” the .titleblock format

Importing EPLAN parts (.edz) β€” EPLAN Data Portal

DXF import & export β€” two unrelated features, one format; command-line export and layers

The project database β€” the in-memory SQLite cache

File formats
Elements XML
Project XML
Development

Building from Source

Contributing Code

Automating QET β€” CLI, XML formats, external tools

CLI Reference β€” command line usage

JavaScript Scripting β€” --run, geometry editing, undo

MCP server β€” let an AI assistant read, verify and edit projects

Connecting an AI assistant β€” setup for Claude, Copilot, Gemini, Codex, Cursor, LM Studio

Script buttons β€” stored scripts with an icon, by hand or by an assistant

Live mode β€” an assistant working in the open project while you watch

Macro recorder β€” record a task by hand, for an assistant to script

Development Roadmap

Vision β€” proposal, under discussion

Developer Tools

About

Features

History

Community

License

Contributing to this Wiki

Clone this wiki locally