Great. nomicons/wink

Hallo plc-user,

good job. nomicons/wink

What program you use for that?

Hallo plc-user

https://download.qelectrotech.org/qet/forum_img_2/relais_anexpng10.png

In principle I agree with you, all this information shouldn't be added in the QET file, it's just a little hack on my part for the qmcc request to quickly found and export export to csv file with xmlstarlet wires list.
An experienced electrician doesn't need this list to wire the cabinet and knows how to read an electrical diagram.

Maybe I'll think about removing on my commits.

Hallo plc-user




Edit merged

xmlstarlet sel -T -t -m /project/diagram/conductors/conductor -s A:N:- "@num" -v "concat(@num,';',@conductor_color,';',@function,';',@tension_protocol,';',@conductor_section,';',@element1_label,';',@terminalname1,';',@element1_name,';',@element1_linked,';',@element2_label,';',@element2_name,';',@element2_linked,';',@terminalname2,';')" -n  test_terminal_name3.qet > test_liste3.csv

https://download.qelectrotech.org/qet/forum_img_2/relais_anexpng9.png

Re Edit:
J'ai du désactiver les informations "element1_linked" et "element2_linked" dans le code, un de mes projets plantait au chargement.. ainsi que le projet "Verweise.qet " de plc-user.. Ce qui est dommage car à la place de l'UUID on avait le label du contact esclave.

qmcc wrote:

Bonjour,

Merci plc-user et scorpio810 pour votre aide !

scorpio810: Un petit dessin dans un code est plus pragmatique que 3 pages d'explications nomicons/smile

J'ai importé mon fichier .qet dans Excel en passant par l'Editeur Power Query pour "parser" le texte xml,
puis je récupère dans Excel les informations qui m’intéresse sur les conducteurs.

Encore un peu de mise en forme dans Excel et ça devrait etre bon.

https://xmlstar.sourceforge.net/doc/xmlstarlet.pdf

J'obtient il me semble le même résultat que toi avec une seule ligne de commande sur ma Debian avec xmlstarlet.


xmlstarlet sel -T -t -m /project/diagram/conductors/conductor -s A:N:- "@num" -v "concat(@num,';',@conductor_color,';',@function,';',@tension_protocol,';',@conductor_section,';',@element1,';',@terminalname1,';',@element2,';',@terminalname2,';')" -n  test_terminal_name3.qet

https://download.qelectrotech.org/qet/forum_img_2/relais_anexpng5.png


Result:

10;black;start;;0.5mn2;{0a20780e-16b6-4198-b487-a0a22c37b1a0};A1;{f253c71e-38a7-4155-8ab4-a844ced1a227};14;
10;blue;speed;;0.5mn2;{ab3f9e64-382d-4f46-b777-7e64df3c842e};A1;{c31acffc-355c-4720-b8c9-f898854c4f96};14;
13;grey;break;;1.5mn2;{f0307d85-136f-44c8-9845-21138432b71e};A1;{ab572a73-ab0c-4a10-bfc2-7b6d643a02d3};14;
42;green;;;1.5mn2;{f253c71e-38a7-4155-8ab4-a844ced1a227};13;{485965c2-5b29-4837-9d80-39f7771b066d};1;
42;green;;;1.5mn2;{9e50f760-832d-4d89-997b-c069d3768c11};1;{c31acffc-355c-4720-b8c9-f898854c4f96};13;
42;green;;;1.5mn2;{9e50f760-832d-4d89-997b-c069d3768c11};1;{ab572a73-ab0c-4a10-bfc2-7b6d643a02d3};13;

https://download.qelectrotech.org/qet/forum_img_2/relais_anexpng6.png

Inputs and outputs tables are only used for cables, at least here in France, because here each wire end is numbered with the same label on both sides and on the other wires that have the same equipotentiality.

report folio L1 with 2 report folio and connected to terminal 13 of slave NO contact of KA1 coil.
https://download.qelectrotech.org/qet/forum_img_2/relais_anexpng4.png

Hallo plc-user,

for master and slave element see pictures and attached project.
Off course isn't easy to found.

https://download.qelectrotech.org/qet/forum_img_2/relais_anexpng2.png
https://download.qelectrotech.org/qet/forum_img_2/relais_anexpng3.png

Best regards,
Laurent

