olivier.perrin wrote:

question général.

Savez vous pourquoi qet_tb_generator me corrompt mes fichiers ?

Tu devrais poster une issue sur le Github de Raul avec un de tes fichiers pour qu'il voit ce qui cloche.

https://github.com/raulroda/qet_tb_gene … gin/issues

Hi Nico,

thanks for compliments.

See this topic : https://qelectrotech.org/forum/viewtopic.php?id=1180

Bonsoir Olivier,

voir la doc Ubuntu sur sed
https://doc.ubuntu-fr.org/sed

Ton fichier DAK_STD_UL_E116_RevA_Remote_Support_T-2022-10-28.qet est rempli de milliers/millions de lignes avec la chaîne de caractères :





 represents the ASCII "carriage return" character (ASCII code 13 , which is D in hexadecimal), sometimes written "\r" , rather than the "linefeed" character, "\n" (which is ASCII 10 , or A in hex)

Donc j'ai fait simple car la journée au boulot à été rude et je suis crevé et il me reste encore deux nuits de boulot à faire...avec Kate j'ai remplacé les chaines 
 par rien, puis je save sous DAK_STD_UL_E116_RevA_Remote_Support_T-2022-10-28_1.qet

Puis je me sert de la commande de sed pour supprimer les lignes vides,voila:

[22:00:02] laurent@debian:/Pb Qet$ sed '/^$/d' DAK_STD_UL_E116_RevA_Remote_Support_T-2022-10-28_1.qet >B.qet

Voila le fichier réparé et en pièce jointe B.qet

Bonne soirée,
Laurent

1,554

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

?

1,555

(13 replies, posted in Elements)

denis.selli wrote:

Bom dia senhores, alguém teria a biblioteca do Siemens CU250S-2 DP?

Bom dia,

I don't know, see here:
https://github.com/qelectrotech/qelectr … es/siemens

If you draw this symbol, please send here, I put it on offcial collection, thanks in advance.

1,556

(13 replies, posted in Elements)

EvoShin wrote:

Bonjour,
J'aimerais savoir si il y a un modèle disponible pour un Sinamics V20 6SL3210 Triphasé 400V ?
Merci


Bonjour,
voir ici ce qui est disponible sur la dernière 0.9-dev:
https://github.com/qelectrotech/qelectr … ics_drives

1,557

(17 replies, posted in Videos howto)

Hi,
see https://qelectrotech.org/forum/viewtopi … 256#p16256

1,559

(26 replies, posted in Elements)

Same here: when I upload like AppImage file I revert executable flag on files before upload on server.
chmod -x your file.

https://qelectrotech.org/wiki_new/doc/p … n#appimage

1,560

(26 replies, posted in Elements)

You forgot to make it executable and rename it without point.
Rename it to QET_ElementScaler_x86_64-apple-darwin21-6-0-0

But it 's strange  I don't use if I'm remember chmod to make it executable... saw my previous capture.
https://download.qelectrotech.org/qet/forum_img_2/plc_user3.png

After chmod +x is work
https://download.qelectrotech.org/qet/forum_img_2/plc_user4.png

@Erik
https://qelectrotech.org/forum/search.p … er_id=1905

Bonjour,

il te faudra les re ajuster, nous avons fait des modifs pour ajouter les esclaves Others.

Edit : https://qelectrotech.org/forum/viewtopi … 64&p=2

1,563

(26 replies, posted in Elements)

Not a binary...
https://download.qelectrotech.org/qet/forum_img_2/plc_user2.png

1,564

(15 replies, posted in Videos howto)

Bonjour,

les "textes libres" seront tres difficiles à exploiter pour un export csv, car c'est du simple HTML même avec des outils XMl, HTML, SED, AWK, Perl, FIND,  etc, .... tu vas peu-être t'arracher les cheveux en écrivant ces scripts, ce n'est pas le but de ces textes.
Exemple de texte libre : "mon test de texte", donne dans le fichier .qet ceci dans la balise inputs:

<inputs>
            <input y="168.912" font="Sans Serif,9,-1,5,50,0,0,0,0,0,Condensed" text="&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;>&#xa;&lt;html>&lt;head>&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; />&lt;style type=&quot;text/css&quot;>&#xa;p, li { white-space: pre-wrap; }&#xa;&lt;/style>&lt;/head>&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;>&#xa;&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;>mon test de texte&lt;/p>&lt;/body>&lt;/html>" x="415.158" rotation="0"/>
        </inputs>

Je pense qu'il vaut mieux créer un élément qui servira de container ou tu pourras ensuite renseigner dans le widget information les renseignements et qui pourront s'afficher comme un texte libre visuellement, mais qui sera ensuite possible de retrouver et filtrer les informations dans la base SQL afin de créer un export csv..

