Bonjour dans la collection officielle:
https://download.qelectrotech.org/qet/e … index.html
751 2024-01-03 16:39:07
Re: Qelectrotech et les fluides (36 replies, posted in Bar Fourre-tout)
752 2023-12-30 19:10:15
Re: New .dxf to .elmt Conversion Program (209 replies, posted in Import DXF)
Hello Hamish,
thank you for your support.
I think your MAC is an Intel processor so x86_64, now Apple is releasing an Apple silicon chip "M1, M2, M3" it's like your smartphone an ARM64 chip so the code compiled on X86_64 doesn't work directly but emulated with roseta 2 the code can work more slowly with sometimes bugs, on the other hand the code compiled on arm64 environment can't work on an intel processor...
So use https://download.qelectrotech.org/qet/b … .0/osx_64/ on Intel Mac.
Best regards
Laurent
753 2023-12-29 20:49:59
Re: Présentation c'est par ici. (130 replies, posted in Bar Fourre-tout)
Nice tip, thanks.
754 2023-12-28 13:10:02
Re: Guide: QET-0.100DEV on Touchscreen Andriod Samsung Tab S7 with S-Pen (6 replies, posted in EN : Help, suggestions, discussions, ...)
Importing and exporting files in UserLAnd:
https://github.com/CypherpunkArmory/Use … n-UserLAnd
Running Linux apps on Android without rooting your phone:
Printing with CUPS does not immediately work either.
https://www.linux-magazine.com/Issues/2 … (offset)/3
755 2023-12-28 12:39:21
Re: Présentation c'est par ici. (130 replies, posted in Bar Fourre-tout)
The electrical horn wouldn't be a problem with us, we've got quite a few in our shop, but you'd have to fiddle with it and add a battery...
I love your bike, which is very well organised. Unfortunately, that's not possible in our site, where we'd need around 25 of them for each electrician and mechanic guys, and the factory is several hectares in size and has several floors...
That's why I carry more than ten kilos of tools with me... like a cowboys or special force, and I walk an average of ten kilometres per 8-hour shift...
Unfortunately I'm now broken all over, and I'll have to make do with a desk job...
I'm no longer healthy enough to work 5x8 after 35 years in 4x8 and 5x8, or to be on the front line.
I have seriously been considering getting one of these Impact Train Horns,
lol
756 2023-12-27 14:12:38
Re: QET-Element to SVG (96 replies, posted in Scripts)
Added automatic download element file when you click on *.elmt link text.
- echo "<a href=\"$elmtdatei\">${svgdatei%.svg}<br> <img src=\"$svgdatei\" /></a><br>" >> $d/index.html
+echo "<a href=\"$elmtdatei\" download>${svgdatei%.svg}<br> <img src=\"$svgdatei\" /></a><br>" >> $d/index.html
Added return to history back button:
echo '<li><a href="../index.html">Parent Directory </a></li><br><br><li><button class="spectrum-Button spectrum-Button--sizeM spectrum-Button--cta svelte-1gv5n3y cd17fc8d794774a44aa5bbe652ad93894-dom" onclick="history.back()">Back return</button></li><br>' > $d/index.html
757 2023-12-27 12:43:41
Re: Note de calcul (1 replies, posted in FR : Aide, suggestions, discussions, ...)
Bonjour,
tu dois facilement importer une feuille de calcul Libreoffice, comme dans cette video.
758 2023-12-27 12:09:39
Re: QET-Element to SVG (96 replies, posted in Scripts)
Added the back button to the parent directory, to make navigation easier.
<a href="../index.html">Parent Directory </a><br>
#!/bin/bash
# to be able to process blanks in file names - remember original state:
OFS=$IFS
# set new:
IFS="
"
BaseDir="qelectrotech-elements"
for d in `find $BaseDir -type d | sort`; do
echo "processing directory $d"
# html-Header:
echo "<html><body>" > $d/index.html
echo "<a href="../index.html">Parent Directory </a><br>" > $d/index.html
# Unterverzeichnisse auflisten:
for sd in `find $d -maxdepth 1 -type d | sort`; do
if [[ "$d" == "$sd" ]] ; then
continue
fi
echo "sub-dir: $sd"
echo "<a href=\"`basename $sd`/index.html\">`basename $sd`</a><br>" >> $d/index.html
done
# SVG-Dateien auflisten:
for f in `find $d -maxdepth 1 -name "*.svg" | sort` ; do
echo "file: `basename $f`"
svgdatei=`basename $f`
elmtdatei="${svgdatei%.svg}.elmt"
echo "<a href=\"$elmtdatei\">${svgdatei%.svg}<br> <img src=\"$svgdatei\" /></a><br>" >> $d/index.html
done
# html-Footer:
echo "</body></html>" >> $d/index.html
echo ""
done
# blanks in filenames - back to original:
IFS=$OFS
# DONE!
Edit: changed to
echo "<li><a href="../index.html">Parent Directory </a></li>" > $d/index.html
759 2023-12-26 23:56:14
Re: QET-Element to SVG (96 replies, posted in Scripts)
Benchmark scripts on my Debian workstation
8340 elements dans 1110 categories (soit 9450 fichiers)
Clean my local git repository:
cd qelectrotech-elements/
git clean -d -x -f
cd ..
Convert *.elmt to *.SVG:
time ./toSVG.sh
real 0m55,232s
Add index.html pages in all directory:
time ./toHTMLsh
real 0m47,843s
Ssh sync to remote:
time rsync -e ssh -av -W --delete-after --no-owner --no-g --chmod=g+w --progress --exclude='.*/' /home/laurent/Qet_scripts/qelectrotech-elements/qelectrotech-elements/ server:download.qelectrotech.org/qet/elements/
real 0m30,741s
760 2023-12-26 23:36:04
Re: QET-Element to SVG (96 replies, posted in Scripts)
@plc-user:
good work, thanks plc-user. ![]()
Preview on remote, example:
https://download.qelectrotech.org/qet/e … index.html
ps: I changed scale factor to 2.0 instead of 5.0.
761 2023-12-26 13:55:32
Re: QET-Element to SVG (96 replies, posted in Scripts)
Just for the record:
diff --git a/toSVG.sh b/toSVG.sh
index 98101ca..976a899 100755
--- a/toSVG.sh
+++ b/toSVG.sh
@@ -3,9 +3,9 @@
# scales QET - Element-files in the directory from where it was called and
# all sub-dirs by the factor given here:
-Skalierung="1.0"
-SkalierProg="/home/ich/Projekte/c_c++/QET_ElementScaler/QET_ElementScaler"
-
+Skalierung="5.0"
+#SkalierProg="/home/ich/Projekte/c_c++/QET_ElementScaler/QET_ElementScaler"
+SkalierProg="/home/laurent/Qet_scripts/qelectrotech-elements/QET_ElementScaler"
# to be able to process blanks in file names - remember original state:
OFS=$IFS
# set new:
@@ -16,7 +16,7 @@ for i in `find . -name "*.elmt"` ; do
echo "processing $i"
# With the construct in curly brackets the file extension
# is changed accordingly
- "$SkalierProg" --toSVG -o "$i" > "${i%.elmt}.svg"
+ "$SkalierProg" --toSVG -o -F "$Skalierung" "$i" > "${i%.elmt}.svg"
done
# blanks in filenames - back to original:
rsync -e ssh -av -W --delete-after --no-owner --no-g --chmod=g+w --progress --exclude=''.*/ /home/laurent/Qet_scripts/qelectrotech-elements/qelectrotech-elements/ server:download.qelectrotech.org/qet/elements/
rsync -e ssh -av -W --delete-after --no-owner --no-g --chmod=g+w --progress --exclude='.*/' /home/laurent/Qet_scripts/qelectrotech-element-contrib/qelectrotech-element-contrib/elements/ server:download.qelectrotech.org/qet/elements_contrib/
@plc-user: https://github.com/plc-user/QET_ElementScaler/pull/2
762 2023-12-26 13:23:01
Re: Symbôles RGIE - Importation des éléments "up to date" (3 replies, posted in FR : Aide, suggestions, discussions, ...)
Tu as aussi un aperçu en SVG de ces éléments ici, grace au travail de Plc-user. ![]()
https://download.qelectrotech.org/qet/e … b/71_rgie/
Il te suffit de parcourir les dossiers, et de cliquer sur les fichiers en SVG.
Laurent
763 2023-12-26 13:17:43
Re: Symbôles RGIE - Importation des éléments "up to date" (3 replies, posted in FR : Aide, suggestions, discussions, ...)
Bonjour Pierre,
https://github.com/qelectrotech/qelectr … nt-contrib
764 2023-12-24 15:49:50
Re: Guide: QET-0.100DEV on Touchscreen Andriod Samsung Tab S7 with S-Pen (6 replies, posted in EN : Help, suggestions, discussions, ...)
There are still a few more things to figure out, such as if you are able to Print from this Virtual Machine, and how to transfer files on and off the Virtual Machine. It will be awhile until I start hacking away at this problem, so if anyone else wants to pick up the torch, please feel free to figure these things out.  I will update this post as progress is made.
Maybe....
1) You have network working also, try to install samba packages to share yours files between Windows or linux machines. I think it's always installed.
2) Buy a usb adapter and key formatted in FAT 32, try to find it or mount it in your VM. Or try to found your internal SD card if you have a little shared partition in FAT32.
3) maybe you can try to print with WIFI .... If yours printers was connected to your router by cables or Wifi..
Tip: on tablet with this little screen, stack the widgets one on top of the other, in order to have more room for your diagram...
Good hacking...
766 2023-12-23 17:53:06
Re: Folios/Pages starting at 0 in Summary Table, Compound SELECT, +more (8 replies, posted in EN : Help, suggestions, discussions, ...)
I't s only a little search on forum...
Great!!
767 2023-12-23 14:59:22
Re: Guide: QET-0.100DEV on Touchscreen Andriod Samsung Tab S7 with S-Pen (6 replies, posted in EN : Help, suggestions, discussions, ...)
@Foxtech: Wow it could be of interest to a lot of people.
I saw many many guys ask me, these guys want to launch QET on a Ipad or Android tablet..
The tablets allow you to take notes or correct a diagram in front of the electrical cabinets...
Maybe be to more easy on Ipad pro M1/M2? -> It doesn't seem very safe I think...
769 2023-12-23 07:10:06
Re: Présentation c'est par ici. (130 replies, posted in Bar Fourre-tout)
Hello FoxTech,
you are welcome.
Uhu, we have same bikes at my work for technical repair guys.
/me wanted a quad motorcycle ![]()
Laurent
770 2023-12-23 07:06:29
Re: Folios/Pages starting at 0 in Summary Table, Compound SELECT, +more (8 replies, posted in EN : Help, suggestions, discussions, ...)
771 2023-12-22 12:29:49
Re: Second User-Collection (13 replies, posted in Code)
Remi and me saw some wrong translations files.
I don't know what happened yet.
I edited the wiki.
lupdate -noobsolete qelectrotech.pro -ts lang/qet_{en,es,ru,pt,cs,pl,ca,de,ro,it,ar,sl,hr,el,nl,be,zh,hu,pt_br,da,sr,fr,tr,sk,nb,mn,ja,uk}.ts
772 2023-12-22 09:30:35
Re: QET-Element to SVG (96 replies, posted in Scripts)
Great work plc-user, thanks. ![]()
It would be wise we keep your code to transform "font_size="*" to new fonts, olders QET users like me have a lot of old elements in our custom collection at work.
@Joshua: what do you think about?
773 2023-12-21 18:10:48
Re: QET-Element to SVG (96 replies, posted in Scripts)
https://qelectrotech.org/forum/viewtopi … 415#p14415
deepl translate:
Backward compatibility :
Backward compatibility has been removed from certain parts of the code.
Opening a project created with a version of QElectroTech lower than 0.7 will still be possible, but the schematics will be broken on :
-Old element texts will no longer be converted to new element texts (dynamic text), so elements will no longer have text.
-A long time ago, variables had to be written directly in the element 'label'. When the element 'formula' appeared, labels containing variables (%) were considered to be 'formulas' and so the contents of the label were transferred to the 'formula'. This is no longer the case: if the label is of the form KM%id, it will remain as such and the formula will be empty.
Why break your beautiful schema that you've worked so hard to create?
In order to clean up old portions of wobbly, twisted, sometimes bulky code that only I know the obscure reason for.
To gradually prepare the future of qet (I talk about this a lot for those who follow qet's development).
But also, thanks to Laurent's work, we have ready-to-use windows and linux appimages of older versions of qet, so nothing is lost  all you have to do is open a project that isn't compatible with 0.8, save it (which will result in a project saved according to 0.8 'standards') and then open it with 0.9.
When opening a project created with a non-compatible version, a dialog box will inform the user of the situation and the procedure to follow to make the project compatible.
Ps: I'm sorry, but I need to get some rest and keep an eye on my high blood pressure....
774 2023-12-21 18:01:00
Re: QET-Element to SVG (96 replies, posted in Scripts)
grep -R "dynamic_text" . | grep "font_size" | awk '{ print $1 }' | sort | uniq > list2.txt./10_electric/10_allpole/114_connections/combine.elmt:
./10_electric/10_allpole/114_connections/jump.elmt:
./10_electric/20_manufacturers_articles/allen_bradley/1734/1734_ib8s.elmt:
./10_electric/20_manufacturers_articles/circuit-microsens/g6_microswitch_vertikal.elmt:
./10_electric/20_manufacturers_articles/endress_hauser/e_h_prosonic_s_fdu90.elmt:
./10_electric/20_manufacturers_articles/endress_hauser/e_h-prosonic_s_fmu90.elmt:
./10_electric/20_manufacturers_articles/endress_hauser/endress-&-hauser-liquisys-m-cpm223.elmt:
./10_electric/20_manufacturers_articles/gce/xd.elmt:
./10_electric/20_manufacturers_articles/ifm/10_connection_technology/ac5209_entrees.elmt:
./10_electric/20_manufacturers_articles/ifm/10_connection_technology/ac5209_sorties.elmt:
./10_electric/20_manufacturers_articles/ifm/10_connection_technology/ac5215.elmt:
./10_electric/20_manufacturers_articles/jm_ulcos/convertisseur_jm_ulcos_920d2.elmt:
./10_electric/20_manufacturers_articles/omron/01_PLC_controllers/cj1/taille1/cj1wid232.elmt:
./10_electric/20_manufacturers_articles/omron/01_PLC_controllers/cj1/taille1/omron
./10_electric/20_manufacturers_articles/pilz/09_safety_modules/pnoz/pilz-s30-vue.elmt:
./10_electric/20_manufacturers_articles/schneider_electric/01_PLC_controllers/extension_tm3/ana/tm3ti8_2_2t.elmt:
./10_electric/20_manufacturers_articles/schneider_electric/01_PLC_controllers/extension_tm3/ana/tm3ti8_layout.elmt:
./10_electric/20_manufacturers_articles/schneider_electric/01_PLC_controllers/extension_tm3/ana/tm3ti8t_1_2.elmt:
./10_electric/20_manufacturers_articles/schneider_electric/01_PLC_controllers/extension-tm4/carteentreeanatmc4ai2.elmt:
./10_electric/20_manufacturers_articles/schneider_electric/01_PLC_controllers/extension-tm4/tm4es4_layout.elmt:
./10_electric/20_manufacturers_articles/schneider_electric/01_PLC_controllers/m221/02_m221ce40t.elmt:
./10_electric/20_manufacturers_articles/schneider_electric/01_PLC_controllers/m241/tm241ce24r/tm241ce24r_sorties
./10_electric/20_manufacturers_articles/schneider_electric/01_PLC_controllers/modicon-m340/analog-connector/bmxami_1.elmt:
./10_electric/20_manufacturers_articles/schneider_electric/01_PLC_controllers/modicon-m340/discret-connector/bmxddi_1.elmt:
./10_electric/20_manufacturers_articles/schneider_electric/01_PLC_controllers/modicon-m340/discret-connector/bmxddi_2.elmt:
./10_electric/20_manufacturers_articles/schneider_electric/01_PLC_controllers/modicon-m340/discret-connector/bmxddi_3.elmt:
./10_electric/20_manufacturers_articles/schneider_electric/01_PLC_controllers/modicon-m340/discret-connector/bmxddo_1.elmt:
./10_electric/20_manufacturers_articles/schneider_electric/01_PLC_controllers/modicon-m340/discret-connector/bmxddo_2.elmt:
./10_electric/20_manufacturers_articles/schneider_electric/01_PLC_controllers/modicon-m340/discret-connector/bmxddo_3.elmt:
./10_electric/20_manufacturers_articles/schneider_electric/01_PLC_controllers/modicon-m340/discret-connector/bmxddo_4.elmt:
./10_electric/20_manufacturers_articles/schneider_electric/01_PLC_controllers/tcsesm083f2cu0.elmt:
./10_electric/20_manufacturers_articles/schneider_electric/20_frequency_drives/atv320.elmt:
./10_electric/20_manufacturers_articles/schneider_electric/protection/Three-phase
./10_electric/20_manufacturers_articles/siemens/01_PLC_controllers/6es7-1200/6es7_215-1hg40-0xb0-2.elmt:
./10_electric/20_manufacturers_articles/siemens/01_PLC_controllers/6es7-1200/6es7_215-1hg40-0xb0-31.elmt:
./10_electric/20_manufacturers_articles/siemens/01_PLC_controllers/6es7-1200/6es7_215-1hg40-0xb0-4.elmt:
./10_electric/20_manufacturers_articles/siemens/01_PLC_controllers/6es7-1200/6es7_215-1hg40-0xb0.elmt:
./10_electric/20_manufacturers_articles/siemens/01_PLC_controllers/6es7-1200/6es7_221-1bf32-0xb0.elmt:
./10_electric/20_manufacturers_articles/siemens/01_PLC_controllers/6es7-1200/6es7_221-1bh32-0xb0.elmt:
./10_electric/20_manufacturers_articles/siemens/01_PLC_controllers/6es7-1200/6es7_221-bh32-0xb0-2.elmt:
./10_electric/20_manufacturers_articles/siemens/01_PLC_controllers/6es7-1200/6es7_222-1hf32-0xb01.elmt:
./10_electric/20_manufacturers_articles/siemens/01_PLC_controllers/6es7-1200/6es7_222-1hf32-0xb0-2.elmt:
./10_electric/20_manufacturers_articles/siemens/01_PLC_controllers/6es7-1200/6es7_223-1pl32-0xb0-2.elmt:
./10_electric/20_manufacturers_articles/siemens/01_PLC_controllers/6es7-1200/6es7_223-1pl32-0xb0-3.elmt:
./10_electric/20_manufacturers_articles/siemens/01_PLC_controllers/6es7-1200/6es7_223-1pl32-0xb0-4.elmt:
./10_electric/20_manufacturers_articles/siemens/01_PLC_controllers/6es7-1200/6es7_223-1pl32-0xb0.elmt:
./10_electric/20_manufacturers_articles/siemens/01_PLC_controllers/6es7-1200/6es7_234-4he32-0xb0-2.elmt:
./10_electric/20_manufacturers_articles/siemens/01_PLC_controllers/6es7-1200/6es7_234-4he32-0xb0.elmt:
./10_electric/20_manufacturers_articles/siemens/01_PLC_controllers/6es7-1200/s71200_cpu_1212_ac_dc-rel_03.elmt:
./10_electric/20_manufacturers_articles/siemens/01_PLC_controllers/6es7-1200/s7-1200-cpu-1215-dc-dc-rly.elmt:
./10_electric/20_manufacturers_articles/siemens/01_PLC_controllers/6es7-1200/s7-1200-sm1221-16i-dc.elmt:
./10_electric/20_manufacturers_articles/siemens/01_PLC_controllers/6es7-1200/s7-1200-sm1231-4ai.elmt:
./10_electric/20_manufacturers_articles/siemens/02_human_machine_interface/terminal_operateur/tp700.elmt:
./10_electric/20_manufacturers_articles/siemens/90_connection_technology/3rk1100-0cq20-0aa3.elmt:
./10_electric/20_manufacturers_articles/siemens/90_connection_technology/3rk1200-0cq20-0aa3.elmt:
./10_electric/20_manufacturers_articles/siemens/90_connection_technology/3rk1400-1dq03-0aa3.elmt:
./10_electric/20_manufacturers_articles/unitronics_plc/unitronics_ex-a2x.elmt:
./10_electric/20_manufacturers_articles/unitronics_plc/unitronics_io-di16_1-2.elmt:
./10_electric/20_manufacturers_articles/unitronics_plc/unitronics_io-di16_2-2.elmt:
./10_electric/20_manufacturers_articles/unitronics_plc/unitronics_io-di16.elmt:
./10_electric/20_manufacturers_articles/warner/clutch.elmt:
./10_electric/98_graphics/99_assembly_plan/01_thumbnails_mounting_plate/99_divers/bornegrise6.elmt:
./10_electric/98_graphics/99_assembly_plan/01_thumbnails_mounting_plate/99_divers/c2a.elmt:
./10_electric/98_graphics/99_assembly_plan/01_thumbnails_mounting_plate/99_divers/disjonncteur_c.elmt:
./10_electric/98_graphics/99_assembly_plan/01_thumbnails_mounting_plate/99_divers/inter_dif.elmt:
./10_electric/98_graphics/99_assembly_plan/01_thumbnails_mounting_plate/99_divers/prise_modulaire.elmt:
./10_electric/98_graphics/99_assembly_plan/01_thumbnails_mounting_plate/99_divers/transfo.elmt:
775 2023-12-21 17:28:45
Re: QET-Element to SVG (96 replies, posted in Scripts)
This element pilz-s30-vue.elmt was generated in version 0.70 ... strange by the DXF converter in the meantime we must have probably switched to another font recording format, if there are only a few symbols, isn't that annoying?
Edit maybe DXF converter convert texts to old font format..?
