Hello,

in last version 0.100-dev "Import an element to resize" was implanted directly on element editor, no need to use terminal if you want.
See the plc-user's quick-guide  -> https://download.qelectrotech.org/qet/Q … ick-guide/

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

For installation and can be launched in element editor it's the same way like dxf2elmt install see:
https://qelectrotech.org/forum/viewtopi … 116#p17116

202

(193 replies, posted in Import DXF)

I'll have to find plc-user's messages about the dimensions of the thumbnails, like this.
https://qelectrotech.org/forum/viewtopi … 393#p17393

203

(193 replies, posted in Import DXF)

That is obviously a very large item on an A4 sheet of paper, real world dimensions in landscape it's about 30% of the height, and 70% of the width, so perhaps this isn't the best way to do it. I am open to suggestions or thoughts on how better to map the real world dimensions to useful pixels for the elements.

Hello Vadoola!
Hallo plc-user!

@Vadoola: Don't rely too much on the default folio dimensions columns 17 X60 pixels and Rows 8 X 80 pixels...

Personally, I use 24X60 pixels by 12X80 pixels for my titleBlocks, so the elements are smaller than on a default folio.
https://qelectrotech.org/forum/viewtopi … 048#p17048

LievenC wrote:

In the new version I found another issue
I selected a template from the user blocks
and deleted the template
the template is removed from the folder but not from the list
same applies for copany and QET blocks

I can't reproduce the bug you describe, you saw in project widgets list, maybe you saw in project embeded title blocs?

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

I can't check now, but on the ready to use version I added the company folders in the conf directory, if you want to backup your conf when you upgrade from 0.9 to 0.100 you need to create these folders manually in your conf directory.

laurent@debian:~/paquet_qet/readytouse_base/conf$ tree
.
├── elements
├── elements-company
├── qelectrotech.conf
├── titleblocks
└── titleblocks-company
 
5 directories, 1 file

Otherwise, by default, the program can't find its folders ( elements-company, titleblocks-company). That seems to be the problem you've encountered, fixed by enter new path in setting, I think.

gleissoncg2 wrote:

Oh Great ! Worked perfectly ! Tks scorpio810 !

Great, thanks, what have you used python virtual env or my debs packages?

Bonsoir,

menu édition-> chercher et remplacer ou ctrl +F, voir dans la section folio.

You use last devel 0.100 version?
Please send QET logs.

https://github.com/qelectrotech/qelectr … t.cpp#L285

210

(193 replies, posted in Import DXF)

The other possibility is I screwed something up, the last time I worked on a (non-plc) project as a team was in C++ but probably 12+ years ago now and we were using SVN. All my experience with Git is as a solo developer, and I have a tendency to just work off the main branch. I know it's not best habits and have been trying to learn better git technique, so I was working on these features in a different branch and then merged them.

I understand, FYI in the past we use also SVN, and moved to GIT ~ in 2019 on our host, and after on github since tuxfamily free/libre hoster 's probems.
And when we had to find a new host this time, and need to pay... we decided with Xavier, the creator of QET, to use only the github repository and not to put the GIT repository on the server.

From our experience, some pull requests made on the github didn't go through very well on our git hosted.
https://qelectrotech.org/forum/viewtopic.php?id=1427
https://qelectrotech.org/forum/viewtopic.php?id=2533

211

(193 replies, posted in Import DXF)

Hello Vadoola,

I 'm sorry .... I tried it last week and not saw you have updated repository since.

Git info informs me I have commit 886a57331d1b7cea045e32a8741ed4ee57473f50
"Some more work on Scaling Elements"


nomicons/wink

Edit: I have updated now but, is late for me, I will try it tomorow to try new version.

Oui c'est bien le hotpot c'est le cadre virtuel qui contient tous les parties de ton symbole, si tu est sur de toi .... tu peut essayer manuellement de baisser les valeurs x et y en éditant le fichier xml du elmt, mais tu risques d'avoir ensuite des artefacts dans l'éditeur de folio si tu viens a déplacer ce même symbole par la suite si ce nouveau hotspot est plus petit que la zone de ton symbole....

Uploaded qet_tb_generator and pysimplegui to Ubuntu 24.04 on my PPA.

214

(193 replies, posted in Import DXF)

Hello Vadoola!
Hallo plc-user!

I just upgraded my git local repository of code, use git pull and cargo update and cargo build --release and now I saw all time popup error even if DXF convertion working... it is for debug?

