galexis wrote:

Yes, it's possible, but on this version. It's impossible to set properties like  machine, localisation

Can not confirm: Everything can be entered here to the edit-fields. See attachment.

It's the version from Package qelectrotech-0.100.0+git8440-x86-win64-readytouse.7z

QElectroTech V 0.100.0-dev
Compilation: GCC 13.3.0
Built with Qt 5.15.16 - x86_64 - Date : Mar 26 2025 : 12:21:06
Run with Qt 5.15.16 using 2 thread(s)

Wovon ist das ein Screenshot? Vom pdf?
Es wäre absolut hilfreich gewesen, wenn Du das entsprechende Element auch mit angehängt hättest: So kann ich nur Vermutungen anstellen.
Für mich sieht es so aus, daß das Terminal nicht zentriert im Kreis platziert ist. Aber: Nur eine Vermutung!

Kellermorph wrote:

In DXF ist es ja masstabsgetreu. Wird das so übernommen?

Wo kein Maßstab ist, kann keiner übernommen werden: QET enthält keinen Maßstab!

Wir konnten vadoola, den aktuellen Entwickler von dxf2elmt, aber davon überzeugen, auch den Faktor 1mm in real zu 2 px im Element zu verwenden, wenn im dxf eine Bemaßung drin ist!

Wer also die aktuelle Version dxf2elmt von vadoola verwendet, nutzt den Faktor 1mm -> 2 px.

Eine der letzten Versionen gibt's in diesem Thread: https://qelectrotech.org/forum/viewtopi … 123#p21123

galexis wrote:

Properties Machine, localisation have disappeared. Normal ?

In one version at the beginning of February, we incorrectly removed empty properties from the project. This has been fixed in the following version. Unfortunately, this does not bring back the removed properties. They have to be entered again. Sorry for that!
Is it possible that you used this version on the project?

Wie lange hast Du gesucht, um den Knopf nicht zu finden?

Kopieren und einfügen des Textes in einen Online-Übersetzer geht aber auch: en <-> de funktioniert meistens recht gut!

82

(193 replies, posted in Import DXF)

Hello vadoola,

the file pxc_2700975_11_00_ILC-171-ETH-2TX_2D.dxf from Phoenix Contact seems to be a real challenge!
When converting exploded drawing from LibreCAD, the controller is found outside the drawing-area of the A3-sheet.
It is (of course) copyrighted, so no re-distribution here: --> Downloads --> Technische Zeichnung

83

(3 replies, posted in Import DXF)

BAXTERH2000 wrote:

j ai qeletrotech 1.00

surely not: Menu -> Help -> About QElectroTech -> Tab "Version"


BAXTERH2000 wrote:

lorsque je tente une conversion je me retrouve avec un fichier .elm alors que je voudrais avoir un .qet quelq'un peut il m'aider

Reading helps!
Cite from QET - Homepage: 

Dxf2elmt is CLI program which can convert .dxf files into .elmt files.

and:

DXFtoQET : Element DXF Converter
The converter element is a small utility that converts a DXF element to a elmt element.


Create a new QET-Project, place the converted element to the folio and save the file.
Then you have a *.qet - file!

schaumermal wrote:

gibt es hier eine Möglichkeit das gezeichnete (zu große) "Bauteil" Maßstabgetreu zu verkleinern (...)?

Nachtrag:
Du hast nicht geschrieben, welche QElectroTech-Version Du benutzt.

In QET 0.100-dev gibt es im Element-Editor die Möglichkeit, das Kommandozeilen-Tool "QET_ElementScaler" aufzurufen, das ein bestehendes Element gleichmäßig in alle Richtungen skalieren kann. Dabei werden selbstverständlich auch die Beschriftungen entsprechend angepasst.

Dazu gibt es hier im Forum auch schon diverse Fragen und Antworten.

85

(2 replies, posted in Code)

Hallo Achim,

achim wrote:

Wenn Sie es möchten, mach ich einen Pullrequest.

wir können gerne beim "Du" bleiben!  nomicons/wink
Ist so üblich im Forum.

Wir müssen aufpassen, daß uns nicht irgendwann die Tastenkombinationen ausgehen.
Im Moment sehe ich aber keinen Grund, Deinen Patch zurückzuweisen:
Erstelle doch einen PR!

Hallo Leidender!

Kurze Antwort:
Geht nicht!

