@plc-user: I don't know for now, this code was writed since 16 years...

commit 4da7e54d75c048c456f5ee00b3888efdd0f3e434
Author: xavier <xavier@r991  xavier  2010-05-09 20:40:08 +0200 (dim. 09 mai 2010)>, Fri Apr 3 19:30:25 2009 +0000 (il y a 16 ans)
Committer: xavier <xavier@r991  xavier  2010-05-09 20:40:08 +0200 (dim. 09 mai 2010)>, Fri Apr 3 19:30:25 2009 +0000 (il y a 16 ans)
Branches: <Local>: master
          origin: 0.8.1, 0.9, 0.9.0, ..., terminal_strip_window, test_merge, test_pugi et 26 de plus
Precedes: 0.2a


Edit:


https://stackoverflow.com/questions/410 … png-images

The PNG specification doesn't appear to place any limits on the width and height of an image; these are 4 byte unsigned integers, which could be up to 4294967295. http://www.libpng.org/pub/png/spec/iso/ … tml#11IHDR

Actually, your statement about image size limits is incorrect. PNG doesn't technically use 32-bit unsigned integers; it uses 31-bit unsigned integers padded with an extra zero bit. This was done to accommodate languages which don't have unsigned integer types. The upper limit on image width or height is thus 2^31-1 or 2,147,483,647. –
DK.
CommentedMar 20, 2011 at 3:53

This reeks of a case for SVG.. anytime your file size gets that big it's time to think of vector vs raster.. SVG can draw many complex shapes with fractals and sprites too.. the size is infinite so you could draw it and scale it up to be the size of a billboard with zooming in and no loss of quality. –


What is the maximum size of a JPG image?
65,535×65,535 pixels

https://stackoverflow.com/questions/503 … itmap-file

PNG and JPEG have no explicit limit on file size, whereas BMP has a limit of 32K by 32K pixels


What I'm seeing is that it's only in BMP that this could cause a problem if the user exceeds the limit of 32K by 32K pixels.
But which now uses this old image format

Hello luf,
you want to print your project with these printers?: https://www.materiel-informatique.fr/7- … et-traceur
To print it 10 metres long by two metres wide?

I don't have this type of printer at home but I do at work, but i never used.
Here's how I'll do it, I'll adapt the QET title-block so that it's still in 4/3 format but with px dimensions of the order of 10,000 px 20X 600px on 10x800px that makes a very large work surface on the computer screen.

The official QET symbols will then be very small in the folio, so if you're working with a huge screen you should be able to put a lot of information on this plane.

You then need to re draw or enlarge the elements using plc-user's QET_elementScaler.

See this example attached.

Ich finde es immer sehr schade, wenn hier nach neuen supertollen Funktionen gefragt wird, aber scheinbar niemand bereit ist, sein/ihr Wissen und Können hier im Projekt einzubringen.

Ich bin hier auch ganz langsam angefangen und habe Fragen gestellt und inzwischen traue ich mich daran, bestehende Funktionen zu hinterfragen und bearbeiten! Und einige davon sind bereits in QET eingeflossen...

Das geht nicht gegen Dich, stefan.123!!!
Ich wollte das nur mal loswerden...


Just like you plc-user, I started in the same way by studying Xavier's commits on the subversion at the time, then by proposing my own patches later in ~2012, same for Joshua who did a C++Qt training online as a self-taught in addition to his job in maintenance, we are certainly not  specialist or crack of C++/QT but in electrical maintenance we know much more....

I spent my free time testing or reading QET source files to understand how it worked in 2000 year's.

Hallo plc-user,

I know Xavier, if he wrote this script in 2011 he must also have written another bash script to make batch corrections, unfortunately on my machine I haven't been able to find this file.
Forum search can't help me, sorry.

I remember we limited the primitives in the element editor to two decimal places, and Xavier even wrote a script to detect them and correct them.
https://download.qelectrotech.org/qet/s … dinates.sh

