826

(96 replies, posted in Scripts)

Only "/" + text_from="ElementInfo" + <info_name>label</info_name>  can be transform to xrefs.

"/ " will be replaced when linking two opposite elements by the XRefs.( folio + position)

827

(96 replies, posted in Scripts)

Hallo Plc-user,

no need it's already there just above the "/".

828

(96 replies, posted in Scripts)

Hallo plc-user

I will try to explain how these elements work. nomicons/wink

Element in parent directory have XML tag:
link_type="next_report"
text_from="ElementInfo"
<text>/</text>
<info_name>label</info_name>


<definition hotspot_y="6" height="20" link_type="next_report" type="element" version="0.100.0" width="10" hotspot_x="5">
    <uuid uuid="{9edd9ef3-5843-4a76-96cf-45c309e38edc}"/>
    <names>
        <name lang="cs">Odkaz - cívka (vodorovně)</name>
        <name lang="it">Riferimento bobina / (orizzontale)</name>
        <name lang="ar">مرجع ملف (أفقي)</name>
        <name lang="fr">Reference bobine h</name>
        <name lang="pl">Odsyłacz - cewka (poziomo)</name>
        <name lang="en">Reference coil (horizontal)</name>
        <name lang="nl">Referentie volgend spoel</name>
    </names>
    <informations>Author: Computer Shooter
License: see http://qelectrotech.org/wiki/doc/elemen … ations>
    <description>
        <line end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" length2="1.5" x1="0" y1="3" end1="none" y2="1" length1="1.5" x2="0" antialias="false"/>
        <rect style="line-style:normal;line-weight:normal;filling:none;color:black" height="4" ry="0" x="-3" rx="0" antialias="false" y="3" width="6"/>
        <line end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" length2="1.5" x1="0" y1="8" end1="none" y2="9" length1="1.5" x2="0" antialias="false"/>
        <dynamic_text frame="false" Valignment="AlignTop" uuid="{368453fa-0069-4859-b935-d637078a7dfd}" font="Sans Serif,5,-1,5,50,0,0,0,0,0" x="2" keep_visual_rotation="false" Halignment="AlignLeft" rotation="0" text_width="-1" y="-4.5" text_from="ElementInfo" z="4">
            <text>/</text>
            <info_name>label</info_name>
        </dynamic_text>
    </description>
</definition>

Elements in Children directory have XML tag:
link_type="previous_report"
text_from="ElementInfo"
<text>/</text>
<info_name>label</info_name>

<definition link_type="previous_report" type="element" hotspot_x="5" height="20" hotspot_y="6" width="10" version="0.100.0">
    <uuid uuid="{b2847f39-5e77-4d50-8b8e-32e676a2039f}"/>
    <names>
        <name lang="fr">Reference bobine h</name>
        <name lang="ar">مرجع ملف (أفقي)</name>
        <name lang="nl">Referentie vorig spoel</name>
        <name lang="cs">Odkaz - cívka (vodorovně)</name>
        <name lang="it">Riferimento bobina / (orizzontale)</name>
        <name lang="pl">Odsyłacz - cewka (poziomo)</name>
        <name lang="en">Reference coil (horizontal)</name>
    </names>
    <informations>Author: Computer Shooter
License: see http://qelectrotech.org/wiki/doc/elemen … ations>
    <description>
        <line x2="0" length2="1.5" y2="1" length1="1.5" x1="0" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" y1="3" end1="none" antialias="false"/>
        <rect height="4" style="line-style:normal;line-weight:normal;filling:none;color:black" x="-3" ry="0" y="3" width="6" antialias="false" rx="0"/>
        <line x2="0" length2="1.5" y2="9" length1="1.5" x1="0" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" y1="8" end1="none" antialias="false"/>
        <dynamic_text Halignment="AlignLeft" uuid="{33b8ff65-4c02-4e03-af50-883c723f88a3}" text_width="-1" x="2" z="4" frame="false" text_from="ElementInfo" Valignment="AlignTop" y="-4.5" rotation="0" font="Sans Serif,5,-1,5,50,0,0,0,0,0" keep_visual_rotation="false">
            <text>/</text>
            <info_name>label</info_name>
        </dynamic_text>
    </description>