qmcc wrote:

scorpio810: Un petit dessin dans un code est plus pragmatique que 3 pages d'explications 

Merci, mais j'ai été limité par la taille du document, en vert on pointe vers l’élément 2 la bobine en A1 qui n'apparait pas dans la capture d’écran.

Te reste à trouver comment avec le UUID element1, UUID element2 leurs labels avec Excel...Python, etc..
Ne pas oublier de partager ce que tu auras trouvés, cela devrait intéresser pas mal de monde ici. nomicons/wink

Cordialement,
Laurent

https://download.qelectrotech.org/qet/forum_img_2/relais_anexpng.png
https://download.qelectrotech.org/qet/forum_img_2/relais_anexpng1.png

Hello see and search for" other" in 0.100-dev

https://github.com/qelectrotech/qelectr … r/pull/222


For latest version you can add in element information for coil add additional contacts list.
Like bloc auxlilary 1, bloc auxilary 2 reference.

Regards,
Laurent

Petit exemple avec le dernier commit de plc-user.
https://download.qelectrotech.org/qet/forum_img_2/test_terminal-name.png

Fichier exemple qet joint.

hello,
maybe see xmlstarlet scripts:
https://qelectrotech.org/forum/viewtopi … 6040#p6040

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

Since remote server change
https://download.qelectrotech.org/qet/forum_img_2/translate_doducmentation_online.png

https://download-qelectrotech-org.trans … r_pto=wapp

https://download.qelectrotech.org/qet/forum_img_2/translate_doducmentation_online1.png

Use google translate url
1 select web site
2 select English 
3 enter manual english url link: https://download.qelectrotech.org/qet/manual_0.7/build/index.html
4 select your translation language you want
5 generate online google translation

6 print and select print to pdf on navigator

Hello,
https://qelectrotech.org/forum/viewtopi … 967#p10967

and
https://www.rollapp.com/app/qelectrotech

Regards,
Laurent

591

(5 replies, posted in Export DXF)

What concerns me is that closed-source software cannot read QET DXF export files, whereas open-source solutions can.
Where is the problem, and why 0.7 version can?

592

(5 replies, posted in Export DXF)

@Andy: what your OS?

Edit: just tried on macOS with 0.100-dev and libreCad=DXF export OK..

Hallo plc-user,

I'm not sure the code is perfect, but it's a lot better now for using the spinboxes with the keyboard's arrow keys and or numeric keypad.
Then we'll see how well it compiles on other compilers.

As for side effects, I don't see what they could be.

Best regards,
Laurent

Maybe see
https://qelectrotech.org/forum/viewtopi … 6860#p6860

and
https://qelectrotech.org/forum/viewtopi … 5810#p5810
https://qelectrotech.org/forum/viewtopic.php?id=2724

Add rules for auto numberting with % prefix see more:

https://qelectrotech.org/forum/search.p … 1821763110

Edit: 0.8 version was very old, please use latest 0.100-dev..

https://qelectrotech.org/forum/viewtopi … 001#p17001

597

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

Switched to Portuguese Brasilian language for my last project in 0.100-dev version:
https://download.qelectrotech.org/qet/forum_img_2/portuguese4.png
https://download.qelectrotech.org/qet/forum_img_2/portuguese3.png

598

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

I saw that the translation of this term had been completed in the latest Brazilian translation:
https://download.qelectrotech.org/qet/forum_img_2/portuguese.png
https://download.qelectrotech.org/qet/forum_img_2/portuguese2.png

If you want last 0.100-dev version use Remi's repo for Fedora.

https://copr.fedorainfracloud.org/coprs … ectrotech/

https://download.copr.fedorainfracloud. … ectrotech/

BTW, you have also AppImage here :
https://download.qelectrotech.org/qet/b … e/0.100.0/
Just download and make it executable.

Or maybe my flatpak repository:
https://qelectrotech.org/forum/viewtopic.php?id=1582

599

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

Hello samuelps.hr,

ts files was on github repository https://github.com/qelectrotech/qelectr … rce-mirror
Click on code button and download zip files  or clone git repository.

Here a little howto for bom https://qelectrotech.org/forum/viewtopi … 256#p16256

comment AS 'References'

I want the title to be References, not comment.


Best regards
Laurent

600

(19 replies, posted in Videos howto)