201

(7 replies, posted in Elements)

Added, thanks.

202

(1 replies, posted in Elements)

Added, thanks.

203

(7 replies, posted in Elements)

Added, thanks.

https://download.qelectrotech.org/qet/m … index.html

I found very old howto videos...



2020-10-28 22:43   

2020-04-06 17:56   



2020-04-11 23:17   

If you can help you.. ?

205

(193 replies, posted in Import DXF)

Re-searcher wrote:

AutoCAD Sample Files from autodesk.
These sample files apply to AutoCAD 2010 and later.

https://www.autodesk.com/support/techni … jrnQ9.html

Hi Erik,
The dxf2elmt plugin does not support DWG, which is a closed format keurk ... and same fonctionaly than the dxf file, don'use dwg when you can..

To convert dwg to dxf see https://wiki.freecad.org/FreeCAD_and_DWG_Import/en

LibreDWG https://github.com/LibreDWG/libredwg
ODA File Converter    https://www.opendesign.com/guestfiles/o … _converter

206

(193 replies, posted in Import DXF)

Interesting for check dxf convertion with new dxf2elmt new builds.
https://github.com/LibreDWG/libredwg/tr … /test-data

207

(193 replies, posted in Import DXF)

macOS Apple silicon arm64 binary

Bonjour ,

le symbole renvoi entrant en folio 2 est de type simple, ce n'est donc pas un élément de type renvoi..

209

(193 replies, posted in Import DXF)

Without your help on the dxf-rs source code and polygon.rs change I wouldn't have got far,
so you do the honours to make the few changes in your branch. nomicons/wink

Thanks you Carl.

210

(193 replies, posted in Import DXF)

I've noticed that many more DXF files are now being converted,
whereas previously they would generate an error and can't be converted.... nomicons/wink

211

(193 replies, posted in Import DXF)

macOS INTEL X86_64 binary

212

(193 replies, posted in Import DXF)

Windows 64 binary.

213

(193 replies, posted in Import DXF)

Thanks Carl, dxf2elmt compile it's now ok for me too, and correct at the same time issue 
https://github.com/ixmilia/dxf-rs/issues/46
and
https://github.com/Vadoola/dxf2elmt/issues/19


Linux debian sid 64 dxf2elmt
https://github.com/scorpio810/dxf2elmt.git

Make the File Executable

chmod +x dxf2elmt 

214

(0 replies, posted in Videos howto)

215

(193 replies, posted in Import DXF)

Edit: I tried to go to last git main branch but dxf2elmt code can't compile after patched cargo.toml and use cargo update to update cargo.lock...

diff --git a/Cargo.toml b/Cargo.toml
index 2d78bdc..9b8bc2e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -17,7 +17,7 @@ lto = true
opt-level = 3
 
[dependencies]
-dxf = "0.5.0"
+dxf = { git = "https://github.com/ixmilia/dxf-rs.git" }
simple-xml-builder = "1.1.0"
bspline = "1.1.0"
uuid = { version = "1.10.0", features = ["serde", "v4"] }


~/new_dxf2elmt_vadoola_fork$ cargo build --release
   Compiling dxf2elmt v0.4.0 (/home/laurent/new_dxf2elmt_vadoola_fork)
warning: unused import: `dxf::objects::Object`
--> src/qelmt/mod.rs:1:5
  |
1 | use dxf::objects::Object;
  |     ^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default
 
warning: unused import: `text`
--> src/qelmt/dynamictext.rs:1:13
  |
1 | use super::{text, two_dec};
  |             ^^^^
 
error[E0599]: no method named `get_is_closed` found for reference `&dxf::entities::Polyline` in the current scope
    --> src/qelmt/polygon.rs:60:26
     |
60   |             closed: poly.get_is_closed(),
     |                          ^^^^^^^^^^^^^
     |
help: there is a method `set_is_closed` with a similar name, but with different arguments
    --> /home/laurent/new_dxf2elmt_vadoola_fork/target/release/build/dxf-a92690d5c3960b91/out/generated/entities.rs:1726:5
     |
