3,076

(14 replies, posted in EN : Help, suggestions, discussions, ...)

Have you saw the Python plugin Qet_tb_generator code, is can be an example to start, it extract in XML .qet project files conductor path and attributes for generate and draw terminalblock diagram?

https://qelectrotech.org/forum/viewforum.php?id=16

https://github.com/qelectrotech/qet_tb_generator

neonavy wrote:
scorpio810 wrote:

Non, dans le répertoire éléments suivant ton OS?

Windows :
c:\users\user_name\AppData\Roaming\qet\elements\

J'utilise Windows 10
Donc si je copie le ficheir .elm directement dans le bon (sou)répertoire il va directement apparaitre dans ma bibliothèque (il faut peut être redémarrer QElectroTech?!)
C:\Program Files\QElectroTech\elements\10_electric\"sous-répertoire choisi"

Non, comme dit plus haut il ne faut pas toucher à C:\Program Files\QElectroTech\elements\ c'est la collection qui sera remis à jour à chaque maj de QET.

Le bon dossier c'est
c:\users\user_name\AppData\Roaming\qet\elements\

Pour recharger le panel de symbole suffit de faire un click droit et recharger les collections pour voir les changements, pas besoin de relancer QET.

Non, dans le répertoire éléments utilisateur suivant ton OS?

Windows :
c:\users\user_name\AppData\Roaming\qet\elements\

La collection utilisateur ne sera pas écrasée lors d'une maj de QET, par contre si tu les mets dans la collection officielle ils seront perdus lors de la mise à jour, voila pourquoi on interdit les modifications de symboles dans le dossier de la collection officielle.

Suffit de le rajouter dans ta collection utilisateur, quel est ton OS et la version que tu utilises?
Pour modifier un symbole existant, suffit de faire un drag and drop vers la collection user dans le panel d'éléments, ou enregistrer sous pour pouvoir l'éditer.

On peux ouvrir plusieurs instances de l'éditeur et copier des parties d'autres symboles pour en créer de nouveaux.

neonavy wrote:

je reconnais que je suis bluffé!!! il y a mon APÏ dans le dossier SIEMENS! :-)
Par contre (sans trop de surprise) le dossier Weidmuller est assez vide (un seul symbole qui n'a rien à voir avec mon besoin)

Non, 2 symboles ... nomicons/tongue
https://github.com/qelectrotech/qelectr … weidmuller

Alors pour fabriquer des symboles tu as un éditeur d'élément , et même un convertisseur DXF-> elmt pour les symboles trop complexes a dessiner dans l'éditeur.
https://qelectrotech.org/forum/viewforum.php?id=12
https://download.qelectrotech.org/qet/forum_img/wirdmc3.png
https://download.qelectrotech.org/qet/forum_img/wirdmc2.png

Tu as regardé dans les dossiers Siemens et Weidmuller?
Si tu crées de nouveaux symboles n'hésite pas a les partager, je les rajoutai avec plaisir dans la collection.

Avec pres de 7000 symboles si tu trouves pas ton bonheur .. tu peux même faire de la plomberie, de la géothermie, climatisation, de l'implantation, de l'hydraulique, pneumatique, et j'en passe..

https://qelectrotech.org/gallery/photos/ezza.png
https://qelectrotech.org/gallery/photos/rafael.png
https://qelectrotech.org/gallery/photos/rafael1.png
https://qelectrotech.org/gallery/photos/rafael2.png
https://qelectrotech.org/gallery/photos/rafael4.png
https://qelectrotech.org/gallery/photos/rafael3.png

Tu pourras trouver mon adresse email dans le menu aide->A propos de QElectroTech
Sinon édite ton message, et tu pourras mettre en partage un fichier dans ton post.
Pour info un fichier .qet se compresse très bien et on réduit la taille par 10 voir plus.

Je ne peux pas mettre dans les paquets de gros projets, industriel, etc, par contre je peux en mettre sur le serveur de download.
Vous êtes les bienvenus si vous voulez partager vos projets.

Dans chaque paquet il y a quelques petits exemples fournis avec le logiciel dans le dossier example.

Sinon sur Github :
https://github.com/qelectrotech/qelectr … r/examples

Le seul schéma que j'ai pu trouver sur leur site c'est celui là:

3,087

(317 replies, posted in News)

Naheulf wrote:

Bonjour,
À propos du temps de chargement (particulièrement sous Windows): Ne serait-il pas intéressant de mettre les collections de base (élec, logique, hydro...) dans des fichiers zip (ou autre format de stockage) ? Cela permettrait de diminuer drastiquement le nombre de fichiers à ouvrir sur le disque.
Quant au niveau de compression, le mode "stoker" ou "le plus rapide" me semble approprié pour ce type d'utilisation (chargement le plus rapide possible). Après il faut voir le compromis temps de lecture / temps de décompression. Mais, vu l'énorme taux de compression des fichiers texte (et surtout du XML), y compris en mode "le plus rapide", je pense que ce c'est le niveau de compression qu'il faudra retenir.

Bonjour,

Il n'y a que sous MS Windows que le chargement est très long, par exemple sur une machine Linux le chargement des 7000 éléments c'est de l'ordre de quelques secondes. Sur la 0.8-dev nous avons amélioré sensiblement les temps de chargement:
https://qelectrotech.org/forum/viewtopi … 995#p10995
https://github.com/Microsoft/WSL/issues … -425272829

SvenGroot commented on 28 Sep 2018 •
edited
I wish this problem was as easy as saying "NTFS is slow" or "DrvFs is slow". We've long since gotten all the low-hanging fruit and are left with what is essentially "death by a thousand cuts," with no single component responsible for our (lack of) performance, but with lots of different things contributing.

The IO subsystem is architected very differently in Windows than it is in Linux, with different goals in mind. Some of the major differences we have to deal with are:

Linux has a top-level directory entry cache that means that certain queries (most notably stat calls) can be serviced without calling into the file system at all once an item is in the cache. Windows has no such cache, and leaves much more up to the file systems. A Win32 path like C:\dir\file gets translated to an NT path like \??\C:\dir\file, where \??\C: is a symlink in Object Manager to a device object like \Device\HarddiskVolume4. Once such a device object is encountered, the entire remainder of the path is just passed to the file system, which is very different to the centralized path parsing that VFS does in Linux.
Windows's IO stack is extensible, allowing filter drivers to attach to volumes and intercept IO requests before the file system sees them. This is used for numerous things, including virus scanning, compression, encryption, file virtualization, things like OneDrive's files on demand feature, gathering pre-fetching data to speed up app startup, and much more. Even a clean install of Windows will have a number of filters present, particularly on the system volume (so if you have a D: drive or partition, I recommend using that instead, since it likely has fewer filters attached). Filters are involved in many IO operations, most notably creating/opening files.
The NT file system API is designed around handles, not paths. Almost any operation requires opening the file first, which can be expensive. Even things that on the Win32 level seem to be a single call (e.g. DeleteFile) actually open and close the file under the hood. One of our biggest performance optimizations for DrvFs which we did several releases ago was the introduction of a new API that allows us to query file information without having to open it first.
Whether we like it or not (and we don't), file operations in Windows are more expensive than in Linux, even more so for those operations that only touch file metadata (such as stat). The costs of these operations are spread all over the place, from Object Manager and IO manager, to the filters, and NTFS. If it was as simple as saying "NTFS is slow," we'd simply spend a release optimizing NTFS (and we have spent time doing just that), but our costs are so spread out over many components that there just isn't a silver bullet anymore. And we can only ever address in-box filters; who knows what third party filters are doing. We do work with the vendors of those filters to try and improve things. For example, when we introduced the new API to query file information without opening it, we needed filter drivers to support that. We needed to make sure we didn't break the system if some installed filters didn't support it (basically by falling back to a open/query/close operation). Making sure everybody supported this so you, our users, got the maximum speed benefit from that change took a lot of time and effort. The same thing is true for something like the case-sensitive directory work; we had to make sure our filter ecosystem could handle this new behavior.

When Rich was talking about app behavior above, he wasn't trying to blame the apps for behaving that way. These apps were written on a system where file system operations are incredibly fast, and we're trying to run them, unmodified (unlike e.g. Git for Windows which tries to optimize its access patterns to better fit the Windows way of doing things) on a system that, unfortunately, is not as fast.

And it's not even as simple as saying "Windows is the cause of the slowness" either, since WSL does play a role. Most notably, Windows path parsing is very different than Linux path parsing (and, as I said above, is the responsibility of the file system, so can differ between file systems, while on Linux it's centralized). Linux apps expect the Linux behavior, so we have to carefully emulate that behavior, and unfortunately that means sending more operations down to the file system. Something like a stat call, which in Linux can be served entirely from the kernel's own cache if you're lucky, for WSL requires sending multiple file system requests, all of which have to traverse the entire filter stack. We've done a lot of work, even as recent as the upcoming 1809, to reduce the amount of extra work WSL has to do. But the differences between Linux and Windows's API mean there'll always be some extra work, at least.

Basically, this isn't a simple problem, and everything we do involves multiple components, and often involves working with Microsoft's partners if the changes affect filter drivers.

That doesn't mean we've given up either. We're still making changes, and are actively exploring new avenues to make WSL faster, and thus more useful, for you. Of course, I wish I could tell you exactly what we're doing and what our timeline is, but that's unfortunately not the corporate reality we live in.

https://programmer.group/efficiency-com … idxml.html

Let's take a look at the results under windows:
https://download.qelectrotech.org/qet/forum_img_2/77f9ab39b41c2da49429bd9a42793f77.jpg
My reaction was WTF?? Why does the same function read the same file ten times have such a big difference, so I will add delay when the file opens and closes, hoping to avoid the impact of the process of file switch on this function, the result still has not solved this problem, I hope God can help me solve this problem!

Now let's look at the results of linux:
https://download.qelectrotech.org/qet/forum_img_2/7aa8c336570e152ed7708e15ee6929e4.jpg
Obviously, the time under linux is relatively stable and credible, so we only need to use the time under linux as a reference for later testing.


Tu as essayé avec WSL2?
https://docs.microsoft.com/fr-fr/windows/wsl/wsl2-index

3,088

(14 replies, posted in EN : Help, suggestions, discussions, ...)

Great project, but a QET exporter to OpenStudio seems difficult and complicated work, but we will be be very happy if you could code this bridge to OpenStudio. ;-)