</definition>

So, I saw some error in your pull request: "update elements with old "input"-parts to current version #8".
Many element have tag
text_from="UserText"

Please change these to
text_from="ElementInfo"


I attached a new QET example.
Best regards,
Laurent

829

(96 replies, posted in Scripts)

The workaround it's to be
source of text: element information
/
Label

830

(96 replies, posted in Scripts)

If I remember well, for these special elements ..., you need to hacks these with an text editor, not by element editor also you can bypass warning box you saw.

831

(96 replies, posted in Scripts)

These elements tampered with as folio reports are very useful and some people use them a lot...

It's based of me's workaround like this vidéo:

832

(96 replies, posted in Scripts)

Hallo Plc-user,

these elements serve as folio reports and allow you to link two different components, as these components are of the folio report type it is mandatory that there is a one terminal, this is why you have the warning widget.

833

(96 replies, posted in Scripts)

The tags for font-size in "input" and "dynamic_text" are different: Fixed that in source-code of QET_ElementScaler.

Nice, fixed also in remote collections here.

Do we have the option of using the element editor with command line parameters?
"Open" in the old file format and "Save to a file" in the current file format would be sufficient.

Not yet.

qelectrotech command lines are very limited, Usage : qelectrotech [options] [file]...

See https://github.com/qelectrotech/qelectr … qetapp.cpp
https://github.com/qelectrotech/qelectr … .cpp#L2425

qelectrotech file.elmt //open element editor
qelectrotech file.qet //open diagram editor
qelectrotech file.titleblock //open  titleblock editor

834

(96 replies, posted in Scripts)

I refreshed online collection after rebuilding new source with your patch change.
While wandering around the collections I just came across a new bug...

Dynamic text isn't saw here, but also  not saw in QET tree element panel thumbnail, or general element viewer..here ... So since 0.8 version I' m tried..
No one noticed it, not even us. nomicons/smiley-green

https://download.qelectrotech.org/qet/e … 10-2ro.svg
https://download.qelectrotech.org/qet/elements/10_electric/20_manufacturers_articles/sick/009_safety_modules/ue410-2ro.svg
https://download.qelectrotech.org/qet/forum_img_2/dynamic-text_viewer_bug.png

https://download.qelectrotech.org/qet/forum_img_2/dynamic-text_viewer_bug2.png

835

(96 replies, posted in Scripts)

plc-user wrote:

First version with translating html-entities is available as Source on github.
It's the first "brute-force"-version that's far from perfect.  nomicons/wink
If someone knows if I can use the pugi-internal function "text_output_escaped" for this, please let me know!

In this context I corrected an error with text-size of "dynamic_text".

Hallo Plc-user,

I make a git pull on your Source Github, re compile Sources, clean my element directory, run toSVG.sh script, after use rsync  for sync my directory to remote.

Good work, thanks a lot.

Best regards,
Laurent


https://download.qelectrotech.org/qet/elements_contrib/60_energy/41__manufacturers_articles/imi-ta/tafusioncdn40tamc100fse%20-%20Copie.svg

836

(96 replies, posted in Scripts)

Hmm error
https://download.qelectrotech.org/qet/e … _fmu90.svg

Edit: now element-contrib repository:
https://download.qelectrotech.org/qet/elements_contrib/

837

(96 replies, posted in Scripts)

Hallo Plc-user,

I used your scripts
The collection is here:
https://download.qelectrotech.org/qet/elements/

Best regards,
Laurent

https://download.qelectrotech.org/qet/elements/10_electric/20_manufacturers_articles/endress_hauser/sonde-pression-ceraphant-ptp33b.svg

For me a servomotor is like this: an moteur brushless avec encodeur etc...


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

I saw many projects with machine vision cameras and integrated servomotors shared for me by this authors;
These diagrams are confidentials...
I can't share them.. And i don't remenber where I put them... nomicons/smiley-green

