Bonjour fboisguerin et merci pour les compliments,
voir la réponse ici:
https://qelectrotech.org/forum/viewtopic.php?id=2210
You are not logged in. Please login or register.
QElectroTech → Posts by scorpio810
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. ![]()
Vivement la retraite .......
Laurent
@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 ..

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 … f4ed73a9edI 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..


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.

Je ne reproduit pas ton bug.
Hi Jeffrey,
like this?
Regards,
Laurent
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.

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.elmtJust 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.
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
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.gpgecho "deb [signed-by=/usr/share/keyrings/qelectrotech.gpg] http://debian.qelectrotech.org/qet/debian/ unstable main" | sudo tee /etc/apt/sources.list.d/qelectrotech.listNow remove in /etc/apt/sources.list :
deb http://debian.qelectrotech.org/qet/debian/ unstable mainAnd old key:
sudo apt-key del 1D4FB6C1
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

Now report folio text is size 19.
Also I want to change the label textsize of all Conductors!

Nox change text for conductos for 11px than 7 px..
J'ai installé la version QET 0.9-dev (version installer) la semaine dernière sur la nouvelle workstation (DELL Precision I7 ) d'un collègue en Win 11 pro au boulot, ça fonctionne très bien.
https://www.dell.com/fr-fr/shop/station … 60mtwer_vp
Si tu as pris la ReadyToUse il faut cliquer sur le fichier "Lancer QET.bat " pour lancer QET.
Le filtre pour la position n 'est pas bonne en fonction du Label, il manque aussi de récupérer le numéro de fil lié à la borne..automatiquement.

