1,851

(209 replies, posted in Import DXF)

vinicius.santos wrote:

Hello guys,

I started using QElectroTech this week, I already made an electrical diagram, it was really cool. I'm using stable version 0.8. I had to use the conversion software (DXFtoQET.exe) to import an Altus brand PLC. It worked out!

But now, I have the need to develop a pneumatic diagram. As there are not many elements in the library, I downloaded some valves (DXF) from a system indicated by you (symbols.radicasoftware.com/category/pneumatic-valves), but trying to carry out the same conversion procedure, simply the software closes when I click on "Load dxf into process". Does anyone have any solution?

I'm using Win10 x64.

Thank you in advance.

BTW see https://github.com/plc-user/QET_ElementScaler if you want to easy change scale of your elements.
More explanations here : https://qelectrotech.org/forum/viewtopic.php?id=1946

1,852

(209 replies, posted in Import DXF)

Can the project developed in 0.8 be opened in 0.9dev? This new DXF converter is already installed with 0.9dev ?

Yes of course, 0.9-dev work very better than 0.8 stable release,  and is very faster if you use installer X86_64 on Windows.
On element editor in menu file  we have added new dxf2elmt tool (make by  Antonio)  -> import dxf -> this open if not installed URL to latest github v0.3.0 releases , choose your compatible version archive, extract it and put on this binary folder.

New tool open directly a DXF and import it in element editor, modify if you want, save and play on diagram editor.
dxf2elmt is over 1000x times faster than old DXFtoelmt program!

For macOS on intel X86_64 / or AMD Hackhinstosh see my build above.
https://download.qelectrotech.org/qet/b … .0/osx_64/

BTW, on Linux X86_64 my cargo build is more faster than Antonio build, why? ... I don't know!
https://download.qelectrotech.org/qet/b … /linux_64/

1,853

(209 replies, posted in Import DXF)

scorpio810 wrote:

On macOS dxf2elmt doesn't work with the binary (x86_64) loaded directly by QET in the binary folder, no error I launch QET in a terminal ... and wait ... wait ...but this same binary works fine in a terminal, maybe we need to package it like this:
https://github.com/gridbugs/howl/blob/m … d_macos.sh
https://www.reddit.com/r/rust/comments/ … p_bundles/

Fixed :

https://git.tuxfamily.org/qet/qet.git/c … 8ec8a85915

Edit: https://github.com/qelectrotech/qelectr … 8ec8a85915

1,854

(209 replies, posted in Import DXF)

On macOS dxf2elmt doesn't work with the binary (x86_64) loaded directly by QET in the binary folder, no error I launch QET in a terminal ... and wait ... wait ...but this same binary works fine in a terminal, maybe we need to package it like this:
https://github.com/gridbugs/howl/blob/m … d_macos.sh
https://www.reddit.com/r/rust/comments/ … p_bundles/

1,855

(236 replies, posted in News)

Joshua wrote:

QElectroTech can now import dxf file in the element editor by using dxf2elmt software. For that go to file menu -> importer un dxf.
dxf2elmt must downloaded by user and present in a specific folder, if it's not the case when user try to import a dxf a dialog is opened with a little how to instruction (actually in french).

The old dxf convertor is still present in the file menu, but we probably remove it in future because this one is far better.

Thanks a lot antonioaja for your work.

Added English translations.

Voir le bouton enregistrer et ouvrir, bon ça n’apparaît pas dans la vidéo.

Bonjour,

pourquoi utiliser la 0.8 alors que la 0.9-dev est plus fiable et rapide.
https://git.tuxfamily.org/qet/qet.git/log/?h=0.8.1

1,859

(209 replies, posted in Import DXF)

I just build v.0.3.0 for macos_X86_64 for those have Intel and not  M1/M2 arm64 CPU:
https://download.qelectrotech.org/qet/b … .0/osx_64/

https://download.qelectrotech.org/qet/b … mt/V0.3.0/

Are you sure you use latest 0.9-dev version?

1,861

(236 replies, posted in News)

Update MXE x86_64 only for Windows 64 builds to
KF5 5.90 -> KF5: 5.96.0
Qt 5.15.3 -> Qt: 5.15.5
GCC  9 -> GCC:11.3.0

