QET ne peux pas lire un réseau directement, il faut monter un lecteur réseau sur Windows, ou faire un partage samba sur un Linux.

Tu peux aussi définir des chemins personnaliser ou stocker tes collections.

https://download.qelectrotech.org/qet/forum_img_2/collection_path.png
https://download.qelectrotech.org/qet/forum_img_2/collection_path2.png

Bonjour,

il suffit de faire un clic droit et dans le menu contextuel choisir propriété du dossier, ou ouvrir directement le dossier.
https://download.qelectrotech.org/qet/forum_img_2/collection_path4.png
https://download.qelectrotech.org/qet/forum_img_2/collection_path3.png

You can select several conductors only to delete them, not to change their appearance for now.
we've never been asked until now!

But you could search and change several conductors  if you can match label.
Example:

I wanted to change the line type of the conductors/wires from "continuous" to "dotted" for wires starting with M2.

https://download.qelectrotech.org/qet/forum_img_2/edit_conductor-ctrl-f.png

Hello,

maybe try control + f
settings -> conductors (wires)

or try to edit your project.qet with a good text editor.. please make a backup before!

Thanks,

see this post: https://qelectrotech.org/forum/viewtopi … 523#p19523
and https://download.qelectrotech.org/qet/m … ables.html

Try %{locmach}

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

Laurent

Ganz nebenbei, wie lautet eigentlich der Speicherort um die Bilder direkt im Text des Forumseintrags anzeigen zu lassen?
[img]??[/img]

Use png format instead off jpg!

Yes try industrial.qet example provided whit QET package.

Btw do not save your project after generate terminal block, just close this project and re open it.

https://qelectrotech.org/forum/viewtopi … 260#p19260
https://qelectrotech.org/forum/viewtopi … 066#p17066

537

(16 replies, posted in Videos howto)

538

(96 replies, posted in Scripts)

Add a Scroll Back To Top Button.

#!/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 '<!doctype html>
  <html>
<head>
<link href="/qet/to-top.css" rel='
stylesheet' type='text/css'>' > $d/index.html
  echo '<script type="text/javascript" src="https://code.jquery.com/jquery-3.3.1.min.js"></script>'  >> $d/index.html
  echo '<script src="/qet/to-top.js"></script>'  >> $d/index.html
  echo '<li><a href="../index.html">&larr;  Parent Directory </a></li><br><li><button class="spectrum-Button spectrum-Button--sizeM spectrum-Button--cta svelte-1gv5n3y cd17fc8d794774a44aa5bbe652ad93894-dom" onclick="history.back()">Back return</button></li>'  >> $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\" download>${svgdatei%.svg}<br> <img src=\"$svgdatei\" /></a><br><br>" >> $d/index.html
  done
  # html-Footer:
  #echo "<li><a href="../index.html">&larr;  Parent Directory </a></li><br><a href="#" class="btn btn-default">Back to top ↑</a>" >> $d/index.html
  echo '<div id="scrollUp">
<a href="#top"><img src="/qet/to_top.png"/></a>
</div></body></html>'
>> $d/index.html
  echo ""
done
 
# blanks in filenames - back to original:
IFS=$OFS
# DONE!

If you have a website that has large pages, it may be useful to display a button to return to the top of the page.
It is a good idea to place the button at the bottom right.
The goal is that it is displayed once 200 pixels of page go down.

539

(1 replies, posted in Documentation)

Bonjour,

/**
 * Inside this namespace you will fin all information used in QElectrotech for
 * element, conductor and diagram.
 * Each information have 3 values :
 * #1 the info key = the key of an information as a QString used in the code (example : label)
 * #2 the info key to variable = the key in form of a variable.
 * This is used by the user to replace a variable by the string of this variable (example : %{label})
 * #3 the info key translated to the current local (example label in dutch = Betriebsmittelkennzeichen)
 */
namespace QETInformation
{
    /** Default information related to element **/
    static QString ELMT_LABEL                        = "label";
    static QString ELMT_FORMULA                      = "formula";
    static QString ELMT_COMMENT                      = "comment";
    static QString ELMT_FUNCTION                     = "function";
    static QString ELMT_AUX1                         = "auxiliary1";
    static QString ELMT_AUX2                         = "auxiliary2";
    static QString ELMT_DESCRIPTION                  = "description";
    static QString ELMT_DESIGNATION                  = "designation";
    static QString ELMT_MANUFACTURER                 = "manufacturer";
    static QString ELMT_MANUFACTURER_REF             = "manufacturer_reference";
    static QString ELMT_MACHINE_MANUFACTURER_REF     = "machine_manufacturer_reference";
    static QString ELMT_SUPPLIER                     = "supplier";
    static QString ELMT_QUANTITY                     = "quantity";
    static QString ELMT_UNITY                        = "unity";
    static QString ELMT_PLANT                        = "plant";
    static QString ELMT_LOCATION                     = "location";

    /** Default information related to conductor **/
    static QString COND_FUNCTION             = "function";
    static QString COND_TENSION_PROTOCOL     = "tension_protocol";
    static QString COND_COLOR                = "conductor_color";
    static QString COND_SECTION              = "conductor_section";
    static QString COND_FORMULA              = "formula";
    static QString COND_TEXT                 = "text";