Für die etwas längere Antwort solltest Du Deine Englisch-Kenntnisse auffrischen, oder einen Online-Übersetzer nutzen:
https://qelectrotech.org/forum/viewtopi … 437#p18437
(Bitte nur den verlinkten Post lesen: die folgenden Posts basieren auf "merkwürdigen" Annahmen.)

Könnte mir eigentlich 'nen Textbaustein dafür machen, so häufig wie hier nach Maßstab bzw scale gefragt wird...
Die Forum-Suche ist auch so schlecht zu finden!  nomicons/wink

Du kannst nur dafür sorgen, daß Deine Elemente untereinander den gleichen Maßstab haben, damit die in Relation passen.
Als guter Wert, den Du ja auch schon bei den LS gefunden hast geht: 1mm = 2px im Element-Editor.

plc-user wrote:

Just noticed this warning:

QMetaObject::connectSlotsByName: No matching signal for on_m_color_kpb_changed(QColor)

Fixed this and one other broken signal in current qt6-make - branch!


EDIT:
This signal was already broken in master-branch: Fixed there, too!

88

(23 replies, posted in Code)

@All:
Can someone please explain C/C++-Basics to Re-searcher!

@Re-searcher:

What you are doing is only define a new variable of the type "QPen" with the name "point" and the properties "color=Qt::black" and "penWidth=1"

If it were right what you say, that a variable has different properties, when you use another name:
Call your QPen "Superman" and the grid-points will fly!!!

By declaring and using a new QPen, you totally ignore all other settings, that are made to the QPen in the beginning of the function "Diagram::drawBackground" and use the default-values for Qt::PenStyle, Qt::PenCapStyle and Qt::PenJoinStyle!


Please learn the basic basics of C/C++ for declaring variables, before shouting and yelling:
https://www.learncpp.com/cpp-tutorial/v … alization/

89

(23 replies, posted in Code)

@Re-searcher:

Wenn Du nichts erklärst, kann niemand nachvollziehen, was du meinst!
Ich habe es nicht nötig, hier von irgendwem angeschrieen und beleidigt zu werden und werde nichts mehr zu diesem Thema beitragen!
Nur noch eins: Mit Deiner Aussage zu QPen hast Du Unrecht!

via online-translator:

If you don't explain anything, nobody can understand what you mean!
I don't need to be shouted at and insulted by anyone here and won't say anything more on this subject!
Just one thing: You are wrong with your statement about QPen!

Das ist die laufende Nummer im Projekt oder per Folio.
Je nachdem, was Du eingestellt hast.
Jedenfalls nicht per Präfix!

Kellermorph wrote:

Das hat geklappt.

Schön!

Kellermorph wrote:

Aber wieso der 2 Kategorien braucht weiß ich echt nicht.

Das weiß wohl nur der Geier! 
(Wie das wohl von Online-Übersetzern verarbeitet wird? nomicons/angel)
Wir scheinen da einen Bug gefunden zu haben.
Oder der Programmierer konnte sich seinerzeit nicht vorstellen, daß jemand in der obersten Ebene schon Elemente und nicht nur Verzeichnis-Struktur hat. Wer weiß?

Kellermorph wrote:

Kannst du mir denn noch die Frage mit den Verzeichnissen beantworten? An sich ist das doch kein Problem, wenn irgendwer so ein Pfad kennt oder?

Da war ein gehöriger Schuß Ironie dabei!
Im ersten Schritt geht man erstmal von "komischer" Konfiguration bei der BMK-Formel aus, es kamen aber nur Screenshots von irgendwelchen Verzeichnissen.
Solange der Rechner nicht von außen zugreifbar ist und/oder hinter einer Firewall arbeitet, sollte das kein Problem sein.

Als Versuch:
Lege doch mal die Elemente eine Verzeichnis-Ebene tiefer und passe die qet_labels.xml entsprechend an

Es ist schön, deine Verzeichnisse bald alle zu kennen,  nomicons/wink
aber die entscheidenden Screenshots habe ich noch nicht gesehen:

Die Einstellungen der Nummerierungsregel im Projekt!

In den Elementen ist nur ein leerer dynamischer Text definiert, der als Inhalt das "BMK" (label) zeigen soll.


EDIT: Die Version 0.9 funktioniert auch!

EDIT again:
Die Nummerierungsregeln werden nur angewendet, wenn ein Bauteil neu zum Folio hinzugefügt wird.
Bestehende BMKs werden nicht geändert!

Bei mir sieht das so aus und funktioniert mit der aktuellen QET 0.100-dev - Version.