But I don't remember why now?....That was more than 15 years ago....

131

(9 replies, posted in Import DXF)

Bonjour Nathan,

sur la 0.100-dev c'est assez simple, puisqu'elle détecte que tu n'as pas le fichier ... dans le répertoire binary!
La popup te propose un lien qui est assez ancien vers dxf2elmt, depuis un fork fait par Vadoola exploite mieux les DXF.
Tu trouveras mes derniers builds ici: https://qelectrotech.org/forum/viewtopi … 828#p20828
Tu décompresses le Win_64_dxf2elmt.zip  et tu copies, dans la popup il y a directement le bouton dossier, qui ouvre l'explorateur Windows sur le dossier que cherche QET y a plus qu'a coller et valider pour ensuite essayer de convertir des DXF en elmt éléments QET.


PS: sur les dernières versions de QET nous avons un peu ré-organiser l'emplacement des fichiers voir le post de plc-user:
https://qelectrotech.org/forum/viewtopi … 884#p20884

(+)\Roaming\QElectroTech\QElectroTech\binary

yop190 wrote:

Bonjour,

A tout hasard @scorpio810, avez-vous conservé les fichiers .qet d'oscaro-power (les liens ne fonctionnent plus) ?

Merci d'avance,
Yop

Non, je n'ai rien conservé, ou du moins rien trouvé dans mes dossiers, il n'y a que les PDF que j'ai joint sur le post, c'est assez simple a re dessiner...


Laurent

source venv/bin/activate && qelectrotech %F

https://github.com/qelectrotech/qelectr … 95e9f6b74a
Thanks, plc-user. nomicons/wink

16:30:28.938 Info:  project to use for qet_tb_generator:  "/home/laurent/Qet-svn/git/qet/examples/industrial.qet" 
16:30:28.938 Info:  qet_tb_generator not found : "/home/laurent/.local/share/QElectroTech/QElectroTech/binary/qet_tb_generator" 
16:30:28.938 Info:  qet_tb_generator not found : "/home/laurent/qet_tb_generator" 
16:30:28.938 Info:  qet_tb_generator not found : "/home/laurent/.qet/qet_tb_generator" 
16:30:28.972 Info:  qet_tb_generator found here: "/home/laurent/venv/bin/qet_tb_generator" 
16:30:29 INFO     QET Terminal Block Generator - v1.3.1 [main.main:840]
16:30:29 INFO     Using the file: /home/laurent/Qet-svn/git/qet/examples/industrial.qet [main.get_QET_fullpath:189]

qet_tb_generator found here: "/home/laurent/venv/bin/qet_tb_generator

134

(32 replies, posted in News)

Fix: Now QET can found and launch qet_tb_generator plugin without scratched under python 3.11 and tkinter.
https://qelectrotech.org/forum/viewtopi … 955#p20955

FYI, Fix qet_tb_generator segfault on my flatpak repository
https://github.com/qelectrotech/qelectr … 7fd76444da

Now QET can found and launch qet_tb_generator plugin without segfault under python 3.11 and tkinter on
/var/lib/flatpak/app/org.qelectrotech.QElectroTech/x86_64/master/active/files/qet_tb_generator.

laurent@debian:/var/lib/flatpak/app/org.qelectrotech.QElectroTech/x86_64/master/active/files/bin$ ls -al
total 8240
drwxr-xr-x 2 root root    4096  1 janv.  1970 .
drwxr-xr-x 7 root root    4096  2 févr. 15:21 ..
-rwxr-xr-x 2 root root 8353048  2 févr. 15:21 qelectrotech
-rwxr-xr-x 2 root root     206  8 mai    2024 qet_tb_generator
-rwxr-xr-x 2 root root   30392 16 oct.   2023 sqlite3_analyzer
-rwxr-xr-x 2 root root   14520  8 mai    2024 tclsh8.6
-rwxr-xr-x 2 root root   14520  8 mai    2024 wish8.6