Send your project to see what you do.

Drag it to QET collection!

The auto-name numbering is for master element, not for slave contact, etc.

1,865

(209 replies, posted in Import DXF)

This may not be necessary if you can import a DXF directly, the element editor will calculate the hotspot, height and width automatically when saving.

After, If someone want to do batch processing with CLI scripts, yes, it would be useful to have dxf2elmt do the calculations directly.

1,866

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

We have in the past allowed more than once the distance from the text and increase the distance, if you increase it too much it doesn't make sense anymore.

1,867

(209 replies, posted in Import DXF)

Added informations about new dxf2elmt in download page.
https://qelectrotech.org/download.html
https://qelectrotech.org/download.html.en

1,868

(236 replies, posted in News)

Pour avoir un gros gain il te faut passer par la version installer 64 bits ! Ou faire sur ta machine un double boot Linux ...

De plus tu peux avoir les deux versions installer et ReadytoUse qui cohabitent sur ta machine.
Et donc émettre un ticket pour qu'ils t'installent la dernière 0.90-dev installer 64 bits, ensuite tu peux toujours suivre le développement avec les derniers ReadyToUse. Puis suivant l'avancement du projet QET, renouveler ton ticket... pour la dernière dev ..

1,869

(209 replies, posted in Import DXF)

If you have the possibility to use dynamic text instead of static text, users would be able to modify the texts of converted DXF to elmt directly in the diagram without having to modify them in the element editor.
You will make users happy. nomicons/wink

if possible and not too your free time consuming, otherwise forget it.

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

Thanks again for your great work antonioaja. ;-)

1,870

(209 replies, posted in Import DXF)

laurent@debian:/media/backup6/download/dxf2elmt-0.3.0$ cargo clean
laurent@debian:/media/backup6/download/dxf2elmt-0.3.0$ cargo build --release -j48
   Compiling autocfg v1.1.0
   Compiling cfg-if v1.0.0
   Compiling libc v0.2.126
   Compiling crossbeam-utils v0.8.10
   Compiling once_cell v1.13.0
   Compiling rayon-core v1.9.3
   Compiling scopeguard v1.1.0
   Compiling proc-macro2 v1.0.40
   Compiling serde v1.0.139
   Compiling either v1.7.0
   Compiling crc32fast v1.3.2
   Compiling unicode-ident v1.0.2
   Compiling quote v1.0.20
   Compiling bitflags v1.3.2
   Compiling adler32 v1.2.0
   Compiling byteorder v1.4.3
   Compiling syn v1.0.98
   Compiling adler v1.0.2
   Compiling weezl v0.1.7
   Compiling color_quant v1.1.0
   Compiling encoding_rs v0.8.31
   Compiling scoped_threadpool v0.1.9
   Compiling hashbrown v0.12.3
   Compiling bytemuck v1.10.0
   Compiling fastrand v1.7.0
   Compiling remove_dir_all v0.5.3
   Compiling xml-rs v0.7.0
   Compiling miniz_oxide v0.3.7
   Compiling itertools v0.10.3
   Compiling num-traits v0.2.15
   Compiling memoffset v0.6.5
   Compiling num-integer v0.1.45
   Compiling crossbeam-epoch v0.9.9
   Compiling num-bigint v0.3.3
   Compiling rayon v1.5.3
   Compiling miniz_oxide v0.4.4
   Compiling num-iter v0.1.43
   Compiling num-rational v0.3.2
   Compiling indexmap v1.9.1
   Compiling deflate v0.8.6
   Compiling gif v0.11.4
   Compiling crossbeam-channel v0.5.5
   Compiling png v0.16.8
   Compiling xmltree v0.8.0
   Compiling dxf v0.5.0
   Compiling num_cpus v1.13.1
   Compiling getrandom v0.2.7
   Compiling time v0.1.44
   Compiling tempfile v3.3.0
   Compiling crossbeam-deque v0.8.1
   Compiling simple-xml-builder v1.1.0
   Compiling num-traits v0.1.43
   Compiling num-complex v0.3.1
   Compiling enum_primitive v0.1.1
   Compiling trait-set v0.2.0
   Compiling uuid v0.8.2
   Compiling chrono v0.4.19
   Compiling uuid v1.1.2
   Compiling bspline v1.1.0
   Compiling num v0.3.1
   Compiling jpeg-decoder v0.1.22
   Compiling tiff v0.6.1
   Compiling image v0.23.14
   Compiling dxf2elmt v0.3.0 (/media/backup6/download/dxf2elmt-0.3.0)
    Finished release [optimized] target(s) in 24.71s