    /** Default information related to diagram **/
    static QString DIA_AUTHOR             = "author";
    static QString DIA_DATE               = "date";
    static QString DIA_DISPLAY_FOLIO      = "display_folio";
    static QString DIA_FILENAME           = "filename";
    static QString DIA_FOLIO              = "folio";
    static QString DIA_INDEX_REV          = "indexrev";
    static QString DIA_LOCMACH            = "locmach";
    static QString DIA_PLANT              = "plant";
    static QString DIA_POS                = "pos";
    static QString DIA_TITLE              = "title";
    static QString DIA_FOLIO_ID           = "folio-id";
    static QString DIA_PREVIOUS_FOLIO_NUM = "previous-folio-num";
    static QString DIA_NEXT_FOLIO_NUM     = "next-folio-num";

    /** Default information related to project **/
    static QString PROJECT_FOLIO_TOTAL     = "folio-total";
    static QString PROJECT_TITLE           = "projecttitle";
    static QString PROJECT_PATH            = "projectpath";
    static QString PROJECT_FILE_NAME       = "projectfilename";
    static QString PROJECT_SAVE_DATE       = "saveddate";
    static QString PROJECT_SAVE_DATE_EU    = "saveddate-eu";
    static QString PROJECT_SAVE_DATE_US    = "saveddate-us";
    static QString PROJECT_SAVE_TIME       = "savedtime";
    static QString PROJECT_SAVED_FILE_NAME = "savedfilename";
    static QString PROJECT_SAVED_FILE_PATH = "savedfilepath";


    /** Default information related to QElectroTech **/
    static QString QET_VERSION = "version";

https://github.com/qelectrotech/qelectr … mation.cpp
https://github.com/qelectrotech/qelectr … ormation.h

Hello,

maybe try to remove singlrApplication code;
https://github.com/qelectrotech/qelectr … 3766d74e00

FYI, terminal block generated by qet-tb-generator as these informations.
https://download.qelectrotech.org/qet/forum_img_2/terminalblock_informations.png

For the moment, it's not worth putting all the terminals in the nomenclature. A trick would be to create a visible or invisible label-style element to define the header of group of terminals, its location, etc.
Elements have Ort(+) noch Anlage (=) , terminals not, yet!

Beste Grüße
Laurent

In a future Ort(+) noch Anlage (=)  will added, see Joshua vidéo:

Hallo Fabian,

With sqlitebrowser open element_nomemeclature_view table and try to create a sql command  to fitlter by terminal label like "X01" by example and add loc and location values. When it's work, copy the sql request in nomenclature command in QET.

Example BOM howto;
https://qelectrotech.org/forum/viewtopi … 256#p16256

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

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

545

(224 replies, posted in News)

This morning I updated my Windows 10 to last updates on my old laptop, after many reboots, I have idea to check last 0.100-devel QET version, wow !!!
Elements collection finished to be loaded in 1.23 seconds

You could confirm it?

Édition    Windows 10 Professionnel
Version    22H2
Installé le    10/03/2021
Build du système d’exploitation    19045.3930
Expérience    Windows Feature Experience Pack 1000.19053.1000.0
12:50:33.534 Info: "QElectroTech V 0.100.0-dev" 
12:50:33.535 Info: "Compilation : GCC 11.4.0" 
12:50:33.535 Info: "Built with Qt 5.15.11 - x86_64 - Date : Dec 21 2023 : 15:57:17" 
12:50:33.535 Info: "Run with Qt 5.15.11 using 8 thread(s)" 
12:50:33.536 Info: "CPU : NAME                                      \r\r\nINTEL(R) CORE(TM) I7-8550U CPU @ 1.80GHZ  \r\r\n\r\r\n" 
12:50:33.536 Info: "RAM Total : 16 GB" 
12:50:33.536 Info: "RAM Available : 11 GB" 
12:50:33.537 Info: "GPU : VideoProcessor                \r\r\nIntel(R) UHD Graphics Family  \r\r\n\r\r\n" 
12:50:33.537 Info: "GPU RAM : RAM Total : AdapterRAM  \r\r\n1073741824  \r\r\n\r\r\n B" 
12:50:33.538 Info: "OS : winnt  - x86_64 - Version : Windows 10 Version 2009 - Kernel : 10.0.19045" 
12:50:33.538 Info: *** Qt screens *** 
12:50:33.538 Info: "( 1 : 3840 x 2160 )" 
12:50:33.539 Info: DISK : C:/   
12:50:33.540 Info: FileSystemType: "NTFS" 
12:50:33.540 Info: SizeTotal: 66 GB 
12:50:33.541 Info: AvailableSize: 9 GB 
12:50:33.542 Info: DISK : D:/   
12:50:33.542 Info: FileSystemType: "NTFS" 
12:50:33.543 Info: SizeTotal: 20 GB 
12:50:33.543 Info: AvailableSize: 0 GB 
12:50:33.545 Info: DISK USED: C:/   
12:50:33.545 Info: FileSystemType: "NTFS" 
12:50:33.546 Info: SizeTotal: 66 GB 
12:50:33.547 Info: AvailableSize: 9 GB 
12:50:34.706 Info: Elements collection finished to be loaded in 1.23 seconds 

546

(8 replies, posted in Videos howto)

Siemens Logo is in QET collection -> https://download.qelectrotech.org/qet/e … index.html
https://download.qelectrotech.org/qet/elements/10_electric/20_manufacturers_articles/siemens/01_PLC_controllers/logo/siemenslogo230rce.svg

Hi,
see https://qelectrotech.org/forum/viewtopic.php?id=1946

Hello Flix,

thanks for compliments. nomicons/wink

Yes on https://download.qelectrotech.org/qet/schemas_pdf/ You see many schemes drawn by many authors and a little by me with QET software.

Best regards,
Laurent

A BOM page must not contain any schemes..
https://qelectrotech.org/forum/viewtopi … 256#p16256