[src/qelmt/mod.rs:70:9] view_pt = Point {
    x: 0.0,
    y: 0.0,
    z: 0.0,
}
[src/qelmt/mod.rs:72:9] view_ht = 1.0
[src/qelmt/mod.rs:73:9] drw.header.insertion_base.clone() = Point {
    x: 0.0,
    y: 0.0,
    z: 0.0,
}
[src/qelmt/mod.rs:74:9] drw.header.minimum_drawing_extents.clone() = Point {
    x: 1e20,
    y: 1e20,
    z: 1e20,
}
[src/qelmt/mod.rs:75:9] drw.header.maximum_drawing_extents.clone() = Point {
    x: -1e20,
    y: -1e20,
    z: -1e20,
}
[src/qelmt/mod.rs:78:9] view = []
[src/qelmt/mod.rs:80:9] drw.header.default_drawing_units = Millimeters

Other

[src/qelmt/mod.rs:70:9] view_pt = Point {
    x: 0.0,
    y: 0.0,
    z: 0.0,
}
[src/qelmt/mod.rs:72:9] view_ht = 1.0
[src/qelmt/mod.rs:73:9] drw.header.insertion_base.clone() = Point {
    x: 0.0,
    y: 0.0,
    z: 0.0,
}
[src/qelmt/mod.rs:74:9] drw.header.minimum_drawing_extents.clone() = Point {
    x: 0.0,
    y: 0.0,
    z: 0.0,
}
[src/qelmt/mod.rs:75:9] drw.header.maximum_drawing_extents.clone() = Point {
    x: 1.683250261529439,
    y: 3.8125,
    z: 0.0,
}
[src/qelmt/mod.rs:78:9] view = []
[src/qelmt/mod.rs:80:9] drw.header.default_drawing_units = Unitless

C'est lié aux balise html/css ?
Et ça se modifie quelque part pour la réduire à l’emprise de l'objet seulement ?

Non c'est interne a l’éditeur d'élément qui créer la zone qui englobe ton symbole, cela n'est il me semble pas modifiable, et ce n'est visible que quand on sélectionne un symbole dans l'éditeur de folio pour déplacer ou éditer un symbole, si on parle bien de la même chose?

Peut-être qu'un exemple minime de ta part pourrait mieux nous aiguiller, si tu pouvais le mettre en partage, pour etre sur qu'on parle bien de la même chose?

Maybe with create your pyton virtual env?

python3 -m venv venv/ && source venv/bin/activate
pip install qet_tb_generator


laurent@debian:~$ whereis qet_tb_generator 
qet_tb_generator: /home/laurent/venv/bin/qet_tb_generator

When you need qet_tb_generator activate your virtual env before.
by

source venv/bin/activate

ps: qet_tb_generator in virtual env can't be launched by QET directly, I don't know why at this time, so you need to do in the terminal and wrote qet_tb_generator for launch it and choose where is your project and select it.


That's why I prefer the deb packages I had packaged, I think I also created them on the ubuntu PPA.
FYI qet_tb_generator need also pysimplegui with deb packages.

See https://launchpad.net/~scorpio/+archive … rotech-dev

and for the same way you if you want with pinning you can upgrade to lastest devel 0.100 versions, QET 0.8 release was now very very old.

Edit : Linux Mint 22. x is based on Ubuntu 24.04.
name is Noble.

Par contre, est-(ce qu'il est possible de régler le l'emprise du cadra pointillé. Sur l'exemple Cxx en vert, il est beaucoup trop gros autour. Ou bien que la taille varie en fonction du zoom ?

Je pense que c'est du au fort zoom quand tu le sélectionnes, ce que tu vois est la zone hotspot qui encadre ton symbole pour sa sélection.

Bonjour,

pour cela il existe les outils envoyer au fond ou rapprocher au premier plan dans la barre de menu pour mieux sélectionner ou désélectionner les éléments trop proches les un des autres, ou qui se chevauchent. Il faut souvent bien zoomer pour mieux les envoyer au fond afin de sélectionner le bon élément souvent dans la zone de sélection de l'autre symbole..
https://download.qelectrotech.org/qet/manual_0.7/build/_images/qet_toolbar_depth.png

https://download.qelectrotech.org/qet/m … lbar-depth

You can't see it in the project widget?

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

Maybe save as company title-blocks to ceate the folder .qet/titleblocks-company/?

FYI, there may be another tool, not perfect for this use case, but:
Search and replace.

CTRL +F go to option button with select conductors, uncheck all folios, select the folio you want to edit conductor color, select label conductor you want to change color, on the widget choose the colour field, select a colour.

With shorcut F2 when conducteur is selected you can change quickly the color of one conductors selected:

This whole part of the code needs to be reviewed if you want to change the colour of several selected conductors in the same time...
https://github.com/qelectrotech/qelectr … ew.cpp#L99

https://qelectrotech.org/forum/viewtopi … 153#p16153

224

(16 replies, posted in Videos howto)

You installed it on drive "D" on Windows?
Try on drive "C"!

You use the latest 0.100-dev version? No try it, 0.90 is now very old!