2,001

(236 replies, posted in News)

Strange behaviour with Qt::key_space or maybe a Qt bug..

The branch, master has been updated
       via  89d03e55031a2ebe8818fd31dbe97e0f5630dfb0 (commit)
      from  9a6e1d2a6108c7262016504f73af71d533128e72 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 89d03e55031a2ebe8818fd31dbe97e0f5630dfb0
Author: Laurent Trinques <scorpio@qelectrotech.org>
Date:   Sat May 21 23:28:44 2022 +0200

    Element editor : Workaround for Qt::Key_Space event not working
    Use of ALT key as a replacement to rotate terminal on the fly before
    placing it in the drawing.
    Fix bug #262
    https://qelectrotech.org/bugtracker/view.php?id=262

-----------------------------------------------------------------------

i.e.: use ALT key for rotate terminal on the fly and SPACE key when the terminal is placed in the drawing ...

2,002

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

https://qelectrotech.org/forum/viewtopi … 196#p16196

2,003

(36 replies, posted in News)

galexis wrote:
scorpio810 wrote:

Pour vous faire patienter, des nouveautés sont déjà en préparation ....   pour la future 0.6-dev : 
Exemple : la gestion des câbles.


https://download.qelectrotech.org/qet/j … able2.webm

Ce n'était que visuel, mais cette possibilité de dessiner les câbles me parait intéressante. Le code existe quelques part ? Ce serait possible de l'ajouter à QET en attendant les évolutions futur ?

Tiens!,  Pascal le développeur du logiciel  WinRelais vient d'ajouter la fonction management des câbles, l'outil au début ressemble à ce que Joshua avait imaginé.

Logiciel que j'avais essayé de faire fonctionner avec Wine à l'époque sur Ubuntu KDE "Dapper Drake" en 2007 avec succès, avant de découvrir les balbutiements du projet QET en 2007 m'y investir totalement, et finir par m’impliquer dans son développement et son management. Vous connaissez la suite. nomicons/wink

https://forum.ubuntu-fr.org/viewtopic.php?id=61832



Non ça ne s'applique qu'aux nouveaux conducteurs que tu vas poser, pour les anciens un double click sur le conducteur t'affiche le widget propriété du conducteur, c'est ici qu'on peut changer la couleur, la taille, le label, etc du conducteur.

Exemple:

2,005

(236 replies, posted in News)

- Log -----------------------------------------------------------------
commit 9a6e1d2a6108c7262016504f73af71d533128e72
Author: Laurent Trinques <scorpio@qelectrotech.org>
Date:   Fri May 20 10:18:37 2022 +0200

    Editor commands: change the rotation with the space key on the keyboard
    from 90° to 15° for more precision for part lines, polygons, texts, arcs
    and circles.

-----------------------------------------------------------------------


https://git.tuxfamily.org/qet/qet.git/c … d533128e72

PS: Tu peux aussi supprimer les "underscores" affichés par défaut pour les conducteurs dans menu projet->propriété du projet->nouveaux folios->onglet conducteurs. Ou mieux dans la config de QET pour les nouveaux projets.


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

Bonjour fboisguerin et merci pour les compliments,

voir la réponse ici:
https://qelectrotech.org/forum/viewtopic.php?id=2210

Merci pour ta capture, c'est plus clair, il y a effectivement un bug d'affichage.
Le bug ce produit non pas en déliant un renvoi, mais en supprimant le conducteur qui relie deux renvois opposés.
Les labels et positions changent de colonnes.

Bonsoir friskolon,

Au vu de ta capture et ce de ce dont je comprend sans le projet, les fils conservent leurs caractéristiques quand les renvois ont étés déliés exemple l'ancien label, n° de fil, etc, sont conservés, ce qui peux être utile parfois. Quand tu les relient à nouveau sur un autre renvoi avec des références différentes un widget va te proposer de choisir quelles références conserver.

Sur de gros projets, j'arrive à voir souvent ce widget surtout quand tu changes d'avis sur la présentation et que tu redessine des pans entiers de plusieurs folios..

C'est pour cela que je numérote des que je le peux tous mes fils principaux, alimentation puissance, puissance, commande, API, Cartes externes API, je ne fait qu'en suite faire des recherche dans le filtre sur 24VCC, 0VCC, 24VAPI, 0VAPi, 24VAC, 230VAC, etc.. pour gagner du temps dans les prochains reports de folios que j'aurai à poser et à connecter. Et pas  de risque d'erreurs.