15:22:08.989 Info:  success so far:  false   - now searching for  "/home/laurent/.var/app/org.qelectrotech.QElectroTech/data/QElectroTech/QElectroTech/binary/qet_tb_generator" 
15:22:08.989 Info:  success so far:  false   - now searching for  "/home/laurent/qet_git/qet_tb_generator" 
15:22:08.989 Info:  success so far:  false   - now searching for  "/home/laurent/.qet/qet_tb_generator" 
15:22:08.989 Info:  success so far:  false   - now searching for  "/app/bin/qet_tb_generator" 
15:22:09.007 Info:  success so far:  true   - now searching for  "qet_tb_generator" 
15:22:09 INFO     QET Terminal Block Generator - v1.3.1 [main.main:840]
15:22:09 INFO     Using the file: /home/laurent/qet_git/examples/industrial.qet [main.get_QET_fullpath:189]


Edit: since new plc-user PR: https://github.com/qelectrotech/qelectr … r/pull/341


15:53:55.999 Info: Elements collection finished to be loaded 
15:54:00.369 Info:  project to use for qet_tb_generator:  "/home/laurent/qet_git/examples/industrial.qet" 
15:54:00.370 Info:  qet_tb_generator not found : "/home/laurent/.var/app/org.qelectrotech.QElectroTech/data/QElectroTech/QElectroTech/binary/qet_tb_generator" 
15:54:00.370 Info:  qet_tb_generator not found : "/home/laurent/qet_git/qet_tb_generator" 
15:54:00.370 Info:  qet_tb_generator not found : "/home/laurent/.qet/qet_tb_generator" 
15:54:00.389 Info:  qet_tb_generator found here: "/app/bin/qet_tb_generator" 
15:54:00 INFO     QET Terminal Block Generator - v1.3.1 [main.main:840]
15:54:00 INFO     Using the file: /home/laurent/qet_git/examples/industrial.qet [main.get_QET_fullpath:189]

scorpio810 wrote:

Maybe with create your pyton virtual env?

python3 -m venv venv/ && source venv/bin/activate
pip install qet_tb_generator


laurent@debian:~$ whereis qet_tb_generator 
qet_tb_generator: /home/laurent/venv/bin/qet_tb_generator

When you need qet_tb_generator activate your virtual env before.

by

source venv/bin/activate
(venv) [14:20:26] laurent@debian:~$ whereis qet_tb_generator 
qet_tb_generator: /home/laurent/venv/bin/qet_tb_generator
(venv) [14:27:18] laurent@debian:~$ 

Now in the same terminal launch QET

qelectrotech

Example here
(venv) [14:20:26] laurent@debian:~$ qelectrotech



14:19:59.059 Info:  project to use for qet_tb_generator:  "/home/laurent/Qet-svn/git/qet/examples/industrial.qet" 
14:19:59.059 Info:  success so far:  false   - now searching for  "/home/laurent/.local/share/QElectroTech/QElectroTech/binary/qet_tb_generator" 
14:19:59.059 Info:  success so far:  false   - now searching for  "/home/laurent/qet_tb_generator" 
14:19:59.059 Info:  success so far:  false   - now searching for  "/home/laurent/.qet/qet_tb_generator" 
14:19:59.059 Info:  success so far:  false   - now searching for  "/home/laurent/venv/bin/qet_tb_generator" 
14:19:59.091 Info:  success so far:  true   - now searching for  "qet_tb_generator" 
14:19:59 INFO     QET Terminal Block Generator - v1.3.1 [main.main:840]

Maybe edit QET launcher to ?

source venv/bin/activate && qelectrotech %F

137

(3 replies, posted in Videos howto)

grep ^processor /proc/cpuinfo | wc -l
48