95

(39 replies, posted in Code)

Based on the qt6-make branch with some more cleanup regarding Qt version checks.

By the way: I have to take a closer look at git-branches. How to use them and so ...  nomicons/wink

No need to hurry: health comes first!

plc-user wrote:

Ich verstehe das so, daß die Datei qet_labels.xml in Dein eigenes Element-Verzeichnis gehört.

Ins Basis-Verzeichnis der Benutzersammlung!
In der Firmensammlung funktioniert das (noch) nicht.

KORREKTUR:
In der Firmensammlung funktioniert das genauso!

Salut Laurent !

On QET download-page for win it says:

Ready-to-use versions are PORTABLE versions: they don't need to be installed!

But when using it, it creates it's configuration in registry ... hmm ...  not really portable!
To be really portable it would be necessary to write the config to a file in sub-dir "conf" in the Ready-To-Use - folder.

Then it would be possible to carry the whole Ready-To-Use - folder to another system and have everything like before. Especially when we think about the near future, when we also ship some fonts with QET.

What do you think, Laurent?
Would it be a big effort to have the configuration in a file for the win Ready-To-Use - version?

99

(39 replies, posted in Code)

plc-user wrote:

Auch, wenn Du den Text als Link markierst und den Text als Ziel-Adresse definieren kannst:
Das Ziel muss auch wissen, daß es Ziel ist, (...)

In the meantime, I have written a code that creates a position list with links and targets in the print module that can be used to insert PDF links.
I just haven't found anything in the Qt docs that explains what a link or a corresponding target should look like so that it works in the PDF file!

***** find positions for PDF-internal links...
XRef from page 3 QPoint(1380,620) to page 4 QPoint(120,440)
XRef from page 3 QPoint(1380,770) to page 4 QPoint(120,90)
XRef from page 3 QPoint(1380,640) to page 4 QPoint(120,420)
XRef from page 3 QPoint(1380,600) to page 4 QPoint(120,400)
XRef from page 3 QPoint(1380,790) to page 4 QPoint(120,110)
XRef from page 4 QPoint(120,90) to page 3 QPoint(1380,770)
XRef from page 4 QPoint(1320,90) to page 5 QPoint(120,90)
XRef from page 4 QPoint(120,110) to page 3 QPoint(1380,790)
XRef from page 4 QPoint(120,440) to page 3 QPoint(1380,620)
XRef from page 4 QPoint(1320,110) to page 5 QPoint(120,110)
XRef from page 4 QPoint(120,400) to page 3 QPoint(1380,600)
XRef from page 4 QPoint(120,420) to page 3 QPoint(1380,640)
XRef from page 5 QPoint(1380,90) to page 6 QPoint(120,90)
XRef from page 5 QPoint(120,90) to page 4 QPoint(1320,90)
XRef from page 5 QPoint(1380,110) to page 6 QPoint(120,110)
XRef from page 5 QPoint(120,110) to page 4 QPoint(1320,110)
XRef from page 6 QPoint(120,110) to page 5 QPoint(1380,110)
XRef from page 6 QPoint(1380,270) to page 8 QPoint(110,180)
XRef from page 6 QPoint(1380,440) to page 8 QPoint(110,440)
XRef from page 6 QPoint(1380,410) to page 8 QPoint(110,410)
XRef from page 6 QPoint(1380,240) to page 8 QPoint(110,210)
XRef from page 6 QPoint(120,90) to page 5 QPoint(1380,90)
XRef from page 8 QPoint(110,440) to page 6 QPoint(1380,440)
XRef from page 8 QPoint(110,180) to page 6 QPoint(1380,270)
XRef from page 8 QPoint(110,410) to page 6 QPoint(1380,410)
XRef from page 8 QPoint(110,210) to page 6 QPoint(1380,240)

There are also additional constraints such as fitting on the page or the print area. "Automagic" zoom factors are used here, which also have to be applied to the positions of the links and targets.

100

(7 replies, posted in Scripts)

Kellermorph wrote:

(...) dass das vorher die falsche Rubrik war (...)

Der andere Thread hat ja mit dem Ansatz angefangen, die PDF-Links direkt in QET zu integrieren, also war das definitiv an der richtigen Stelle!
Wir können dort gerne weiter über PDF-Links innerhalb QET diskutieren, wenn es dazu Ideen gibt:
https://qelectrotech.org/forum/viewtopi … 405#p21405