126

(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:

127

(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..?

128

(96 replies, posted in Scripts)

I don't know!,  in the past in settings/text field you can change fonts size and police for new text parts enter on element editor..
QET code is a labyrinth which can quickly become tricky...

129

(96 replies, posted in Scripts)

Whe is done, talk me.

I do a

git submodule update --remote elements

And rebuild all packages.

130

(96 replies, posted in Scripts)

Sorry for the bad news!

Don't be sorry, only those who do nothing don't make mistakes.. nomicons/wink

131

(96 replies, posted in Scripts)

Hallo Plc-user

what number of PR you want to revert?

On https://github.com/qelectrotech/qelectr … nts/pull/9 you have a revert button.

In principle a project has a cover page on the first folio, see provided example : projet_vierge.qet.

133

(96 replies, posted in Scripts)

Everything has been packaged, but not yet macOS arm64.

Please back up your projects before using it, we never know nomicons/wink
Many elements have changed UUID, which is normal as changes have been made to them.
So if you want to update your projects, you may see an information box when you drag and drop an item that exists in your project,
you can choose to keep two versions of the item, overwrite the old version, etc.

134

(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)

135

(96 replies, posted in Scripts)

Hallo Plc-user,

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

136

(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

137

(96 replies, posted in Scripts)

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

138

(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.

139

(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:

140

(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.

141

(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

142

(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

143

(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

144

(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/

145

(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