I don't have 48 cores only Hyper-Threading Technology!
24 cores = 48 threads for this CPU.
Setup AMD   3960X it's very very old now but compile quickly still QET in 28 seconds. 150W en idle... nomicons/ermm  ~600 W when I use all cores ... like make -j 48.
I think the new mainstream AMD hardware performs better... for less power...



It's very usefull like build all tool-chain cross-compilation like MXE env, instead of the machine compiling continuously in 8 hours, it's done in about 1 hour.

Voir sur le depot contrib ou il y a beaucoup d'autres symboles.
https://download.qelectrotech.org/qet/e … index.html


https://download.qelectrotech.org/qet/elements_contrib/10_electric/98_graphics/99_assembly_plan/01_thumbnails_mounting_plate/general_electric/666561.svg


https://download.qelectrotech.org/qet/elements_contrib/10_electric/98_graphics/99_assembly_plan/01_thumbnails_mounting_plate/legrand/51-contacteur/4_4f/412562-contacteur_sil_230v_4p_400v_40a_4f.svg

sudo apt install qtbase5-dev, qt5-qmake, libqt5svg5-dev, libkf5widgetsaddons-dev, libkf5coreaddons-dev libsqlite3-dev
git clone --recursive https://github.com/qelectrotech/qelectrotech-source-mirror.git qet
cd qet 
mkdir build && cd build
qmake  ../qelectrotech.pro
make -j48

Bonjour Vétéa,

il suffit cocher un seul texte par potentiel soit dans la config générale soit dans la config du projet pour les nouveaux folios.
Je pense qu'il faudra que tu supprimes et reconnectes tes conducteurs une fois l'option activée pour que ça fonctionne sur les folios en place déjà dessinés.
https://download.qelectrotech.org/qet/m … uctor.html
https://download.qelectrotech.org/qet/manual_0.7/build/_images/qet_project_conductor_prop.png

Hallo plc-user,

"qet_tb_plugin" isn't easy to found:
On Windows you can make a binary.exe but all antirus refuse them...
https://qelectrotech.org/forum/viewtopi … 141#p17141
https://qelectrotech.org/forum/viewtopi … 150#p17150


Now it's more complicated under Debian like, they require you to install python in a virtual venv, see:
https://qelectrotech.org/forum/viewtopic.php?id=2861

Edit: https://qelectrotech.org/forum/viewtopi … 640#p20640

Salut Laurent !

Didn't find any new Debian-Packages on QET-Repo but my local created binary works very well with the latest changes!

I rebuilt the Debian packages, perhaps I was very tired or in too much of a hurry at lunchtime when I pushed them ...

Best regards,
Laurent

Hallo plc-user and thanks,

merged and package it for Debian, Ubuntu PPA, windows, please could you check-it?

No news about Joshua since november 2024. The delicate operation on his partner's severely damaged vertebrae went well and she is gradually recovering.

I was slow to reply, but I haven't heard from her since.

I hope he'll read this. And that they're well.

Best regards,
Laurent

https://qelectrotech.org/forum/viewtopi … 065#p17065

Hallo plc-user,

i just published all packages, please try and check.
I don't publish arm64 macOS at this time. maybe this week...

Thanks,
Laurent

https://www.kreativekiste.de/schaltplan … lectrotech

The programme has really taken a step forward since version 7. I still don't think the program is as intuitive to use as other programs. BUT, once you get the hang of it, for example with cross-references or text fields, then you won't want to work with any other program. BECAUSE QElectroTech's greatest advantage is its universal user-friendliness, which takes a bit more work at first but once you've got the hang of it, you can really work with it.

2)

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

plc-user wrote:

A short manual for the transition from old to new locations of config- and data-directories.

In the following blocks you find the changes, that have to be made by the user.
If you are missing any information or have found an error, please let us know!


Hi plc-user and thanks for your little manual for the transition,
I will try to do it for macOS, maybe next week if I have time,
but I have to install a new macOS VM on my mac Mini and install december QET and compare the old locations with new QET  version's files PATH . But if someone can do it, I'd be relieved nomicons/wink