Edit : https://doc.rust-lang.org/cargo/command … build.html

-j N
--jobs N
Number of parallel jobs to run. May also be specified with the build.jobs config value. Defaults to the number of CPUs.

Ok, no need to use this option nomicons/smiley-green

1,871

(209 replies, posted in Import DXF)

FYI, you can't use these converted element/elmt directly in your diagram, you need to open it on elment editor; litlle modify it and save it i to calculate reel hotspot with width and height and refresh these values.
After just refresh your collections by right click and you see thumbnail picture in collection widget, now element is ready to usein your diagram.

cat test.elmt

<definition hotspot_x="341" width="4360" type="element" hotspot_y="3233" version="0.90" height="3250" link_type="simple">
    <uuid uuid="{80cc4611-394e-46da-99cc-dfd0b351b507}"/>
    <names>
        <name lang="en">4_inlet</name>
    </names>
    <elementInformations/>
    <informations>Created using dxf2elmt!</informations>
    <description>

1,872

(209 replies, posted in Import DXF)

laurent@debian:/media/backup6/download$ ./dxf2elmt_6 4_inlet.dxf -v > test.elmt

1,873

(209 replies, posted in Import DXF)

laurent@debian:/media/backup6/download/dxf2elmt-0.3.0$ cargo build --release
  Downloaded tempfile v3.3.0
  Downloaded uuid v1.1.2
  Downloaded fastrand v1.7.0
  Downloaded remove_dir_all v0.5.3
  Downloaded unicode-ident v1.0.2
  Downloaded proc-macro2 v1.0.40
  Downloaded syn v1.0.98
  Downloaded quote v1.0.20
  Downloaded trait-set v0.2.0
  Downloaded bspline v1.1.0
  Downloaded 10 crates (460.0 KB) in 1.11s
   Compiling autocfg v1.1.0
   Compiling cfg-if v1.0.0
   Compiling libc v0.2.126
   Compiling crossbeam-utils v0.8.10
   Compiling once_cell v1.13.0
   Compiling scopeguard v1.1.0
   Compiling rayon-core v1.9.3
   Compiling either v1.7.0
   Compiling proc-macro2 v1.0.40
   Compiling serde v1.0.139
   Compiling quote v1.0.20
   Compiling crc32fast v1.3.2
   Compiling bitflags v1.3.2
   Compiling unicode-ident v1.0.2
   Compiling adler32 v1.2.0
   Compiling adler v1.0.2
   Compiling byteorder v1.4.3
   Compiling syn v1.0.98
   Compiling weezl v0.1.7
   Compiling encoding_rs v0.8.31
   Compiling color_quant v1.1.0
   Compiling hashbrown v0.12.3
   Compiling scoped_threadpool v0.1.9
   Compiling bytemuck v1.10.0
   Compiling fastrand v1.7.0
   Compiling remove_dir_all v0.5.3
   Compiling xml-rs v0.7.0
   Compiling miniz_oxide v0.3.7
   Compiling itertools v0.10.3
   Compiling deflate v0.8.6
   Compiling gif v0.11.4
   Compiling num-traits v0.2.15
   Compiling memoffset v0.6.5
   Compiling crossbeam-epoch v0.9.9
   Compiling num-integer v0.1.45
   Compiling num-bigint v0.3.3
   Compiling rayon v1.5.3
   Compiling num-iter v0.1.43
   Compiling miniz_oxide v0.4.4
   Compiling num-rational v0.3.2
   Compiling indexmap v1.9.1
   Compiling png v0.16.8
   Compiling crossbeam-channel v0.5.5
   Compiling xmltree v0.8.0
   Compiling dxf v0.5.0
   Compiling num_cpus v1.13.1
   Compiling getrandom v0.2.7
   Compiling time v0.1.44
   Compiling tempfile v3.3.0
   Compiling crossbeam-deque v0.8.1
   Compiling simple-xml-builder v1.1.0
   Compiling num-traits v0.1.43
   Compiling num-complex v0.3.1
   Compiling enum_primitive v0.1.1
   Compiling chrono v0.4.19
   Compiling uuid v0.8.2
   Compiling uuid v1.1.2
   Compiling trait-set v0.2.0
   Compiling bspline v1.1.0
   Compiling jpeg-decoder v0.1.22
   Compiling num v0.3.1
   Compiling tiff v0.6.1
   Compiling image v0.23.14
   Compiling dxf2elmt v0.3.0 (/media/backup6/download/dxf2elmt-0.3.0)
    Finished release [optimized] target(s) in 26.02s

