FYI, these elements isn't used in electric diagram on France!

477

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

Yes, you can lock the text colour for newly created conductors in the project properties, but bear in mind that if you connect another connector to it that has another wire of a different colour you'll have to make a choice!

Laurent

Hallo plc-user

FYI, the joedavenportjd25 message contained a hidden URL, so I deleted the spammer..

479

(157 replies, posted in Code)

https://www.basyskom.de/translating-qt-applications/

https://qelectrotech.org/forum/viewtopi … 910#p16910

Bonjour Gilbert,

moi je les conserverai.

D'autres font autrement

483

(209 replies, posted in Import DXF)

Hello Vadoola!
Hallo plc-user!


dxftoelmt: add Print standard error and filepath name to the log files when launching program on QET element editor.
users shouldn't wait an hour in front of his element editor screen, but just look at the QET logs a minute later if nothing happens...

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

484

(209 replies, posted in Import DXF)

macOS Apple silicon arm64 binary

485

(209 replies, posted in Import DXF)

macOS INTEL X86_64 binary

486

(17 replies, posted in Videos howto)

487

(209 replies, posted in Import DXF)

Windows 64 binary.

488

(209 replies, posted in Import DXF)

Linux Debian sid 64 bits binary.

489

(209 replies, posted in Import DXF)

Hello Vadoola,
Hallo plc-user


./dxf2elmt 05DI-AD16DIX-10.dxf
Error: Failed to load 05DI-AD16DIX-10...
        Make sure the file is a valid .dxf file.

Caused by:
    the code pair '[@110865]340/962' was not expected at this time: expected 0/ENDSEC at line/offset 110865

1. I have designed the schematic with your tool. However in printout, the elements and letters are coming very much small size and can't able to read also. Is there away to increase the size of elements?

Increase or decrease number or the size of rows and columns change element the scale and other text on folio.

What you see on the screen is what will be printed, whatever the print size, A4, A5, etc.

Voir cette vidéo:
https://youtu.be/vfiqBDESbBU

Bonjour,

4) je n'ai pas non plus trouvé de grille de position pour que sur chaque folio on puisse placer les objets à la même hauteur pour que visuellement ça soit moins brouillon. Une grille non imprimable mais configurable.

Pour cela on utilise les outils trait couleur du trait blanc, ensuite il y a une icone pour changer la couleur de fond en gris et tes repères en blanc apparaîtront pour mieux positionner tes éléments, et seront invisible avec la couleur de fond blanc.

493

(236 replies, posted in News)

BTW, I updated my MXE cross compiler toolchain to Qt 5.15.15 for windows cross build package .exe.
https://github.com/mxe/mxe/commits/master/

Updated my KVM/Qemu macOS VM to last DigiKam scripts to build QET Intel X86_64 with last Qt version aka 5.15.15 and last Kf5 version.

Hey Cristo_87,

thanks for your review, maybe also see
https://github.com/qelectrotech/qelectr … .cpp#L1582
https://github.com/qelectrotech/qelectr … .cpp#L1492
https://github.com/qelectrotech/qelectr … .cpp#L1782

495

(17 replies, posted in Videos howto)

496

(20 replies, posted in Videos howto)

497

(209 replies, posted in Import DXF)

Hello Vadoola!
Hallo plc-user!

Thanks Vadoola for fixing stdout we can use now your dxf2elmt binary on QET element, but FYI build make some warnings:


[13:22:48] laurent@debian:~$ git clone https://github.com/Vadoola/dxf2elmt.git  dxf2elmt_vadoola
Clonage dans 'dxf2elmt_vadoola'...
remote: Enumerating objects: 410, done.
remote: Counting objects: 100% (181/181), done.
remote: Compressing objects: 100% (103/103), done.
remote: Total 410 (delta 122), reused 136 (delta 78), pack-reused 229 (from 1)
Réception d'objets: 100% (410/410), 95.90 Kio | 1.88 Mio/s, fait.
Résolution des deltas: 100% (256/256), fait.
[13:23:01] laurent@debian:~$  cd /home/laurent/dxf2elmt_vadoola
[13:23:04] laurent@debian:~/dxf2elmt_vadoola$ cargo build --release
   Compiling autocfg v1.3.0
   Compiling crossbeam-utils v0.8.20
   Compiling cfg-if v1.0.0
   Compiling proc-macro2 v1.0.86
   Compiling unicode-ident v1.0.12
   Compiling rayon-core v1.12.1
   Compiling serde v1.0.207
   Compiling libc v0.2.155
   Compiling either v1.13.0
   Compiling adler32 v1.2.0
   Compiling bitflags v1.3.2
   Compiling syn v1.0.109
   Compiling adler v1.0.2
   Compiling utf8parse v0.2.2
   Compiling weezl v0.1.8
   Compiling byteorder v1.5.0
   Compiling anstyle-query v1.1.1
   Compiling anstyle v1.0.8
   Compiling colorchoice v1.0.2
   Compiling is_terminal_polyfill v1.70.1
   Compiling rustix v0.38.34
   Compiling color_quant v1.1.0
   Compiling bitflags v2.6.0
   Compiling heck v0.5.0
   Compiling hashbrown v0.12.3
   Compiling iana-time-zone v0.1.60
   Compiling bytemuck v1.16.3
   Compiling linux-raw-sys v0.4.14
   Compiling scoped_threadpool v0.1.9
   Compiling anyhow v1.0.86
   Compiling strsim v0.11.1
   Compiling clap_lex v0.7.2
   Compiling fastrand v2.1.0
   Compiling once_cell v1.19.0
   Compiling wild v2.2.1
   Compiling hex_color v3.0.0
   Compiling xml-rs v0.7.0
   Compiling crc32fast v1.4.2
   Compiling encoding_rs v0.8.34
   Compiling anstyle-parse v0.2.5
   Compiling miniz_oxide v0.3.7
   Compiling itertools v0.10.5
   Compiling gif v0.11.4
   Compiling num-traits v0.2.19
   Compiling num-bigint v0.3.3
   Compiling num-rational v0.3.2
   Compiling miniz_oxide v0.4.4
   Compiling indexmap v1.9.3
   Compiling deflate v0.8.6
   Compiling anstream v0.6.15
   Compiling clap_builder v4.5.15
   Compiling xmltree v0.8.0
   Compiling png v0.16.8
   Compiling quote v1.0.36
   Compiling dxf v0.5.0
   Compiling crossbeam-epoch v0.9.18
   Compiling getrandom v0.2.15
   Compiling syn v2.0.74
   Compiling crossbeam-deque v0.8.5
   Compiling simple-xml-builder v1.1.0
   Compiling num-integer v0.1.46
   Compiling num-complex v0.3.1
   Compiling num-traits v0.1.43
   Compiling enum_primitive v0.1.1
   Compiling num-iter v0.1.45
   Compiling rayon v1.10.0
   Compiling tempfile v3.12.0
   Compiling trait-set v0.2.0
   Compiling chrono v0.4.38
   Compiling uuid v0.8.2
   Compiling uuid v1.10.0
   Compiling bspline v1.1.0
   Compiling num v0.3.1
   Compiling clap_derive v4.5.13
   Compiling jpeg-decoder v0.1.22
   Compiling tiff v0.6.1
   Compiling image v0.23.14
   Compiling clap v4.5.15
   Compiling dxf2elmt v0.3.4 (/home/laurent/dxf2elmt_vadoola)
warning: unused import: `dxf::Drawing`
 --> src/qelmt/mod.rs:8:5
  |
8 | use dxf::Drawing;
  |     ^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: unused variable: `spline`
  --> src/qelmt/mod.rs:59:36
   |
59 |             EntityType::Spline(ref spline) => todo!(),
   |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spline`
   |
   = note: `#[warn(unused_variables)]` on by default

warning: unused variable: `ellipse`
  --> src/qelmt/mod.rs:61:37
   |
61 |             EntityType::Ellipse(ref ellipse) => todo!(),
   |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ellipse`

warning: unused variable: `lwpolyline`
  --> src/qelmt/mod.rs:63:40
   |
63 |             EntityType::LwPolyline(ref lwpolyline) => todo!(),
   |                                        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lwpolyline`

warning: unused variable: `solid`
  --> src/qelmt/mod.rs:64:35
   |