Remarque: si on a rajouté la possibilité d'avoir un fond de grille sombre en plus, ce n'est pas pour rien ou juste pour le confort de vos yeux..., c'est très utile pour faire ressortir pendant le travail des éléments invisibles cachés de données (cadres ou informations dessinées en blanc) qui peuvent aussi être esclaves d'autres éléments et qui seront invisibles par défaut sur l'espace de travail blanc ou lors de l'impression papier ou PDF, Nuri s'en servait beaucoup sur ses projets pour ses nomenclatures et différents exports csv pour combler les manques de QET à l'époque.

Je te laisse rechercher ses post ou il en parlait, je pense que ça te sera utile et très enrichissant.

1,566

(17 replies, posted in Videos howto)

1,567

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

Thanks for these informations Larry, I try on my macos monterey 12.6 when I have a little free time.
Now is the time to go to my work ....and I hope to spend a quiet night without too many worries on the industrials machines ..


Laurent

1,568

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

@Larry:

Pour Mac OS X :
$HOME/Library/Preferences/QElectroTech/QElectroTech.plist

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

1,569

(6 replies, posted in Elements)

Sending issue to https://github.com/antonioaja/dxf2elmt/issues/1

1,570

(26 replies, posted in Elements)

laurents-iMac-Pro:QET_ElementScaler laurent$ git status
On branch master
Your branch is up to date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
    QET_ElementScaler
    Untitled2.dxf
    moteur_hydr_1.SCALED.elmt
    moteur_hydr_1.elmt
    nouvel_element.SCALED.elmt
    nouvel_element.elmt
    obj/

nothing added to commit but untracked files present (use "git add" to track)

macOS X86_64 binary

1,571

(26 replies, posted in Elements)

sorry, I don't have any access to mac's ...

Like me also nomicons/wink , but I use this KVM for QET OSX packaging on my Debian SID setup, after if users want to send me a mac pro workstation (cost of purchase ~ 24 000 to 45 000 €) why not. But I prefer running Debian..
BTW when you have not money or hardware for you try other workarounds or hacks for run and compile for this OSX, like me whit my Threadripper workstation 3960X.
I have a OSX VM with I send 24 threads CPU and 24G off RAM (my setup: 3960X 24 cores 48 Threads +64G RAM
linux debian 6.0.0-vanilla #1 SMP PREEMPT_DYNAMIC Tue Oct 4 15:13:44 CEST 2022 x86_64 GNU/Linux
), just not time to try GPU passtrough hacks with my old RX 550 (hum lexa model not Baffin shit.!!!..) no GPU acceleration is available yet, for faster and better 2D rendering and debug on OSX.
https://www.reddit.com/r/VFIO/comments/ … x_550_gpu/
Compil and build bundle only takes me a few minutes like others OS packaging..
see https://qelectrotech.org/forum/viewtopi … 576#p16576

1,572

(26 replies, posted in Elements)

Compile work on mac's, but mirror flip on this element isn't perfect yet. nomicons/wink
https://download.qelectrotech.org/qet/forum_img_2/QET_scaler-macos3.png

1,573

(26 replies, posted in Elements)

Now the challenge is to make a binary for macOS user, when I have a little time.

1,574

(26 replies, posted in Elements)

Great nomicons/wink

laurent@debian:/media/backup6/download$ git clone https://github.com/plc-user/QET_ElementScaler.git
Cloning into 'QET_ElementScaler'...
remote: Enumerating objects: 107, done.
remote: Counting objects: 100% (107/107), done.
remote: Compressing objects: 100% (101/101), done.
remote: Total 107 (delta 53), reused 20 (delta 4), pack-reused 0
Receiving objects: 100% (107/107), 116.45 KiB | 2.48 MiB/s, done.
Resolving deltas: 100% (53/53), done.
laurent@debian:/media/backup6/download$ ^C
laurent@debian:/media/backup6/download$  cd /media/backup6/download/QET_ElementScaler
laurent@debian:/media/backup6/download/QET_ElementScaler$ ./compile.sh 
laurent@debian:/media/backup6/download/QET_ElementScaler$ 

1,575

(26 replies, posted in Elements)

Fixed! ;-)

laurent@debian:/media/backup6/download/QET_ElementScaler$ mkdir -p obj/inc/pugixml
laurent@debian:/media/backup6/download/QET_ElementScaler$ ./compile.sh 

#!/bin/sh

# compile QET_ElementScaler

g++  -c inc/pugixml/pugixml.cpp -o obj/inc/pugixml/pugixml.o
g++  -c main.cpp -o obj/main.o
g++ -o  QET_ElementScaler obj/inc/pugixml/pugixml.o obj/main.o  -s