Hello

maybe look here.
https://download.qelectrotech.org/qet/schemas_pdf/
or by example this DIY project
https://download.qelectrotech.org/qet/s … -_220v.pdf

@Pl-user: merged, tanks.

https://download.qelectrotech.org/qet/forum_img_2/imported%20element_new%20project.png

rvamerongen wrote:

Now we are talking, this is what I need "This beg the question /request that I would like to save parts outside the elements library folder." but this will works even beter ( if I can export it easely )

So, I didn't read everything, but about the request, I am voting a plus1.

Maybe even unlimited libraries off a kind or per project base so we can export those and send it to a coworker. Look at the Kicad 'manage symbols' dialog with a list of external Libraries of element and then with a export function of the project and elements yes or no included. ( still busy with a recovery project from drawings to make them digital; am at 25% but it could be quicker with some technical help like this. )


About the element editor:
Please make the use of keystroke delete/forward delete equal in use in both editors ( sheet and element editor ).On the Mac it is not used consistent.

Thanks.

On file projet*.qet if you look the XML with a better text editor you saw element definitions is include in the project, open another project and on project tree collection you could load and share in your collection these new elements.

Regards,
Laurent

https://github.com/qelectrotech/qelectr … 31265077f5

Hallo Plc-user,

merged, thanks.

Uploaded all packages.

Best regards,
Laurent

Ce matin, j'ai poussé tous les pull request... (Sans vouloir me facher avec Xavier ou toi Plc-user) j' ai profité pour envoyer tous mes paquets Debian unstable/stable, PPA ubuntu, snap, flatpak, Appimage, Windows, OSX intel, OSX arm64..

1er probleme, la collection compagny remplace la collection custom, il suffit dans le gui de definir un nouveau repertoire pour la collection compagny.

Translated:
This morning, I pushed all the pull requests... (Without wanting to get angry with Xavier or you Plc-user) I took the opportunity to send all my debian unstable/stable packages, ubuntu PPA, snap, flatpak, Appimage, Windows, OSX intel, OSX arm64..

1st problem, the company collection replaces the custom collection, you just need to define a new directory for the company collection in the gui.

About the element editor:
Please make the use of keystroke delete/forward delete equal in use in both editors ( sheet and element editor ).On the Mac it is not used consistent.

The diagram editor is still hardcoded since the beginning a long time ago, Joshua rewrote the element editor with the Qt GUI editor for easier maintenance, on Linux, I don't see any difference, on macOS, OS that I barely know as a very young switcher, please blame Apple and not the QET team.

Thanks

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

Sorry again, Plc-user if I hurt your feelings, that was not my intention..
I adore you for your patience, and all your work, you mean a lot to me.

I'm still sorry if I offended you..

Best regards,
Laurent

@De-Backer: I thought of you recently, the clocks are perhaps now aligned to push QET towards the Qt6 x version, I also saw and read the hard work of the KDE team to push KF5 towards KF6 .

You are right when you speak with submodules but I am a human being of sometimes narrow-minded nature... with a big heart, you were right all along..

@Plc-user: I have known Xavier for 15 years or more, for me he is a very technically competent guy, a best of the best system engineer and he helps me a lot when I have problems on the servers, I meets regularly especially recently during the transfer of the entire infrastructure to a new host, he is a good man, he is a very great brain..
But I had to argue with him, because you too Plc-user are very dear to me, and you have brought a lot to QET, I don't have time to fight and especially not at the moment, so does my partner sulfur of gors health problem of his mother, please peace in world


Cheers ,
Laurent

I'm tired and go to sleep... no war here, please be happy with QET...

scorpio810 wrote:

Hallo plc-user,

you can change directory official or custom collection on the fly,

1] change PATH for custom collection.
https://download.qelectrotech.org/qet/forum_img_2/Bildschirmfoto_Preferences_Collections.png

2] on element collection tree field make a right click -> reload, and  voila. nomicons/wink

Regards,
laurent






Hallo Plc-user,

I make a little video:

Best regards,
Laurent