64 |             EntityType::Solid(ref solid) => todo!(),
   |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_solid`

warning: struct `Definition` is never constructed
  --> src/qelmt/mod.rs:25:12
   |
25 | pub struct Definition {
   |            ^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: field `0` is never read
  --> src/qelmt/mod.rs:42:9
   |
42 |     Arc(Arc),
   |     --- ^^^
   |     |
   |     field in this variant
   |
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
   |
42 |     Arc(()),
   |         ~~

warning: field `0` is never read
  --> src/qelmt/mod.rs:43:13
   |
43 |     Ellipse(Ellipse),
   |     ------- ^^^^^^^
   |     |
   |     field in this variant
   |
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
   |
43 |     Ellipse(()),
   |             ~~

warning: field `0` is never read
  --> src/qelmt/mod.rs:44:13
   |
44 |     Polygon(Polygon),
   |     ------- ^^^^^^^
   |     |
   |     field in this variant
   |
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
   |
44 |     Polygon(()),
   |             ~~

warning: field `0` is never read
  --> src/qelmt/mod.rs:46:10
   |
46 |     Text(Text),
   |     ---- ^^^^
   |     |
   |     field in this variant
   |
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
   |
46 |     Text(()),
   |          ~~

warning: field `0` is never read
  --> src/qelmt/mod.rs:47:10
   |
47 |     Line(Line),
   |     ---- ^^^^
   |     |
   |     field in this variant
   |
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
   |
47 |     Line(()),
   |          ~~

warning: variants `DynamicText` and `Terminal` are never constructed
  --> src/qelmt/mod.rs:45:5
   |
41 | enum Objects {
   |      ------- variants in this enum
...
45 |     DynamicText(DynamicText),
   |     ^^^^^^^^^^^
...
48 |     Terminal(Terminal),
   |     ^^^^^^^^

warning: struct `Description` is never constructed
  --> src/qelmt/mod.rs:74:12
   |
74 | pub struct Description {
   |            ^^^^^^^^^^^

warning: multiple fields are never read
  --> src/qelmt/mod.rs:79:5
   |
78 | pub struct DynamicText {
   |            ----------- fields in this struct
79 |     text: String,
   |     ^^^^
80 |     info_name: Option<String>,
   |     ^^^^^^^^^
81 |     x: f64,
   |     ^
82 |     y: f64,
   |     ^
83 |     z: i32,
   |     ^
84 |     rotation: f64,
   |     ^^^^^^^^
85 |     uuid: Uuid,
   |     ^^^^
86 |     h_alignment: HAlignment,
   |     ^^^^^^^^^^^
87 |     font: String,
   |     ^^^^
88 |     text_from: String,
   |     ^^^^^^^^^
89 |     v_alignment: VAlignment,
   |     ^^^^^^^^^^^
90 |     frame: bool,
   |     ^^^^^
91 |     text_width: i32,
   |     ^^^^^^^^^^
92 |     keep_visual_rotation: bool,
   |     ^^^^^^^^^^^^^^^^^^^^

warning: fields `x`, `y`, `uuid`, `name`, and `orientation` are never read
   --> src/qelmt/mod.rs:97:5
    |
96  | pub struct Terminal {
    |            -------- fields in this struct
97  |     x: f64,
    |     ^
98  |     y: f64,
    |     ^
99  |     uuid: Uuid,
    |     ^^^^
100 |     name: String,
    |     ^^^^
101 |     orientation: TermOrient,
    |     ^^^^^^^^^^^

warning: struct `Names` is never constructed
   --> src/qelmt/mod.rs:109:12
    |
109 | pub struct Names {
    |            ^^^^^

warning: struct `Name` is never constructed
   --> src/qelmt/mod.rs:113:12
    |
113 | pub struct Name {
    |            ^^^^

warning: struct `ElmtUuid` is never constructed
   --> src/qelmt/mod.rs:118:12
    |
118 | pub struct ElmtUuid {
    |            ^^^^^^^^

warning: enum `ItemType` is never used
   --> src/qelmt/mod.rs:123:6
    |
123 | enum ItemType {
    |      ^^^^^^^^

warning: variants `Left`, `Center`, and `Right` are never constructed
   --> src/qelmt/mod.rs:138:5
    |
137 | enum HAlignment {
    |      ---------- variants in this enum
138 |     Left,
    |     ^^^^
139 |     Center,
    |     ^^^^^^
140 |     Right,
    |     ^^^^^

warning: variants `Top`, `Center`, and `Bottom` are never constructed
   --> src/qelmt/mod.rs:144:5
    |
143 | enum VAlignment {
    |      ---------- variants in this enum
144 |     Top,
    |     ^^^
145 |     Center,
    |     ^^^^^^
146 |     Bottom,
    |     ^^^^^^

warning: variants `SimpleArrow`, `TriangleArrow`, `Circle`, and `Diamond` are never constructed
   --> src/qelmt/mod.rs:151:5
    |
149 | enum LineEnd {
    |      ------- variants in this enum
150 |     None,
151 |     SimpleArrow,
    |     ^^^^^^^^^^^
152 |     TriangleArrow,
    |     ^^^^^^^^^^^^^
153 |     Circle,
    |     ^^^^^^
154 |     Diamond,
    |     ^^^^^^^

warning: variants `North`, `East`, `South`, and `West` are never constructed
   --> src/qelmt/mod.rs:158:5
    |
157 | enum TermOrient {
    |      ---------- variants in this enum
158 |     North,
    |     ^^^^^
159 |     East,
    |     ^^^^
160 |     South,
    |     ^^^^^
161 |     West,
    |     ^^^^

warning: enum `LinkType` is never used
   --> src/qelmt/mod.rs:165:6
    |
165 | enum LinkType {
    |      ^^^^^^^^

warning: struct `ElemInfos` is never constructed
   --> src/qelmt/mod.rs:175:12
    |
175 | pub struct ElemInfos {
    |            ^^^^^^^^^

warning: struct `ElemInfo` is never constructed
   --> src/qelmt/mod.rs:179:12
    |
179 | pub struct ElemInfo {
    |            ^^^^^^^^

warning: multiple fields are never read
  --> src/qelmt/arc.rs:4:5
   |
3  | pub struct Arc {
   |            --- fields in this struct
4  |     x: f64,
   |     ^
5  |     y: f64,
   |     ^
6  |     width: f64,
   |     ^^^^^
7  |     height: f64,
   |     ^^^^^^
8  |     start: f64,
   |     ^^^^^
9  |     angle: f64,
   |     ^^^^^
10 |     style: String,
   |     ^^^^^
11 |     antialias: bool,
   |     ^^^^^^^^^

warning: multiple fields are never read
  --> src/qelmt/line.rs:5:5
   |
4  | pub struct Line {
   |            ---- fields in this struct
5  |     length2: f64,
   |     ^^^^^^^
6  |     end2: LineEnd,
   |     ^^^^
7  |     length1: f64,
   |     ^^^^^^^
8  |     x1: f64,
   |     ^^
9  |     y1: f64,
   |     ^^
10 |     x2: f64,
   |     ^^
11 |     y2: f64,
   |     ^^
12 |     style: String,
   |     ^^^^^
13 |     end1: LineEnd,
   |     ^^^^
14 |     antialias: bool,
   |     ^^^^^^^^^

warning: fields `rotation`, `value`, `x`, `y`, `font`, and `color` are never read
  --> src/qelmt/text.rs:5:5
   |
4  | pub struct Text {
   |            ---- fields in this struct
5  |     rotation: f64,
   |     ^^^^^^^^
6  |     value: String,
   |     ^^^^^
7  |     x: f64,
   |     ^
8  |     y: f64,
   |     ^
9  |     font: String,
   |     ^^^^
10 |     color: HexColor,
   |     ^^^^^

warning: fields `x` and `y` are never read
 --> src/qelmt/polygon.rs:4:5
  |
3 | struct Coordinate {
  |        ---------- fields in this struct
4 |     x: f64,
  |     ^
5 |     y: f64,
  |     ^

warning: fields `style`, `antialias`, `coordinates`, and `closed` are never read
  --> src/qelmt/polygon.rs:9:5
   |
8  | pub struct Polygon {
   |            ------- fields in this struct
9  |     style: String,
   |     ^^^^^
10 |     antialias: bool,
   |     ^^^^^^^^^
11 |     coordinates: Vec<Coordinate>,
   |     ^^^^^^^^^^^
12 |     closed: bool,
   |     ^^^^^^

warning: fields `height`, `width`, `style`, `x`, `y`, and `antialias` are never read
 --> src/qelmt/ellipse.rs:4:5
  |
3 | pub struct Ellipse {
  |            ------- fields in this struct
4 |     height: f64,
  |     ^^^^^^
5 |     width: f64,
  |     ^^^^^
6 |     style: String,
  |     ^^^^^
7 |     x: f64,
  |     ^
8 |     y: f64,
  |     ^
9 |     antialias: bool,
  |     ^^^^^^^^^

warning: `dxf2elmt` (bin "dxf2elmt") generated 32 warnings (run `cargo fix --bin "dxf2elmt"` to apply 1 suggestion)
    Finished `release` profile [optimized] target(s) in 23.49s

Perhaps your Linux file system is full and the OS has switched to read-only mode?

I saw any not problem with your file, I opened before your file with Kate editor nothing seems strange, and VirusTotal no warning.. so I opened with lastest 0.0100-dev and I saw you created this projet with QET version 0.8.
To prove it to you, I've exported it as a PDF file.

If you edit your posta new menu appear add attached file.