https://download.qelectrotech.org/qet/f … er_dev.png
Le double click dans le champ de la xref d'une borne est une bonne idée, car il vient pointer la vue sur le schéma précisément sur cette borne.
Le calcul est très long même sur une grosse machine, une progressBar indiquerait l'avancement du calcul pour l'utilisateur.
Hi,
open your project.qet file with a good text editor and change font size for selected texts, like kate on Linux.
Salut Robert,
en principe non, mais ici sur ma Debian j'y arrive, je lance QET sur mon premier écran puis je lance une AppImage pour avoir une autre instance de QET sur l'autre écran.
J'avais au départ pensé que passer sur des fenêtres pour les projets au lieu des onglets réglerait le problème, en fait non!
Si tu est sur Windows, tu peux essayer avec la version installer et ensuite en lançant la version ReadytoUse
Deux 27 P screens one is an UHD other is QHD
Screen capture on my setup with 2 scrrens:
*** Qt screens ***
( 1 : 3840 x 2160 )
( 2 : 1920 x 1080 )
Sorry for late reply.
No, my simple idea is not to export it using another program, and maybe not making changes in QET either.The simple idea is that by making QET printing links so they visually looks like links, then i guess it is relatively simple to create a small separate program that parse the pdf and rewrites the links so they actually work like links.
Example: if i in xref and folio referencing settings fields put %F@%f%l%c,
then i will for folio "Pump", page 2, coordinate C7 get: Pump@2C7If i enter such formatting in my example drawing from my post https://qelectrotech.org/forum/viewtopi … 5577#p5577 , it looks like the following screen-shot, and it also displays like that when opening the exported pdf.
Now if we had a small program that can process that pdf and make the links coma alive it would be great. the only thin i want it to do is find the number between the @ and a following alphabetical character and make a link of that to the page of that number.
OK the above is simplified, to make it work reliably we probably need a more reliable trigger than a one character "@"....
But we do not want a long trigger string to be shown at link in normal shema in QET nor printing to printer from QET.Having no idea how QET works, i can just say maybe it can temporarily automatically append "LINKME@" plus page number to every xref and folio ref formula just when printing to pdf.
The external program then scans for "LINKME@" and read the page number after it to create the link target, and remove "LINKME@" and the number from the visual part.
That will be compatible with any form of ref formula the user have chosen.
Except, user can nowhere write "LINKME@" but that is very little chance...Maybe the external program, could even be an integrated part of QET, run automatically directly after initial file is exported, or even streamed so the first version of pdf never is externally written out.
Add Internal link with QET advanced text editor like <a href="#page=10"> work weel but you need only to open this PDF document with Google Chrome,
example with invisible text for link #page=10 on page 100 to go to page 10
<html><head/><body><p><a href="#page=10"><span style=" font-family:'Sans Serif'; font-size:9pt; text-decoration: underline; color:transparent;">10</span></a></p></body></html>A possible hack is to use python library to open an PDF file generated by QET .. https://pythonguides.com/pdffilewriter-python-examples/
https://stackoverflow.com/questions/633 … ink-to-pdf
https://stackoverflow.com/questions/287 … nks-in-pdf
Link annotations in PDF documents are associated with a geometric region of a page rather than a particular object in a content stream. For this reason, link annotations alone are not useful for users with visual impairments, or to applications that must determine which content can be activated to invoke a hypertext link.
Tagged PDF /Link elements use PDF's logical structure to establish the association between content items and link annotations, providing functionality comparable to HTML hypertext links.
In HTML, the following example produces text containing a hypertext link:
Here is some text <a href="https://www.w3.org/WAI/"> with a link </a> inside.
In PDF the page must be painted first and then a link annotation placed over the area where the object action will occur.
The following code fragment shows PDF equivalent to the HTML above; it uses link text displayed in blue and underlined. A second code fragment follows, indicating the associated logical structure hierarchy. This is typically accomplished by an authoring tool.
/P <</MCID 0>> %Marked Content Sequence 0 (paragraph)
BDC %Begin marked content sequence
BT %Begin text object
/F1 11.04 Tf %set text font and size
1 0 0 1 72.024 709.54 Tm %set text matrix
0 g %set non stroking color to black
0 G %set stroke color to black
[(H)3(ere )-4(is s)10(o)5(m)-4(e)9( t)-3(e)9(xt)-3( )] TJ %Show text preceding the link" Here is some text"
ET %end text object
EMC %end marked content sequence
/Span <</MCID 1>> %Marked Content Sequence 1 (underlined link text)
BDC %Begin marked content sequence
BT %Begin text object
1 0 0 1 152.42 709.54 Tm %set text matrix
0 0 1 rg %set non-stroking color to blue
0 0 1 RG %set stroke color to blue
[(with a )-2(li)3(n)14(k)] TJ %Show link text " with a link"
ET %end text object
0 0 1 rg %set stroke color to blue
152.42 707.62 45.984 0.72 re %rectangle operator - target area for the link
f* %fill the path using the even-odd rule
EMC %end marked content sequence
/P <</MCID 2>> %Marked Content Sequence 2 (paragraph)
BDC %Begin marked content sequence
BT %begin text object
1 0 0 1 198.41 709.54 Tm %set text matrix
0 g %set non stroking color to black
0 G %set stroke color to black
[( )] TJ %empty text string showing white space
ET %end text object
BT %begin text object
1 0 0 1 200.93 709.54 Tm %set text matrix
[(in)5(sid)5(e.)] TJ %show text following the link "inside."
ET %end text
BT %begin text object
1 0 0 1 229.97 709.54 Tm %set text matrix
[( )] TJ %empty text string showing white space
ET %end text object
EMC %end marked content sequence
The following code fragment is an excerpt from the logical structure that establishes the association between the content items and the link annotation:
11 0 obj %Object ID 11, generation 0, obj keyword
<</K[1 %immediate child of the structure tree root
<<
/Obj 26 0 R %reference to Object 26
/Type/OBJR %this object describes an indirect object reference
>>]
/P 12 0 R
/Pg 17 0 R
/S/Link
>>
endobj
26 0 obj %object ID 26 which is referenced by the OBJR in Object 11
<</A 31 0 R
/BS
<</S/S
/Type/Border
/W 0
>>
/Border[0 0 0] %a colorless border
/H/I
/Rect[150.128 694.558 200.551 720.0] %the boundaries defining target area where link annotation is active
/StructParent 1
/Type/Annot %Structure element is an annotation
/Subtype/Link
>> %It is a link annotation
endobj
31 0 obj %Object 31, gen 0, obj
<</S/URI %Object type is URI action
/URI(https://www.w3.org/WAI) %The Uniform resource identifier to resolve
>>
endobj
Hi vilatech,
for now you can't.
But I think now a workaround is possible : qet_en.qm is translation binary English for UI.
Copy this file and rename it by example to country you want like qet_nl.qm and of course delete old file or backup it to other directory.
Launch QET and select now Nederlands flags, restart QET.
QElectroTech → Posts by scorpio810
Powered by PunBB, supported by Informer Technologies, Inc.
Generated in 0.122 seconds (26% PHP - 74% DB) with 5 queries