Mir sind nur zwei Möglichkeiten bekannt, wie man Kontakte miteinander verbindet:
Entweder man verbindet sie mit einer mechanischen Verbindung (gestrichelte Linie) oder man verknüpft sie als "Master-Slave".
Dein Vorgehen ist aus meiner Sicht also völlig o.k.!

Tip: Move the mouse pointer slowly over the icons in the toolbar and read the hint texts!

jns wrote:

Was ich erreichen möchte ist, ein Drucktaster mit einem Öffner und einem Schliesser, welche ich individuell platzieren kann. Gibt es da eine elegante/standart Lösung?

Wer oder was hindert Dich daran, den zweiten Kontakt frei auf einem beliebigen Folio zu plazieren und die beiden dann zu verknüpfen?

Die Einstellungen wirken natürlich nur für die Elemente, die man auch passend eingestellt hat:
Man kann das in den Einstellungen für Spule, Schutzeinrichtung, Schalter unterschiedlich machen.
Dann klappt's auch mit den Schaltern und Hilfskontakten...

Hallo Foriever,

Deine Beobachtung stimmt!

Da ich das Verhalten auch nicht toll finde, habe ich mich im Quellcode auf die Suche nach der passenden Stelle gemacht und glaube, das Verhalten auch so geändert zu haben, sodass nur gescrollt wird, wenn der Text den sichtbaren Folio-Ausschnitt verlässt.
Werde bei GitHub einen PR erstellen.

online-translator:

Salut Foriever !

Ton observation est juste !

Comme je n'aime pas non plus ce comportement, j'ai cherché l'endroit approprié dans le code source et je pense avoir modifié le comportement de sorte que le texte ne défile que lorsqu'il quitte la partie visible du folio.
Je vais créer un PR sur GitHub.

Kellermorph wrote:

Jetzt fehlt mir nur noch die Variable für die höchste selbst eingetragene Seitenzahl.

Ich kann noch nicht so ganz nachvollziehen, welchen Nutzen Dir diese Angabe bringen soll!
Im Inhaltsverzeichnis stehen doch alle Folios mit den neu benannten "Seitenzahlen" in der richtigen Reihenfolge drin!

Wenn ich einen Schaltplan bekomme und sehe auf der letzten Seite eine Angabe wie "Seite 57 von 57", dann erwarte ich einen Stapel von 57 Blättern. Und wenn ich die Blätter dann durchzähle und finde nur 38 Blätter, dann gebe ich den sofort zurück und fordere einen kompletten Plan!
Wenn zwischendurch einige Seitenzahlen übersprungen werden für Reserve oder so, dann erwarte ich dort leere Folios. Oder entsprechende erklärende Trennblätter. Dann will ich aber irgendwo nachsehen können, wieviele Blätter ich in diesem Schaltplan zu erwarten habe. Deswegen wäre eine Angabe

Seite 57 (gesamt: 38 Blatt)

meiner Meinung nach vielleicht sogar richtiger bzw. praktischer!

Your file contains garbage!

At the end there are many lines behind the last closing tag "</project>" (see screenshot) and at line 12315 there are additional (fragments) of tags!

It seems that you once had some problems with your system? Did you switch off your system without closing all programs? Just guessing...

alexandra wrote:

la version utilisé est :
QElectroTech V 0.80c+87c957a06d79751d3
(...)

With which version was the QET-file created?

Do you have a special reason why you use such an old version?
Please try more recent version 0.9 or even the current dev-version from QET Download-page:
https://qelectrotech.org/download.php

The log file was not as informative as hoped:
Apart from two warnings, I don't see anything unusual.

alexandra wrote:
(...)
11:43:28.526 Warning: QString::split: invalid QRegularExpression object (:0, )
11:43:33.920 Warning: QString::split: invalid QRegularExpression object (:0, )
(...)
alexandra wrote:

comment puis je vous envoyer mon fichier ? Sur quelle adresse mail ?

Please attach the qet-file to a post here in the forum. Unless there are any legal concerns regarding patents or company secrets!

Hello Alexandra!

Many unanswered questions before you can be helped:
Which system are you using?
Which QElectroTech version are you using? (Help -> About QElectroTech -> ‘Version’ tab)
Are there any helpful entries in the log file? (Help -> About QElectroTech -> ‘log’ tab)
What have you done with the file in the meantime? (edited it with an editor or something?)
Can you make the file available for checking?

Kellermorph wrote:

If im doing it, it doesnt change the Number. In this example from 6 to 8.

Streiche doch mal das "-id" aus dem Schriftfeld und schreibe nur "%(folio)" da rein!

337

(209 replies, posted in Import DXF)

Addendum:
In the thread Scripts / QET-Element to SVG you find some posts with comments from Laurent, Joshua and me about texts, fonts and font-sizes in qt / QET. There are also some links to docs for further reading.
https://qelectrotech.org/forum/viewtopic.php?id=2637

8A wrote:

What is the correct way to create a new element from a DXF?

Did you notice the menu-entry just below "Import scaled element"? (see attachment!)
AND: Use the conversion-tool dxf2elmt! The other tool is VERY outdated!
You find the download-link for win64 in this post: https://qelectrotech.org/forum/viewtopi … 520#p20520

8A wrote:

(...) I exported a DXF (...)

What do you want to do?
QET works with own file-formats for elements and schematics!

I think, many of your questions about scale and dxf-import will be answered, if you read in the other thread and follow the links there:
https://qelectrotech.org/forum/viewtopi … 684#p20684

339

(209 replies, posted in Import DXF)

Hello Vadoola!
Salut Laurent !

vadoola wrote:

Another question is if I have a dxf that is "unit less" should I do any scaling at all or just assume it's in pixels. I don't recall which drawing it was ...

