Why don't you just download the binary from github-page and use that?
In that case you do not have to compile it yourself...
https://github.com/raulroda/qet_tb_gene … aster/dist

With a recent 0100-dev - version of QET you find something like this in the log-file
"menu" -> "Help" -> "About QElectroTech" -> tab "Log"

12:35:21.187 Info:  For data-files (user-/company-collections, titleblocks, etc.):
12:35:21.187 Info:  App Data Location: "C:/Tools/qelectrotech/conf"

Use your favorite file-browser to create the subdir "binary" in "App Data Location" and place binary "qet_tb_generator.exe" there.

Then you can use the plugin from QET-Project-Menu.

When starting the plugin, something like this is written to log-file:

12:36:54.665 Info:  project to use for qet_tb_generator:  "C:/Users/ich/Documents/ohne Namen.qet"
12:36:54.665 Info:  qet_tb_generator found here: "C:/Tools/qelectrotech/conf/binary/qet_tb_generator.exe"

Prerequisites for the plugin:
A saved project must be loaded. That project contains terminals that are named according to the scheme “X1:1, X1:2, etc” and are also connected somewhere.

jiridobrovolny wrote:

Please add option in program settings for change size of dots

Found a solution for changing grid-dot-size in general config-page that is saved in settings.
Implemented and published today.

228

(23 replies, posted in Code)

Created a PR at github for variable setting of grid-point-size.

Adjusted Erik's suggestion to be variable and have the possibility to set the value on general configuration-page and save setting in settings-file.

.

The revision-index is set per folio!
If you want to set all rev-indexes to the same global value, you need to use a project-variable and set this for each folio.

If you delete the post with the problem description, nobody will be able to understand what it was all about!
Nobody can find it in the forum search!

Your file is corrupt!
It contains many thousand lines only with a semicolon from line 7053!
Check with a text-editor and correct those lines!

EDIT:
You should also check your elements-collection for such lines!

233

(8 replies, posted in Import DXF)

Hello Vadoola,

no problem for me: Already deleted my fork!

234

(8 replies, posted in Import DXF)

and here is the Linux-version

235

(8 replies, posted in Import DXF)

Hello eya,

If the file-browser of converter shows the file, it should be found by other file-browsers, too...

What version of QElectroTech do you use?

Version 0.9 is a bit outdated in the meantime ... I recommend 0.100-dev

And it is very recommendet to use dxf2elmt instead of something else!

In current versions of QET there is a menu-entry in Element-editor to import a dxf with dxf2elmt.
Then you don't have to handle converted files, but can work with QET alone.

Vadoola, the current author of dxf2elmt, released new sources today.
I guess you run win? In the attachment you find the compiled binary.

236

(135 replies, posted in Code)

The font-info-string is documented in Qt-docs: https://doc.qt.io/qt-5/qfont.html#toString (same for Qt6)
There it says, that it's a string of 16 entries.
But as we see in our element-files, the font-info-string is build with only 10 comma-separated entries.

237

(9 replies, posted in Code)

Hello elevatormind,
Salut Laurent ,

seems I forgot to test something with selective_move ...

But let me ask! What do you want to achieve with this line:

event->modifiers() == Qt::ControlModifier ? setPos(new_pos) : setPos(Diagram::snapToGrid(new_pos));

If you mean to check for additionally pressed <Ctrl> the line would have to look like this:

event->modifiers() == (Qt::ControlModifier | Qt::ShiftModifier) ? setPos(new_pos) : setPos(Diagram::snapToGrid(new_pos));

If you mean to reduce step-size for movement of texts by additionally pressing <Ctrl>: It does not work!
Together with <Shift>+<Ctrl>+<MouseClickAndMove> the view of design-editor is moved!

As a thought:
When I want to move the texts it is mostly only some points. Why don't we just forget about moving texts by grid-distance, but only move by points?
Then we would not need any additional modifier.

Then we would need to change the above line 588 of sources/qetgraphicsitem/dynamicelementtextitem.cpp by only this:

setPos(new_pos);

I tried some different combinations of modifiers, but it seems that we run out of possible combinations at that point...

Best regards
  plc-user

238

(9 replies, posted in Code)

Hello elevatormind,

Almost at the same time you posted your many qt6-changes, another user had another idea to solve the accidental movement of texts:
https://github.com/qelectrotech/qelectr … r/pull/363
I started a little discussion with pkess (in German, because we are almost neighbors) to figure out my reasons why I like your solution a little better: we wouldn't have to change the elements!
I tried your commit "selective_move" on my Debian stable development-VM today and must say: Works very good!
And we can possibly solve these reports: https://qelectrotech.org/forum/viewtopic.php?id=2899

Stalefiles are automatic Backup-files during runtime of QET.

Why do you want to delete the stalefile by hand? Maybe an "old" QET-Version?
see this post:
https://qelectrotech.org/forum/viewtopi … 869#p20869

In both cases the stalefiles are handled by QET:
When I press "Cancel" the files are deleted instantly and when I click "OK" the backup-files are used by QET and deleted, when closed.

Did you ever look in your Log-files?
"Menu" -> "Help" -> "About QElectroTech" -> Tab "Log"
There you'll find something like this:

14:06:08.447 Info:  For QET configuration-files: 
14:06:08.447 Info:  App Config Location: "/home/ich/.config/QElectroTech/QElectroTech" 
14:06:08.447 Info:  For data-files (user-/company-collections, titleblocks, etc.): 
14:06:08.447 Info:  App Data Location: "/home/ich/.local/share/QElectroTech/QElectroTech" 
14:06:08.447 Info:  Directory for project stalefiles:
14:06:08.447 Info:  Generic Data Location: "/home/ich/.local/share/stalefiles/QElectroTech/"