1726 |     pub fn set_is_closed(&mut self, val: bool) {
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
error[E0599]: no method named `get_is_closed` found for reference `&dxf::entities::LwPolyline` in the current scope
    --> src/qelmt/polygon.rs:85:26
     |
85   |             closed: poly.get_is_closed(),
     |                          ^^^^^^^^^^^^^
     |
help: there is a method `set_is_closed` with a similar name, but with different arguments
    --> /home/laurent/new_dxf2elmt_vadoola_fork/target/release/build/dxf-a92690d5c3960b91/out/generated/entities.rs:1388:5
     |
1388 |     pub fn set_is_closed(&mut self, val: bool) {
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
error[E0599]: no method named `get_is_closed` found for reference `&dxf::entities::Spline` in the current scope
    --> src/qelmt/polygon.rs:144:28
     |
144  |             closed: spline.get_is_closed(),
     |                            ^^^^^^^^^^^^^
     |
help: there is a method `set_is_closed` with a similar name, but with different arguments
    --> /home/laurent/new_dxf2elmt_vadoola_fork/target/release/build/dxf-a92690d5c3960b91/out/generated/entities.rs:2107:5
     |
2107 |     pub fn set_is_closed(&mut self, val: bool) {
     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
For more information about this error, try `rustc --explain E0599`.
warning: `dxf2elmt` (bin "dxf2elmt") generated 2 warnings
error: could not compile `dxf2elmt` (bin "dxf2elmt") due to 3 previous errors; 2 warnings emitted

216

(193 replies, posted in Import DXF)

@vadoola: FYI https://qelectrotech.org/forum/viewtopi … 496#p20496
https://github.com/ixmilia/dxf-rs/issues/46

You use last dxf-rs old tag or master git?


Edit you used the V 0.5.0
https://github.com/qelectrotech/new_dxf … o.toml#L20

Why not use space to center text, no need to use avanced text editor and HTML?

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

218

(2 replies, posted in FR : Aide, suggestions, discussions, ...)

Bonjour,

il y a ce tres vieux tuto de Nuri qui date de 2016 et qui ne doit plus fonctionner mais peut-être que ça te donneras des idées de workarounds, d'ailleurs c'est pour cette fonction que le mode gris sombre existe dans l’éditeur de schéma pouvoir ajouter des composants dessinés en blanc qui ne seront visible que sur ce mode, et donc invisible a l'impression du projet afin d'enrichir la nomenclature.

Je me rappelle qu'il en avait parlé sur ce forum, de la à retrouver le lien...
https://download.qelectrotech.org/qet/n … dition.pdf



Cordialement,
Laurent

No need to edit element in element editor to add element informations dynamic texts.

Clic on your transformer in propertie of selection in tab information on fucntion field enter your text.
https://download.qelectrotech.org/qet/forum_img_2/stefan123.png

Now go to tab text, add text (1) selectect information of element (2), and select function (3)





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

220

(29 replies, posted in Import DXF)

In the XML of the elmt file produced by dxf2elmt, I was able to easily separate the drawing data from the text data in order to create two QET symbols so that I could try to merge them manually from the editor.   

It is not easy to adjust the text fonts on the drawing, which is why in a symbol of this type with a lot of text and terminals, it is preferable to draw it from the editor from scratch.

Hallo

see https://qelectrotech.org/forum/viewtopi … 476#p19476
https://qelectrotech.org/forum/viewtopi … 076#p20076

https://qelectrotech.org/forum/misc.php?action=pun_attachment&item=2861&download=0

222

(29 replies, posted in Import DXF)

Error: Failed to load deos600...
    Make sure the file is a valid .dxf file.

Caused by:
    an unexpected code '90' was encountered at line/offset 11

/media/backup6/download$ cat -b deos600.dxf
     1      0
     2    SECTION
     3      2
     4    HEADER
     5      9
     6    $ACADVER
     7      1
     8    AC1032
     9      9
    10    $ACADMAINTVER
    11     90
    12           55
    13      9
    14    $DWGCODEPAGE
    15      3
    16    ANSI_1252
    17      9
    18    $LASTSAVEDBY
    19      1
    20    Thomas16
    21      9
    22    $REQUIREDVERSIONS

    10    $ACADMAINTVER
    11     90

See:
https://github.com/ixmilia/dxf-rs/issues/46
https://github.com/ixmilia/dxf-rs/issues/27
https://ezdxf.mozman.at/release-v0-10-1.html

But if I open with libreCad and save the DXF in ‘drawing Exchange 2007’ format (*.dxf)... Vadoola dxf2elmt works but ... the font size was too big, it's a good start. nomicons/wink

Edit: no need to open with LibreCAD just remove these lines (10 to 13):

    10    $ACADMAINTVER
    11     90
    12           55
    13      9

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

223

(29 replies, posted in Import DXF)

As plc-user says, if you can submit these dxf elements, we may be able to test with Vaddola whether these symbols can help QET and also electrical equipment manufacturers and also QET users. If not no problem, we provide an editor, not perefect ...

Electrical equipment manufacturers sometimes ask me by e-mail how to add their electrical products to the QET collection...

The problem is that they don't have the time or the staff to provide QElectroTech with a specific elmt file, the only thing they can share internally is their DWG/DXF most of the cases in 3D, ....which is useless and impractical with simple drawing software...

Hi Luca,

thanks for the link and the workaround.

Regards,
Laurent

225

(29 replies, posted in Import DXF)

@Kellermorph:

Have you used DWG/DXF element https://www.wscad.com/fr/wscaduniverse/ and converted with new dxf2elmt or created from scrath?