Hallo Plc-user,

we had discussed it with UnAlcade (Raul) the developer of the qet_tb_generator plug-in, the discussion is in this topic:

https://qelectrotech.org/forum/viewtopi … 5269#p5269

Hallo plc-user,

A big thank you for your work and I speak on behalf of all users of QET, which fills a gap very often requested.
I just noticed a small bug, nothing serious but in your example provided, some elements had their hotspot shifted or next to it.

Cheers,

Laurent

https://download.qelectrotech.org/qet/forum_img_2/qet_elementscaler_flip_wrong_hotspot.png
https://download.qelectrotech.org/qet/forum_img_2/qet_elementscaler_flip_wrong_hotspot2.png


BTW, a workaround .... yes i love workaround, uhuhu ... it 's to open these element with wrong hotspot with QET element editor and save it to fix hotspot postion.

With my QET cross-compile MXE environment x86_64 that I use to build QET Windows packages, I just compile new version of QET_ElementScaler.exe for Win 10/11:

[12:30:38] laurent@debian:/media/backup6/download/QET_ElementScaler$ export PATH=/home/laurent/digikam3333/project/bundles/mxe/build.win64/usr/bin:$PATH
[12:33:01] laurent@debian:/media/backup6/download/QET_ElementScaler$ ./compile.sh 
[12:33:18] laurent@debian:/media/backup6/download/QET_ElementScaler$ 

Change g++ PATH to my MXE environment toolchain for compile Windows package:

[12:52:38] laurent@debian:/media/backup6/download/QET_ElementScaler$ git diff
diff --git a/compile.sh b/compile.sh
index 94f4f4e..a950aa8 100755
--- a/compile.sh
+++ b/compile.sh
@@ -5,6 +5,6 @@ mkdir -p obj/inc/pugixml
 
 
# compile QET_ElementScaler
-g++ -Wall -O2 -std=c++17 -c inc/pugixml/pugixml.cpp -o obj/inc/pugixml/pugixml.o
-g++ -Wall -O2 -std=c++17 -c main.cpp -o obj/main.o
-g++ -o  QET_ElementScaler obj/inc/pugixml/pugixml.o obj/main.o  -s
+/home/laurent/digikam3333/project/bundles/mxe/build.win64/usr/bin/x86_64-w64-mingw32.static-g++ -Wall -O2 -std=c++17 -c inc/pugixml/pugixml.cpp -o obj/inc/pugixml/pugixml.o
+/home/laurent/digikam3333/project/bundles/mxe/build.win64/usr/bin/x86_64-w64-mingw32.static-g++ -Wall -O2 -std=c++17 -c main.cpp -o obj/main.o
+/home/laurent/digikam3333/project/bundles/mxe/build.win64/usr/bin/x86_64-w64-mingw32.static-g++ -o  QET_ElementScaler obj/inc/pugixml/pugixml.o obj/main.o  -s



Download here:
https://download.qelectrotech.org/qet/b … entScaler/

https://www.virustotal.com/gui/file/413 … ?nocache=1

Nice, works well on osx 12 monterey x86_64 with my build https://qelectrotech.org/forum/misc.php … download=1
https://download.qelectrotech.org/qet/forum_img_2/macos_qet_elementscaler_flip.png

plc-user wrote:
laurents-iMac-Pro:elements laurent$ ./QET_ElementScaler --FlipVertical pylone.elmt 
could not convert "pylone.elmt" to a float-number!
laurents-iMac-Pro:elements laurent$ ./QET_ElementScaler pylone.elmt --FlipVertical 
could not convert "pylone.elmt" to a float-number!

when using Options other than scaling-factor and filename, you have to add the filename with "-f filename"
For example:

./QET_ElementScaler --FlipVertical -f pylone.elmt 

Thanks! aaah just forgot -f, I' m stupid .. nomicons/smiley-green

[11:36:32] laurent@debian:~/.qet$ ./QET_ElementScaler  --FlipVertical -f elements/pylone.elmt 
[11:42:45] laurent@debian:~/.qet$ 

Hello plc-user,