Depending on your system It may be another directory, but the entry in log-file starts also with "Generic Data Location:"!

We have already discussed this topic here in the forum:
It's about moved and then deleted elements with dynamic texts.
Sometimes there are remnants that remain outside the drawing area, but you can't see them and can't get rid of them for whatever reason.
Copying page content, pasting it onto a new folio and deleting the old page was the solution at the time.

Salut galexis !
Hello everybody!

galexis wrote:

It's not possible to integreted it directly on QET like it's C++?

Maybe you already noticed?

Available in current 0.100-dev-version of QElectroTech:
In the last few days I implemented mirror (shortcut <M>) and flip (shortcut <F>) into element-editor.
Also the rotate-function was reworked, so that rotating of ALL primitives is made in increments of 90° with <Space>.
Rotation with smaller increments of 5° can be made with "text", "dynamic_text", "line" and "polygon" with <Ctrl>+<Space>.

"Merci" to Laurent, who supported with building all binaries!

Best regards
  plc-user

243

(9 replies, posted in Code)

Hello elevatormind!

Welcome to QET forum from me too!

elevatormind wrote:

PS. I've done two other branches with small features that may or may not be useful, will push them up for evaluation and try to post something about them here in the forum

Such an announcement naturally arouses curiosity!
I can't wait to see what you have prepared for us....

Your first try to post here was successful: I guess you can do it again!  nomicons/wink

Best regards
  plc-user

Danke für das Lob!

Es hilft aber nicht wirklich, regelmäßig dieselbe Frage in verschiedenen Unterrubriken und in verschiedenen Sprachen zu stellen!
Wenn Du andere Beiträge im Forum gelesen hättest, würdest Du wissen, dass wir im Moment sehr knapp an Entwicklern sind.

Wenn es wirklich so einfach wäre, PDF-Links einzubauen, wie viele Leute hier im Forum behaupten, warum baut ihr es nicht selber ein und stellt den Quellcode hier oder bei github zur Verfügung?

Deine Anfrage war nur der Auslöser für diese Antwort, Pierre!
Es gibt noch soo viele andere, aus Benutzersicht "einfache" Dinge, die in QET einfließen können, aber wegen Personalmangel (noch) nicht werden...

Open-Source heißt nicht nur, dass Ihr es kostenlos nutzen dürft:
Ihr dürft am Quellcode mitarbeiten und dazu beitragen, dass QElectroTech noch besser wird!!!

245

(19 replies, posted in Terminal block generator)

andi11 wrote:

how can I attach files?

Click on button "Preview reply" then there is a button to search the attachment on your system.
Important: You have to click "Add file" to upload the attachment!

andi11 wrote:

I think i fixed it. I also did some more minor improvements in the files.
So posting it fix for the "sorting order" bug is not 100% correct, because it includes more changes.

I guess there are some users looking forward to it!

246

(7 replies, posted in Elements)

Salut Laurent !

It's not about fingerpointing here! nomicons/wink

scorpio810 wrote:

This is the best way of adding translations so far, without the svn/git differences being inflated by the hazardy registration of xml attributes since Qt 5X.

Another reason to try to sort arrtibutes in element-file.
That's why valoola and I should use the same order for attributes in output of dxf2elmt and QET_ElementScaler. Seems that we do...

247

(7 replies, posted in Elements)

Salut Laurent !

I do not like to contradict you, but the elements of the mentioned manufacturer and sub-dirs are identical in both collections!
Some elements seem to be edited using a text editor in order to add translations, while the element editor was used for the additional translation in a few cases.
And one subdirectory has been renamed.

Some of the elements in the official collection should be revised because, for example, the aspect ratios and scaling do not fit. Let's see if I can find some time for this...

luf wrote:

OMG, thats so great what you have implemented :0 Thank you a lot!

If we ever meet in real life: I'll have a cup of coffee!  nomicons/smile

luf wrote:

To the suggestion of plc-user, why i did not simply scale the svg file, it is because (at least in microsoft visio) the font-size doesn't change at all or at least not proportionally to the rest.

The company from Redmod has a "problem" with really open standards: As long as I know them, SVG is not supported (very well)!
That's why I suggested Open-Source-Software Inkscape

A colleague once started to ask: "With Inkscape, can I do ...?"
I interrupted him and said: "Yes!"
It turned out: It worked!  nomicons/smile

luf wrote:

But so if I understand you right, there will soon be an update that enables the export of those huge files?

Speaking of 0.10-dev: Export for large files is already available for some days now!

249

(7 replies, posted in Elements)

Why do you recommend contrib-elements, when we have so many parts from different manufacturers in official collection, Laurent? nomicons/wink
All Schneider-parts from contrib are also available in official collection!

Ich dachte bislang immer, dass Mammuts bereits ausgestorben sind ... war wohl falsch!  nomicons/wink

Versuche doch mal, diesen Thread durchzuarbeiten:
https://qelectrotech.org/forum/viewtopic.php?id=2861

Da ging es auch um Gruppierung von Seiten bzw. re-nummerierung von Seiten.
Vielleicht mußt Du Deine Verweis-Elemente und Schriftfelder anpassen!
Aber dafür gab es hier auch bereits reichlich Anfragen und Lösungen!

BTW:
Für Übersetzungen empfehle ich: DeepL