Repository navigation
wiring_tools
Tools that draw or maintain wires for you. Terminal strips, bridges and terminal labels are on Terminal strips.
| Tool | Section |
|---|---|
| A project in which terminals in line connect by themselves | 1 |
| Corners, T-junctions, interruption points and cross-references in one click | 2 |
| Folio reports chained over three or more folios | 3 |
| A cable drawn across wires, from a script | 4 |
File β New project with automatic connections creates a second kind of project. Its kind is chosen once, when it is created; Automatic connections (chosen when the project is created) then only shows, ticked and greyed out, that the project is of this kind.
In such a project:
- Terminals in line connect to the next free terminal they face, with a wire, and are disconnected again when you move them out of line. Wires made this way follow when symbols move.
- Connect aligned terminals on this folio connects every free terminal of the folio to the next free terminal it faces, once, on demand. It has a shortcut entry (Diagram editors) with no key assigned by default.
An ordinary project is unchanged. In an ordinary project the wires you draw yourself stay yours.
- They cannot be selected. With live automatic connections the wires are laid by QElectroTech, not by you. A click on one, or a selection rectangle drawn right to left across some corners, no longer picks the wires; the symbols at their ends are selected as before. A wire that is no longer automatic can be selected again. (#1791)
- You cannot draw a wire by hand on a terminal while the project keeps its automatic connections up to date. A wire cannot be started on a terminal, and one dragged onto a terminal is refused (the terminal shows red). That would mix both ways of wiring on one sheet. To draw a wire by hand, switch the automatic connections off for a moment. (#1791)
- A wire ends at the nearest terminal facing it. A corner put on an automatic wire, with its terminal on the line and facing one end, no longer lets the wire run on through it to the symbol beyond. The wire is made anew to that terminal. The search for a partner stops at the nearest terminal facing it, free or not, and does not run past a terminal facing the other end. A terminal turned across the line, beside it on its edge, still leaves it free. (#1829)
- A wire out of line is hidden while you drag. While a symbol is dragged, its automatic wires used to follow it, grey and bent. They are removed at the drop if their ends no longer face each other in line, so such a wire is now hidden until the drop. One whose ends are still in line stays shown. (#1829)
- Only a symbol's frame stops a wire. A symbol stopped a wire over the bounding rectangle of its drawing, which is one pixel of line width larger than its frame. A T-junction's line ends on its terminals, so its top terminal reached one grid step up and stopped a wire passing there, and the neighbour one step below got no wire. The body that stops a wire is now the frame given by the symbol's definition (width, height and hotspot), mapped to the sheet. (#1865)
- Drawing aids stop wires too, even when hidden. An interruption point is a drawing aid Β§11. Hidden with Display β Show β Drawing aids, it still stops the automatic connections. (#1866)
The Connections toolbar adds, with one click, the pieces that join wires. The kinds are:
| Kind | Piece |
|---|---|
| Corner | an angle between two wires |
| T-junction, with its mirrored form and branch left / right | a branch off a wire |
| Interruption point | a wire that continues elsewhere |
| Report outgoing / incoming | the cross-reference to another folio |
Each button's menu chooses which symbol it places:
| Menu entry | Meaning |
|---|---|
| Use the symbol highlighted in the collection | The symbol selected in the collection panel is used. If none is, you are told: Highlight a symbol in the collection first. |
| Default symbol | The built-in symbol. |
Every button is a command with a shortcut entry (Diagram editors), none assigned by default, and the toolbar can be changed in Customising QElectroTech.
Tick A new corner or T-junction replaces the one under it (Settings β Configure QElectroTech β General, tab Mouse and input, group Drawing and moving; off by default) and a corner or T-junction from the Connections toolbar placed exactly where another one stands takes its place:
- the old symbol goes;
- each of its wires moves to the new symbol's terminal at the same point, keeping its colour, section and text;
- a wire with no terminal at that point goes with the old symbol;
- one undo brings the old symbol back together with its wires.
That turns a corner into a T-junction, or a T-junction into its mirror image, without deleting and redrawing the wires. Unticked, both symbols stay. Added in #1670.
Dragging a corner, T-junction or folio report while placing it puts one on every wire the drag crosses. That always worked in a project with automatic connections. Tick With "auto conductor", a drag places a connection symbol on every wire it crosses (same group; off by default) and a project with Automatic creation conductor (s) (Project menu) but without automatic connections gets the same copies. Each copy is joined once by an ordinary, selectable wire, the way auto conductor joins a single symbol placed in line. Unticked, a drag places one copy. Added in #1872.
Edit β Symbols β Show as a dot draws a selected T-junction as lines and a filled dot where they meet. See Symbols already on the sheet Β§3. Added in #1792.
With Enable chained folio reports for report elements ticked, folio report elements with the same label are chained in a forward / backward sequence, so a wire can run across three or more folios, each report pointing to the next and the previous.
It is set in two places:
- Settings β Configure QElectroTech β General, tab Projects: the default. New projects get it ticked.
- The project's own properties: the same tick box, per project.
See Linking wires across pages.
qet.addCable draws a cable the way the cable tool does: the line from
(x1, y1) to (x2, y2) on the folio becomes the cable's trunk, and every
wire the line crosses becomes the next core, in order along the line, with
the colour the core list gives for that place. It is one undo step.
// cable W1 across the wires between (100, 200) and (300, 200) on folio 0
var uuid = qet.addCable(0, "W1", "LiYY 4x1", ["BN", "BU", "BK", "GNYE"], "12 m",
100, 200, 300, 200);| Argument | Meaning |
|---|---|
folioIndex |
the folio |
designation |
the cable's name; empty takes the next free name |
type |
the cable type |
coreColors |
colours, in order along the line |
length |
the length, as text |
x1, y1, x2, y2 |
the two ends of the line |
It returns the cable's uuid, or an empty string. A wire already held by another
cable is not taken from it: the call is refused, because a script cannot
answer the question the tool's dialog asks (whether to move it). qet.cables()
lists the cables of the project. The qet MCP server offers the same, see
MCP server and Scripting.
- Symbols already on the sheet
- Drawing aids
- Terminal strips
- Wires per terminal
- Conductors
- Linking wires across pages
Checked against build
b49ce16c4on 2026-11-27 (read from source: the labels, menus and defaults in the sections added on 2026-11-27, checked against that build's source; not run).
Getting Started
π Languages β English Β· FranΓ§ais Β· Deutsch
Windows without admin rights β the portable archive, no installer
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
Generic devices β a quick box symbol with terminals on any side, made by a wizard
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
Drawing aids β dark mode, snap and grid step, crosshair, dimensions, the tape measure
Symbols already on the sheet β select the same symbols, replace them, show a T-junction as a dot, update placed copies from the collections
Symbol texts β place the texts at nine points, fixed or free size, format painter, title block cells, GOST ESKD, %T
Wiring tools β automatic connections, the Connections toolbar, chained folio reports, a cable across wires
Symbols and parts β edit several symbols, relay contact display, grouped parts list
Device types β what a device is made of: check, place and change its parts, Device Navigator
Project languages and checks β languages in a project, cell origin, duplicate labels, the Check panel
Reports and lists β project lists to CSV/PDF, tables on a folio, label-printer export, symbol list
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
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
Formula columns β build a calculated column in a parts list without writing SQL
Linking wires across pages β sheet reports
Variables & formulas β %f, %{label}, sequences
Auto-numbering β schemes, sequences, freezing
Terminal strips β strips, levels, bridges
Connectors β plugs and sockets as terminal strips or head-with-pins devices, device types, pin check, spare-pin plans
Title block templates β the .titleblock format
Title block alignment β place a title block inside or outside the sheet, left, centred or right
Plants and locations β list, rename, copy a plant, suggestions
Designations and structure boxes β IEC 81346 names, structure boxes, ==/++ levels, folio groups, company prefixes
Revisions, document kinds and drawing standard β revision list and table, IEC 61355 document kind, project standard
Importing EPLAN parts (.edz) β EPLAN Data Portal
DXF import & export β two unrelated features, one format; command-line export and layers
Project files β .qetz (zipped, the default) and .qet, what is inside, opening big projects faster, starting from a template
The one-file project, .qetdb β history of saves, repair, --query over many projects
Saving safely β previous versions, a project open elsewhere, damaged files, crash recovery
The project database β the working SQLite database built when a project opens
Development
Code style β the QET house style for C++, and formatting only the lines you change
Fix or add with an AI assistant β beginner build setup and a prompt that does the work
Check your change: qet-verify β run it before every pull request
Posting with an AI assistant β short, plain pull requests and replies
Translate with an AI assistant β draft the interface in your language, check it, send it
Making a how-to video β a short feature video from a checked story
Writing wiki pages with an AI assistant β the rules, and a checker to run before you push
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
Vision β proposal, under discussion