Bonjour,
https://download.qelectrotech.org/qet/s … otique.pdf
Tu auras plus de chance en cherchant ici : https://forum.gce-electronics.com/search?q=qelectrotech

https://www.google.com/search?q=qelectr … knx-fr.com

3,090

(65 replies, posted in Code)

https://www.sinax.be/blog/software-deve … eator.html
https://github.com/fpoussin/qtcreator-doxygen

3,091

(65 replies, posted in Code)

Is like Doxygen?
https://download.qelectrotech.org/qet/d … index.html

https://git.tuxfamily.org/qet/qet.git/tree/Doxyfile

Why not.

3,092

(14 replies, posted in EN : Help, suggestions, discussions, ...)

Hi Damian,

thanks and welcome.
What do you mean by that "imaginative uses"?

About your Gitlab : "This user has a private profile"

Hi,
see this :
https://qelectrotech.org/forum/viewtopi … 8385#p8385
https://qelectrotech.org/forum/viewtopi … 112#p12112

3,094

(65 replies, posted in Code)

Merged, thanks Simon.

3,095

(317 replies, posted in News)

De-Backer wrote:
scorpio810 wrote:

Toutes les dates dans QET sont basées sur SystemLocaleShortDate ce qui permet de remplacer automatiquement le format date dans tous tes folios suivant ton client ou en fonction de la configuration PC chez ton client.

https://git.tuxfamily.org/qet/qet.git/l … eShortDate

note:
This enum value is deprecated and shall be removed in Qt 6.
https://doc.qt.io/qt-5/qt.html#DateFormat-enum

add info
https://doc.qt.io/qt-5/qlocale.html#FormatType-enum

WIP :

Aucune idée, je ne veux plus de Nvidia sur mes machines que des AMD.
Comme je compile tres souvent mes kernels avec ma RX550 je n'ai pas de soucis de pilotes non pris en charge par le new kernel..

3,097

(317 replies, posted in News)

I saw the same issue on many config, change it in on general settings and also on your project.

Çà vient pas des drivers de ta carte graphique, Nvidia ou AMD?

"soir,

LM20 c'est basé sur Ubuntu 20.04 LTS

sudo add-apt-repository ppa:scorpio/qelectrotech-dev
sudo echo -e 'Package: qelectrotech* \nPin: version 0.80.* \nPin-Priority: 1001' > /etc/apt/preferences.d/40qelectrotech-devel
sudo apt-get install qelectrotech qelectrotech-data qelectrotech-examples qet-tb-generator

https://launchpad.net/~scorpio/+archive … rotech-dev
https://launchpad.net/~scorpio/+archive … lter=focal

3,100

(317 replies, posted in News)

@Alexander:
change to
https://download.qelectrotech.org/qet/forum_img_2/alexander_xref.png