It would of course be a great help to see such a unitless file in order to be able to judge how we should deal with it.

But if there are no units, there is nothing you can do but assume pixels as the unit. Perhaps a factor of 10, 100, etc. would make sense if it turns out that the structures would otherwise be too small? You can only estimate the factor if you have seen a few examples...

8A wrote:

(...) but I need to scale a DXF  (...)

As the name QET_ElementScaler might suggest, only QET-Elements can be scaled by that software!
You need to convert your dxf to a QET-Element before using QET_ElementScaler!

Closing a single folio is not supported (yet).
But you can also navigate through the folios using the project-tree by double-clicking on the folio-name.

342

(209 replies, posted in Import DXF)

Hello vadoola!
Salut Laurent !

vadoola wrote:

That calculation is based on trying to map the real world dimensions to pixels based on an A4 Sheet of paper using the standard QET Template.

As I already wrote several times in this forum:
QET is primarily a software to draw schematic diagrams.
QET is no substitute for CAD software like LibreCAD, AutoCAD or so.
The only dimension QET "knows" is px!
These number of px can be set by every user individually for height/width of a folio.
A folio itself has no direct connection to a papersize – it can be printed to any papersize, users have a printer for.

So in my opinion we should NOT use a specific size of paper for the scaling of elements!

As I suggested several times we should use a front-view-scaling where the user can see the real size at first sight or where he/she can calculate the real size by using a simple integer factor:
1 mm <-> 2 px

1 px is also the smallest step size, a QET-Element can be moved in diagram-editor. So then we could "move" the elements by 1 px = 1/2 millimeter in real-life.

We already have a wild mixture of scaling-factors with front-views: Please don't add another!



About the texts / fonts

That wasn't meant as a negative criticism: just a remark that this is the case.
It is clear to me in particular that there is still a lot of work to be done to integrate the texts correctly into the element. You will have "a lot of fun” with the text position, because it is not directly on the baseline of the first letter, but on a bounding box that is specified by qt, but not well described...

A difference to many other software: QET can only handle font-sizes which are integer numbers!

LievenC wrote:

In the new version I found another issue ...

Can't reproduce either:
TitleBlock-Template is removed from directory, Templates-Tree and ComboBox in QET-Settings.

Do you possibly have file-access-problems on your "non-admin"-machine?

On M$ where I don't have admin-rights I only use the "Ready-To-Use" - Version!
I use DoubleCommander to unpack and copy it to a folder in "D" and it works perfectly for some years now!
When upgrading to a new version you first have to delete the elements-folder for the case that some elements are moved from one folder to another AND you have to prevent the config-folder from overwriting.

You are right, Lieven, the ComboBox with the list of ALL templates isn't filled with the company-templates!

Sorry for confusion!

I am already on the search in the sourcecode, where this is going wrong...

But in the meantime you can use the "workaround"!

EDIT:
Found, where it went wrong! (see attachment)
Will create a pull-Request on GitHub!

346

(209 replies, posted in Import DXF)

Hello Vadoola!
Salut Laurent !

That's a great step forward, Vadoola!

It looks very good, but unfortunately I have to say that the dimensions are not yet right. There's a factor of 10/3 in there somewhere with the part I used. The attached part has the dimensions 60 x 210 mm, but the resulting element is 200 x 700 px.

And when I look at the texts that come out of a previously used example (05DI-AD16DIX-10.dxf): There the font is not correct yet and the font height is not set either, so QET uses the default size 9 when opened.
This is how it looks now (formatted by hand!)

        <dynamic_text x="35.12" y="-11.14" z="0" rotation="0" 
            uuid="{51347e64-514a-47dc-8c7f-aa180de58afd}" 
            font="Arial Narrow" 
            Halignment="AlignHCenter" Valignment="AlignVCenter" 
            text_from="UserText" frame="false" text_width="-1" color="#000000">
            <text>\C7;\fArial|b0|i0|;\H0.030335398390889;All Connectors 
are Located 
Under Gullwing 
Covers</text>
        </dynamic_text>

When I look at the texts in the converted element, I think that this would be correct for the text, font and font height:

        <dynamic_text x="35.12" y="-11.14" z="0" rotation="0" 
            uuid="{51347e64-514a-47dc-8c7f-aa180de58afd}" 
            font="Arial,3" 
            Halignment="AlignHCenter" Valignment="AlignVCenter" 
            text_from="UserText" frame="false" text_width="-1" color="#000000">
            <text>All Connectors 
are Located 
Under Gullwing 
Covers</text>
        </dynamic_text>

The font-size of "3" in this example has of course to be set to the correct value: I chose a reasonable value here.

In QET-Settings for new projects you find ALL titleblock-templates from ALL collections to choose from.

In project- or folio-settings you only find templates that are available in the project:
Drag the newly created template from the tree to a folio to add it to the project. Then you can also choose from the dialog, which template to use.

If I understand your problem correct, you have to choose "New template (enter its name)" and then you can edit the filename.
see screenshots

I use latest QET dev-version with Debian/GNU Linux (unstable).

Salut Rigautou !

Welche Anleitung hast Du gelesen, aber nicht verstanden?
Was hast du bereits ausprobiert?
Frage bitte konkret nach, was du nicht verstanden hast!

via Online-Translator:

Quelles sont les instructions que tu as lues mais que tu n'as pas comprises ?
Qu'est-ce que tu as déjà essayé ?
Demande concrètement ce que tu n'as pas compris !

Ich verstehe das so, daß die Datei qet_labels.xml in Dein eigenes Element-Verzeichnis gehört.
Die Forumsuche nach dem Begriff "qet_labels" liefert auch diesen Eintrag:
https://qelectrotech.org/forum/viewtopi … 772#p19772