what is the command line to use it?
I saw the same thing on my Debian unstable:

[11:32:19] laurent@debian:/media/backup6/download/QET_ElementScaler$ git pull
remote: Enumerating objects: 22, done.
remote: Counting objects: 100% (21/21), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 22 (delta 13), reused 18 (delta 10), pack-reused 1
Dépaquetage des objets: 100% (22/22), 13.08 Kio | 893.00 Kio/s, fait.
Depuis https://github.com/plc-user/QET_ElementScaler
   4f4bda3..43b1d59  master     -> origin/master
 * [nouvelle étiquette] 0.4beta5   -> 0.4beta5
 * [nouvelle étiquette] 0.4beta2   -> 0.4beta2
 * [nouvelle étiquette] 0.4beta3   -> 0.4beta3
 * [nouvelle étiquette] 0.4beta4   -> 0.4beta4
Mise à jour 4f4bda3..43b1d59
Fast-forward
 README.md                  |  11 +++++------
 inc/pugixml/pugiconfig.hpp |   2 +-
 inc/pugixml/pugixml.cpp    |  32 +++++++++++++++++++++++++++----
 inc/pugixml/pugixml.hpp    |   7 +++++--
 main.cpp                   | 344 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------
 main.h                     |  67 ++++++++++++++++++++++++++++++++++++++++++----------------------
 6 files changed, 357 insertions(+), 106 deletions(-)
[11:32:26] laurent@debian:/media/backup6/download/QET_ElementScaler$ ./compile.sh 
[11:34:19] laurent@debian:/media/backup6/download/QET_ElementScaler$  cd /home/laurent/.qet
[11:35:25] laurent@debian:~/.qet$ ./QET_ElementScaler elements/pylone.elmt  --FlipVertical 
could not convert "elements/pylone.elmt" to a float-number!
[11:36:32] laurent@debian:~/.qet$ 

Hi plc-user,
tried to compile on macOS 12 X86_64:

laurents-iMac-Pro:QET_ElementScaler laurent$ bash ./compile.sh 
In file included from main.cpp:94:
./main.h:92:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    0
    ^
    {}
1 warning generated.
ld: warning: option -s is obsolete and being ignored
laurents-iMac-Pro:QET_ElementScaler laurent$ 
laurents-iMac-Pro:elements laurent$ ./QET_ElementScaler --FlipVertical pylone.elmt 
could not convert "pylone.elmt" to a float-number!
laurents-iMac-Pro:elements laurent$ ./QET_ElementScaler pylone.elmt --FlipVertical 
could not convert "pylone.elmt" to a float-number!

1,608

(236 replies, posted in News)

Rien de plus facile, download, puis click droit rendre exécutable ou chmod +x ./
ensuite suffit de cliquer sur le fichier pour que ça lance une version de QET autonome sans rien installer.

C'est comme les ReadyToUse mais sous Linux.

Passes de bonnes fêtes, toi aussi.

1,609

(236 replies, posted in News)

Bon, pour te consoler je t'ai fait une AppImage de la branche terminal_strip que tu pourras tester pendant ces fêtes, si tu le souhaites sur ta Linux Mint.

https://download.qelectrotech.org/qet/s … nal_strip/

1,610

(236 replies, posted in News)

Merci @Galexis,

pour la compiler il faudrait que Joshua fasse un merge du master sur la branche terminal_strip, là ça coince avec mes scripts de builds pour la ReadyToUse.
Il vaut mieux que ce soit lui qui fasse le merge, il saura voir si le merge ne casse pas ce qu'il a implémenté.

1,611

(236 replies, posted in News)

@galexis:
Çà pourrai se faire, si Joshua le demande, je n'ai pas encore pu tester le travail qu'il a fait sur cette branche. Trop pris par mon boulot, très fatigué et très irritable au boulot ...
Mon état de santé s'étant très dégradé ces derniers temps, je viens d'apprendre que je dois passer au scanner le plus rapidement possible, et peut-être subir une intervention lourde et très risquée, ce qui me fait beaucoup cogiter...., je craint de devoir revoir notre plan ou pas de pousser la 0.9 avant le freeze Debian.

