326

(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

329

(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

Pércylès wrote:

Coucou, je suis Pércylès, Automaticien sur du multi-marques (Schneider, Kieback, SOFREL, WAGO, Trend, Distech ...) et je me sers de votre logiciel depuis très très longtemps.

Bonjour Pércylès et bienvenu,


Si je pouvais modifier les intitulés de Label, installation, N°articles et les autres pour les remplacer par ce qui est attendu sur mon  logiciel de programmation et ainsi, faciliter pour mes collègues et moi-même les renseignements à fournir et retrouver une certaine correspondance entre qelectrotech et le logiciel de prog schneider.

voir:
https://qelectrotech.org/forum/viewtopi … 256#p16256

SELECT comment AS 'References', COUNT(comment) AS 'Quantités', description, manufacturer FROM element_nomenclature_view WHERE ( element_type = 'simple' OR element_sub_type = 'commutator' OR element_sub_type = 'coil' OR element_sub_type = 'protection')  AND comment != ''  AND label != '' GROUP BY comment ORDER BY COUNT(comment) DESC

Explications :
Je veux que le titre soit Références et non comment.

comment AS 'References'

Laurent

Strange, again?
see --> Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details

https://qelectrotech.org/wiki_new/doc/i … or_details

345

(1 replies, posted in FR : Aide, suggestions, discussions, ...)

Bonsoir ,

tu n'as pas de soucis a te faire le logiciel s'adaptera quelque soit la taille de la sortie papier tout comme quand tu veux imprimer une photo, tu sélectionnes le format papier, la marge et fait un aperçu avant l'impression.

Hallo plc-user,

I can't remember, I think it's been from the beginning...
I've always hated DesktopLocation... which saves the default project under Desktop! So I prefer to "save it" to others PATH.


Change can be easy, like this:

--- sources/qetproject.cpp
+++ sources/qetproject.cpp
@@ -369,7 +369,7 @@ QString QETProject::currentDir() const
{
     QString current_directory;
     if (m_file_path.isEmpty()) {
-        current_directory = QStandardPaths::writableLocation(QStandardPaths::DesktopLocation);
+        current_directory = QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation);
     } else {
         current_directory = QFileInfo(m_file_path).absoluteDir().absolutePath();
     }

Best regards
laurent

Edit :

https://github.com/qelectrotech/qelectr … 4db6af63a1

And

https://github.com/qelectrotech/qelectr … e1a08775fa

stefan.123 wrote:
scorpio810 wrote:

Only when you connect a 1.5mn² wire, for example, to a large busbar or repartitor but of course your wire is protected downstream by a 10A fuse will you have to cheat with a non-terminal type symbol to connect them together.

Is there a library part for a Series Terminal Block with different Size?


Generic:
https://download.qelectrotech.org/qet/e … index.html

Legrand
https://download.qelectrotech.org/qet/e … index.html

Hager:
https://download.qelectrotech.org/qet/e … index.html

Hallo plc-user,

As expected, things aren't going so well

Um, Maybe I think I made a a little mistake when merging your PR, there are a lot of things to re-set,like elements, ect locations PATH, the location of binary plugin collections, the path in the logs now was  wrong, and so on.



DXF2elmt Binary or QETelementScaler offers me this PATH now on my Debian: /home/laurent/.local/share/QElectroTech/QElectroTech/binary/


Sometimes you have to demolish everything in order to rebuild better. nomicons/wink

Best regards,
Laurent

349

(19 replies, posted in Terminal block generator)

Édites ton ancien post, et tu devrais voir choisir un fichier et le joindre.

350

(19 replies, posted in Terminal block generator)

Bonjour Thomas,

ton projet contient des logos SVG dans les cartouches?
Si tu as un backup fonctionnel de ce projet, regardes si tu peux le partager ici.