laurent@debian:/media/backup6/download$ ./dxf2elmt 4_inlet.dxf -v
<?xml version = "1.0" encoding = "UTF-8"?>
<definition height="10" width="10" hotspot_x="0" hotspot_y="0" version="0.80" link_type="simple" type="element">
        <uuid uuid="{3d62d541-fe52-4c1a-bf11-bbed1b1e5a7f}" />
        <names>
                <name lang="en">4_inlet</name>
        </names>
        <informations>Created using dxf2elmt!</informations>
        <description>
                <polygon x1="14.9254" y1="-2685.79" x2="4014.93" y2="-2685.79" x3="4014.93" y3="14.2105" x4="14.9254" y4="14.2105" x5="14.9254" y5="-2685.79" closed="false" antialias="false" style="line-style:normal;line-weight:thin;filling:none;color:black" />
                <polygon x1="14.9254" y1="-2628.95" x2="74.6269" y2="-2628.95" x3="74.6269" y3="-2685.79" x4="14.9254" y4="-2685.79" x5="14.9254" y5="-2628.95" closed="false" antialias="false" style="line-style:normal;line-weight:thin;filling:none;color:black" />
                <polygon x1="74.6269" y1="-2628.95" x2="253.731" y2="-2628.95" x3="253.731" y3="-2685.79" x4="74.6269" y4="-2685.79" x5="74.6269" y5="-2628.95" closed="false" antialias="false" style="line-style:normal;line-weight:thin;filling:none;color:black" />
                <text x="119.403" y="-2657.37" rotation="0" color="000000" text="1" font="Arial Narrow,40,-1,5,0,0,0,0,0,0,normal" />
                <polygon x1="253.731" y1="-2628.95" x2="432.836" y2="-2628.95" x3="432.836" y3="-2685.79" x4="253.731" y4="-2685.79" x5="253.731" y5="-2628.95" closed="false" antialias="false" style="line-style:normal;line-weight:thin;filling:none;color:black" />
                <text x="298.507" y="-2657.37" rotation="0" color="000000" text="2" font="Arial Narrow,40,-1,5,0,0,0,0,0,0,normal" />
                <polygon x1="432.836" y1="-2628.95" x2="611.94" y2="-2628.95" x3="611.94" y3="-2685.79" x4="432.836" y4="-2685.79" x5="432.836" y5="-2628.95" closed="false" antialias="false" style="line-style:normal;line-weight:thin;filling:none;color:black" />
                <text x="477.612" y="-2657.37" rotation="0" color="000000" text="3" font="Arial Narrow,40,-1,5,0,0,0,0,0,0,normal" />
                <polygon x1="611.94" y1="-2628.95" x2="791.045" y2="-2628.95" x3="791.045" y3="-2685.79" x4="611.94" y4="-2685.79" x5="611.94" y5="-2628.95" closed="false" antialias="false" style="line-style:normal;line-weight:thin;filling:none;color:black" />
                <text x="656.716" y="-2657.37" rotation="0" color="000000" text="4" font="Arial Narrow,40,-1,5,0,0,0,0,0,0,normal" />
                <polygon x1="791.045" y1="-2628.95" x2="970.149" y2="-2628.95" x3="970.149" y3="-2685.79" x4="791.045" y4="-2685.79" x5="791.045" y5="-2628.95" closed="false" antialias="false" style="line-style:normal;line-weight:thin;filling:none;color:black" />
                <text x="835.821" y="-2657.37" rotation="0" color="000000" text="5" font="Arial Narrow,40,-1,5,0,0,0,0,0,0,normal" />
                <polygon x1="970.149" y1="-2628.95" x2="1149.25" y2="-2628.95" x3="1149.25" y3="-2685.79" x4="970.149" y4="-2685.79" x5="970.149" y5="-2628.95" closed="false" antialias="false" style="line-style:normal;line-weight:thin;filling:none;color:black" />
                <text x="1014.93" y="-2657.37" rotation="0" color="000000" text="6" font="Arial Narrow,40,-1,5,0,0,0,0,0,0,normal" />
                <polygon x1="1149.25" y1="-2628.95" x2="1328.36" y2="-2628.95" x3="1328.36" y3="-2685.79" x4="1149.25" y4="-2685.79" x5="1149.25" y5="-2628.95" closed="false" antialias="false" style="line-style:normal;line-weight:thin;filling:none;color:black" />
                <text x="1194.03" y="-2657.37" rotation="0" color="000000" text="7" font="Arial Narrow,40,-1,5,0,0,0,0,0,0,normal" />
                <polygon x1="1328.36" y1="-2628.95" x2="1507.46" y2="-2628.95" x3="1507.46" y3="-2685.79" x4="1328.36" y4="-2685.79" x5="1328.36" y5="-2628.95" closed="false" antialias="false" style="line-style:normal;line-weight:thin;filling:none;color:black" />
                <text x="1373.13" y="-2657.37" rotation="0" color="000000" text="8" font="Arial Narrow,40,-1,5,0,0,0,0,0,0,normal" />
                <polygon x1="1507.46" y1="-2628.95" x2="1686.57" y2="-2628.95" x3="1686.57" y3="-2685.79" x4="1507.46" y4="-2685.79" x5="1507.46" y5="-2628.95" closed="false" antialias="false" style="line-style:normal;line-weight:thin;filling:none;color:black" />
 
 