Tout dépendra de mon état de santé, et aussi de mon moral qui est au plus bas, en plus des douleurs ...par moment insupportables.

So, how much params i can insert?
255?1024?

I don't know, the limit is the power of your setup, if you have a big HEDT Workstation or server setup you have no limit, maybe the project launch will slow down?


We know that putting a lot of images slows down QET a lot,  because of all images was converted to ASCII text encoding/decoding in .qet XML file.

See example provided industrial.qet.
https://download.qelectrotech.org/qet/forum_img_2/properties_project1.png
https://download.qelectrotech.org/qet/forum_img_2/properties_project.png

https://qelectrotech.org/forum/viewtopic.php?id=375




For multi-cable

https://download.qelectrotech.org/qet/s … afloor.pdf

scorpio810 wrote:
galexis wrote:
scorpio810 wrote:

C'est juste un symbole ...

Sans bornes: pas bête! Faut en voir 1 pour les différents câble, mais pas bête.

Sinon quand t'as pas le temps tu le fait à l'arrache comme dans les folios 23,24... le principal c'est que le numéro de brin de fil apparaisse dans le schéma.

https://qelectrotech.org/forum/viewtopi … 163#p17163

1,618

(236 replies, posted in News)

I was thinking of waiting for Joshua to finish the heavy work on the integrated terminal strip manager that he started to push 0.9-beta, release candidate version, but:

I just saw that Debian is getting ready to freeze unstable depot aka Sid soon, so it will always be impossible to send a new version as long as it can last, sometimes years...

https://www.phoronix.com/news/Debian-12-Tentative-Dates

Do you know that Debian work is used for many other Linux distributions, like Ubuntu, Mint, etc. and I don't want version 0.8 to be frozen on the official repositories for several years, like Ubuntu LTS, or Debian Stable.

BTW, you have my Debian repository backport, my PPA, AppImage, Snap, and my also Flatpak repository if you want using latest  devel improvement, but it's a pain for Linux noobs for install it, or for entreprises who only use official distribution  support.

I get a lot of emails from guys who have a lot of issues with 0.8 that are resolved in 0.9-dev version which was better robust than 0.8 release.

Pushing the 0.8.1 bug fix wouldn't make any sense, as 0.9-dev is faster, brings new languages, better translation for some important languages due to lack of translators, new tools like new DXF converter support , the heavy work done on the official collection of elements, etc.

What do you think?

I not be ready yet, maybe see my workaround
https://qelectrotech.org/forum/viewtopi … 157#p17157
https://qelectrotech.org/forum/viewtopi … 145#p17145

Bonjour FPL,

c'est simple comme tout tu fais un drag and drop de ton élément ou dossier éléments vers la collection utilisateur depuis l’interface, le widget collection.

Comme dans le début de cette vidéo.

https://download.qelectrotech.org/qet/m … index.html
https://www.youtube.com/user/scorpio8101/videos

Hi and welcome Diego,
you could share the project?

Laurent

1,623

(236 replies, posted in News)

Add Ukrainian translation, thanks Yaroslav.
https://git.tuxfamily.org/qet/qet.git/c … 1f356dbc70
https://git.tuxfamily.org/qet/qet.git/c … ddfd5b2aa6

Bonjour,

il n'est pas conseillé et nous l'interdisons de rajouter des éléments personnel dans la collection officielle, la collection étant écrasée à chaque nouvelle mise à jour du logiciel.
Pour ça tu as la collection utilisateur.

Laurent

You are welcome.
If than can help you à little see how I use NSIS
https://github.com/qelectrotech/qelectr … /QET64.nsi
https://github.com/qelectrotech/qelectr … ws.sh#L246

Now I only build 64 bits package
https://github.com/qelectrotech/qelectr … ws.sh#L303

Since the year 2000 I only use Linux for my daily life and my work, even here to create the Windows or macOS packages of QET, I am no longer an expert like 22 years ago on Windows, OS which does not suit me more!..