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?
3,076 2020-07-14 16:26:23
Re: Presentation (14 replies, posted in EN : Help, suggestions, discussions, ...)
3,077 2020-07-14 16:17:35
Re: recherche de schéma "exemple" domotique (38 replies, posted in FR : Aide, suggestions, discussions, ...)
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.
3,078 2020-07-14 16:09:40
Re: recherche de schéma "exemple" domotique (38 replies, posted in FR : Aide, suggestions, discussions, ...)
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.
3,079 2020-07-14 16:03:48
Re: "conversion" multifilaire - unifilaire (13 replies, posted in FR : Aide, suggestions, discussions, ...)
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.
3,080 2020-07-14 15:59:17
Re: recherche de schéma "exemple" domotique (38 replies, posted in FR : Aide, suggestions, discussions, ...)
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 ... ![]()
https://github.com/qelectrotech/qelectr … weidmuller
3,081 2020-07-14 15:49:54
Re: recherche de schéma "exemple" domotique (38 replies, posted in FR : Aide, suggestions, discussions, ...)
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

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.
3,082 2020-07-14 15:20:24
Re: "conversion" multifilaire - unifilaire (13 replies, posted in FR : Aide, suggestions, discussions, ...)
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..





3,083 2020-07-14 15:13:07
Re: recherche de schéma "exemple" domotique (38 replies, posted in FR : Aide, suggestions, discussions, ...)
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.
3,084 2020-07-14 15:03:00
Re: recherche de schéma "exemple" domotique (38 replies, posted in FR : Aide, suggestions, discussions, ...)
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.
3,085 2020-07-14 14:59:06
Re: recherche de schéma "exemple" domotique (38 replies, posted in FR : Aide, suggestions, discussions, ...)
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
3,086 2020-07-14 14:55:50
Re: recherche de schéma "exemple" domotique (38 replies, posted in FR : Aide, suggestions, discussions, ...)
Le seul schéma que j'ai pu trouver sur leur site c'est celui là:
3,087 2020-07-14 13:16:54
Re: Nouveautés de la version de développement 0.8 (317 replies, posted in News)
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:
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:
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 2020-07-14 13:12:41
Re: Presentation (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. ;-)
3,089 2020-07-14 11:20:01
Re: recherche de schéma "exemple" domotique (38 replies, posted in FR : Aide, suggestions, discussions, ...)
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
3,090 2020-07-13 22:52:29
Re: add documentation of functions patch files (65 replies, posted in Code)
3,091 2020-07-13 22:29:20
Re: add documentation of functions patch files (65 replies, posted in Code)
3,092 2020-07-13 19:36:42
Re: Presentation (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"
3,093 2020-07-13 16:40:26
Re: Error running qet_tb_generator after generating terminal blocks (3 replies, posted in Terminal block generator)
3,094 2020-07-13 12:15:42
Re: add documentation of functions patch files (65 replies, posted in Code)
Merged, thanks Simon.
3,095 2020-07-12 14:39:42
Re: Nouveautés de la version de développement 0.8 (317 replies, posted in News)
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.
note:
This enum value is deprecated and shall be removed in Qt 6.
https://doc.qt.io/qt-5/qt.html#DateFormat-enum
WIP :
3,096 2020-07-11 12:38:57
Re: installation linuxmint 20 (9 replies, posted in FR : Aide, suggestions, discussions, ...)
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 2020-07-10 23:26:50
Re: Nouveautés de la version de développement 0.8 (317 replies, posted in News)
I saw the same issue on many config, change it in on general settings and also on your project.
3,098 2020-07-10 23:22:18
Re: installation linuxmint 20 (9 replies, posted in FR : Aide, suggestions, discussions, ...)
Çà vient pas des drivers de ta carte graphique, Nvidia ou AMD?
3,099 2020-07-10 22:55:06
Re: installation linuxmint 20 (9 replies, posted in FR : Aide, suggestions, discussions, ...)
"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-generatorhttps://launchpad.net/~scorpio/+archive … rotech-dev
https://launchpad.net/~scorpio/+archive … lter=focal
3,100 2020-07-10 22:34:10
Re: Nouveautés de la version de développement 0.8 (317 replies, posted in News)
@Alexander:
change to