couic ...
 
 
<text x="235.821" y="-749.747" rotation="0" color="000000" text="Įvadas" font="Arial Narrow,26,-1,5,0,0,0,0,0,0,normal" />
                <text x="235.821" y="-708.821" rotation="0" color="000000" text="95 CU, 120 AL" font="Arial Narrow,26,-1,5,0,0,0,0,0,0,normal" />
                <text x="235.821" y="-667.895" rotation="0" color="000000" text="3PEN AC 50Hz ±20V " font="Arial Narrow,26,-1,5,0,0,0,0,0,0,normal" />
                <text x="235.821" y="-626.968" rotation="0" color="000000" text="250A MAX" font="Arial Narrow,26,-1,5,0,0,0,0,0,0,normal" />
                <text x="235.821" y="-586.042" rotation="0" color="000000" text="Instaliuota: 116kW(~200A)" font="Arial Narrow,26,-1,5,0,0,0,0,0,0,normal" />
                <text x="1957.01" y="-1031.12" rotation="90" color="000000" text="TODO!" font="Arial Narrow,23,-1,5,0,0,0,0,0,0,normal" />
                <text x="1634.03" y="-1232.62" rotation="90" color="000000" text="411" font="Arial Narrow,20,-1,5,0,0,0,0,0,0,normal" />
                <text x="2561.19" y="-1465.39" rotation="0" color="000000" text="For sensors" font="Arial Narrow,23,-1,5,0,0,0,0,0,0,normal" />
                <text x="2561.19" y="-1429.01" rotation="0" color="000000" text="and PLC" font="Arial Narrow,23,-1,5,0,0,0,0,0,0,normal" />
        </description>
</definition>

1,874

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

Yes it is normal I think your jump is not a terminal property and breaks equipotentiality.

Please send this example.

1,875

(209 replies, posted in Import DXF)

Packages of new version dxf2elmt 0.2.0 (Windows 64, macOS arm64, Linux 64):

https://github.com/antonioaja/dxf2elmt/ … tag/v0.2.0