Pareil pour les organes de protections, contacteurs, disjoncteurs, fusibles, que je pose en premiers dans la maquette du projet etc ils sont déjà posés avec un label renseignés donc pour lier un contact esclave auxiliaire protection, etc je ne recherche que "KMF" dans le filtre de recherche exemple: KM1, KM2, KMF1, KMH4, 10KA10,D10, QS1. Suivant le projet les appellations peuvent différer, etc..

Debout depuis 3H30 ce matin et le réveil va de nouveau re sonner demain à la même heure... il est temps que je j'aille me reposer. nomicons/wink
Vivement la retraite .......
Laurent

Hi,
see

https://qelectrotech.org/forum/viewtopi … 905#p15905
https://qelectrotech.org/forum/viewtopi … 906#p15906

2,011

(30 replies, posted in Elements)

@Joshua:

+/**
+ * @brief Element::linkTypeToString
+ * \deprecated use instead ElementData::typeToString
+ * \todo remove this function
+ * @return

Maybe this issue will be caused by

m_insert_elements_query.bindValue(":type", elmt->linkTypeToString());

If I comment is work ... and db see correct element_type... thumbnail instead simple ..

https://download.qelectrotech.org/qet/forum_img_2/BOM4_bug.png
https://download.qelectrotech.org/qet/forum_img_2/BOM5_bug.png

2,012

(30 replies, posted in Elements)

Joshua wrote:

Add the new element type : thumbnail
This type must be used for element who goal is to display a
thumbnail/front view of an element, notably used for cabinet contents
view and placement.
https://git.tuxfamily.org/qet/qet.git/c … f4ed73a9ed

I added the type "thumbnail" (vignette in french) you can use it now.
Presently we can do nothing more with thumbnail type than simple type, but the element is marked as thumbnail and ready for future.

@Joshua:
I tried to add thumbnail checkbox for exclude these items in BOM with no result, I saw with database export these items type is always Simple..
We need to create Element::Thumbnail
To be continued..

https://download.qelectrotech.org/qet/forum_img_2/BOM1.png
https://download.qelectrotech.org/qet/forum_img_2/BOM2.png
https://download.qelectrotech.org/qet/forum_img_2/BOM3.png

2,013

(30 replies, posted in Elements)

https://git.tuxfamily.org/qet/qet.git/c … f2196cdbc6

2,014

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

Hi,

btw use "%id" instead  "%id/%total" in your titleblock's pages, otherwise you will see Xref like this "(folio_label/total_ off_folios)-(line number)- (column_number) etc.

So, is easy with ctrl +f in and then folio section to change "%id/%total" by "%id" in all project's.

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

Je ne reproduit pas ton bug.

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

2,016

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

Hi Jeffrey,
like this?



Regards,
Laurent

2,017

(30 replies, posted in Elements)

This will take a lot of time.... Also I need to add a new element type "thumbnail".

I was also thinking about  thumbnails because I don't want them to appear in the BOM pages ... like terminal I want to uncheck them.

I hadn't really tested this little utility yet, but recently I had to get back to drawing at work for a new electrical project ...
and this great tool has made it much easier to work with thumbnails not always at the right scale factor.

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

Very easy to use:
example

laurent@debian:~/.qet$ ./QET_ElementScaler elements/nx300320190520.elmt 10
laurent@debian:~/.qet$ ./QET_ElementScaler elements/nx300320190520.elmt 0.5
laurent@debian:~/.qet$ ./QET_ElementScaler elements/nx300320190520.elmt 5


laurent@debian:~/.qet/elements$ ls -al | grep nx
-rw-r--r-- 1 laurent laurent   691553  1 juin   2021 nx300320190520.elmt
-rw-r--r-- 1 laurent laurent   673021  9 mai   21:21 nx300320190520.SCALED.elmt

Just reload collection by right click, drag and drop new scaled.elmt.

Great tool, thanks plc-user.

BTW, I added description and link to plc-user Github for download this nice tool on QET download main page.

2,019

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

Hi Gravino,

in project setting or in general config enable use folio number/label instead of their position ...

https://download.qelectrotech.org/qet/m … oject.html

Use %F instead %f in formula for crossreference, reports, etc.
https://download.qelectrotech.org/qet/m … tings.html
https://download.qelectrotech.org/qet/m … tings.html


Best regards,
Laurent

2,020

(236 replies, posted in News)

For Debian unstable and Ubuntu 22.04 users who use my PPA or Debian repositories apt-key is deprecated.
apt-key deprecation warning when updating system; see:
https://syslog.me/2022/01/10/apt-key-is … -now-what/


“Deprecated” usually means that a certain functionality will be eventually removed from the system. In this case, Ubuntu users will be hit already in 2022 with the release of 22.10 in October as the command will be available last in the next LTS (22.04) to be released in April. Debian users will have more time, as the command won’t available in the next major release of Debian (supposedly Debian 12, that may be a couple of years away). This is written in clear letters in the man page:


Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details

sudo apt-key export 1D4FB6C1 | sudo gpg --dearmour -o /usr/share/keyrings/qelectrotech.gpg
echo "deb [signed-by=/usr/share/keyrings/qelectrotech.gpg] http://debian.qelectrotech.org/qet/debian/ unstable main" | sudo tee /etc/apt/sources.list.d/qelectrotech.list

Now remove in /etc/apt/sources.list :

deb http://debian.qelectrotech.org/qet/debian/ unstable main

And old key:

sudo apt-key del 1D4FB6C1

https://qelectrotech.org/wiki_new/doc/i … or_details

2,021

(236 replies, posted in News)

Prenons l'exemple X:125, il est question de la borne 125 du bornier X, maintenant il faudra juste nommer la borne 125, car le reste étant le nom du bornier auquel la borne est rattachée.

Sur le schéma l'identifiant du bornier lié à la borne doit être impérativement affiché.

Bien que le but final d’un gestionnaire de bornier soit l’affichage de ceux-ci sur les folios, la partie la plus importante (et de loin) est celle que je viens de décrire. Le plan de borne sur le folio n’est lui qu’un « simple » dessin, c’est pourquoi vos retours seront très importants.

Ce serait bien qu'il soit dynamique comme les tableaux et pas qu'un simple dessin .... le plan de bornier.

L'inconvénient avec le plug-in qet_tb_generator c'est que si tu déplaces, ajoutes, supprimes des folios ou modifies les noms des conducteurs, tu dois le régénérer supprimer l'ancien et reposer le nouveau plan de bornier.

Hello Fabio,

I think no!  Eplan P8 is closed source program, we can't saw their format to export .qet to us..
Maybe you can export all diagrams to DXF and import them in your Eplan P8 project...

Report of folio definition:

type="embed://import/10_electric/10_allpole/100_folio_referencing/01coming_arrow.elmt
or
type="embed://import/10_electric/10_allpole/100_folio_referencing/02going_arrow.elmt



<elements>
            <element x="170" z="10" uuid="{c9cd8b6a-ff35-4758-9573-e4df02f44ca7}" type="embed://import/10_electric/10_allpole/100_folio_referencing/01coming_arrow.elmt" orientation="0" freezeLabel="false" prefix="" y="110">
                <terminals>
                    <terminal x="9" id="0" orientation="1" y="0"/>
                </terminals>
                <inputs/>
                <dynamic_texts>
                    <dynamic_elmt_text x="-44" Halignment="AlignLeft" text_width="-1" font="Sans Serif,9,-1,5,50,0,0,0,0,0" uuid="{d054d7c1-8c1e-4871-aeef-72783166d3ef}" rotation="0" frame="false" keep_visual_rotation="true" text_from="ElementInfo" Valignment="AlignTop" y="-11.5">
                        <text></text>
                        <info_name>label</info_name>
                    </dynamic_elmt_text>
                </dynamic_texts>
                <texts_groups/>
            </element>

Is easy to change font size, like "Sans Serif,9,-1,5,50,0,0,0,0,0 to "Sans Serif,19,-1,5,50,0,0,0,0,0

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

Now report folio text is size 19.
https://download.qelectrotech.org/qet/forum_img_2/kate_conductor_report_size2.png

https://qelectrotech.org/forum/viewtopi … 7261#p7261
http://qxmledit.org/
https://qxmledit.org/tutorials.html

Also I want to change the label textsize of all Conductors!

https://download.qelectrotech.org/qet/forum_img_2/kate_conductor_num_size.png
Nox change text for conductos for 11px than 7 px..
https://download.qelectrotech.org/qet/forum_img_2/kate_conductor_num_size2.png