You can try other bundles, I made big changes before 5449 version, like 5444 dmg ?
https://download.qelectrotech.org/qet/builds/MAC_OS_X/
BTW, you could find some howto on QET YouTube channel :
You are not logged in. Please login or register.
QElectroTech → Posts by scorpio810
You can try other bundles, I made big changes before 5449 version, like 5444 dmg ?
https://download.qelectrotech.org/qet/builds/MAC_OS_X/
BTW, you could find some howto on QET YouTube channel :
Cette feature est désactivée pour macOS, même après de nombreuses heures de tests, de nombreuses compils, déploiements, de QDebug... je n'ai toujours pas résolu ni trouvé d'ou peut provenir le soucis avec le bundle "dmg" : l'application mettant un temps très important a charger les collections.
Au besoin les arguments dans une console eux fonctionnent, exemple :
open -a /Applications/qelectrotech.app --args --common-elements-dir=/Users/laurent/qelectrotech_trunk/elements/
Bonsoir,
la limitation dans le code a toujours existé.
Je dessinais un schéma de câblage succinct pour une installation solaire, et j'ai un câble de controle/commande avec 7 conducteurs... impossible donc à représenter.
La représentation unifilaire n'est pas adaptée à ton utilisation, utilise plutôt une représentation multifilaire.
Apply this patch or download latest 0.6 tarball here :
https://download.qelectrotech.org/qet/b … .60.tar.gz
You compil it ?
You could found latest fix patch for GCC 8.1.1 here for 0.6 version :
https://svnweb.tuxfamily.org/revision.p … p;peg=5450
I copy your titleblock, paste your diagram and titleblock to an new project launch plug-in D & D terminal block on folio, launch many times plug-in without crashes ... strange!
Hum !
If I open test bornier v50_2_1_1.qet I saw this :
<project xmlns:ns0="http://www.w3.org/2000/svg" folioSheetQuantity="0" title="" version="0.70">
<titleblocktemplates>
<titleblocktemplate name="Cartouche Veolia">
<information />
<logos>
<logo name="téléchargement.png" storage="base64" type="png">iVBORw0KGgoAAAANSUhEUgAAAQoAAACmCAYAAAAiYsHoAAAAAXNSR0IArs4c6QA...............
<logo name="Qet.svg" storage="xml" type="svg">
<ns0:svg height="600.000000pt" preserveAspectRatio="xMidYMid meet" version="1.0" viewBox="0 0 600.000000 600.000000" width="600.000000pt">
<ns0:metadata>
<project xmlns:ns0="http://www.w3.org/2000/svg" folioSheetQuantity="0" title="" version="0.70">
Hi,
for Linux we offer AppImages of version 0.5, 0.6 and the development version 0.7 that should run on any reasonable recent distributions.
AppImage is a format for distributing portable software on Linux without needing superuser permissions to install the application.
It tries also to allow Linux distribution-agnostic binary software deployment for application developers, also called Upstream packaging.
Using appimages it is easy to have several versions installed at the same time, i.e.: create work using the current version,
use the old version to edit old work without losing compatibility for other users still on the old version, and try out the development version.
Just download the version you want.
make it executable .
$ chmod a+x QElectroTech_0.*.AppImage
and launch AppImage
$ ./QElectroTech_0.7-r5444-x86_64.AppImage
More informations for AppImage executable arguments :
https://qelectrotech.org/forum/viewtopi … 8364#p8364
https://firejail.wordpress.com/document … sic-usage/
Enjoy !
Intéressant, Merci, ça pourrai nous servir de base dans le futur.
Ouchh :'( ça représente un travail de titan afin d'ajouter toutes ces balises ..
Et c'est pas facile de rajouter énormément de propriétés aux éléments sans transformer le logiciel en usine à gaz.
On en bave déjà assez avec les propriétés électriques.
Clair ! c'est 5 fichiers dans le code qui sont a modifier à chaque fois ne serai-ce que pour ajouter un nouveau champ information...
/trunk/sources/autoNum/assignvariables.cpp   
/trunk/sources/diagramcontext.h   
/trunk/sources/editor/ui/elementpropertieseditorwidget.cpp   
/trunk/sources/nomenclature.cpp   
/trunk/sources/qetapp.cpp
r5059-scorpio810.diff
Modified: trunk/sources/autoNum/assignvariables.cpp
===================================================================
--- trunk/sources/autoNum/assignvariables.cpp 2017-10-02 14:46:26 UTC (rev 5058)
+++ trunk/sources/autoNum/assignvariables.cpp 2017-10-02 16:59:53 UTC (rev 5059)
@@ -167,6 +167,7 @@
QString str = formula;
str.replace("%{label}", dc.value("label").toString());
str.replace("%{comment}", dc.value("comment").toString());
+ str.replace("%{description}", dc.value("description").toString());
str.replace("%{designation}", dc.value("designation").toString());
str.replace("%{manufacturer}", dc.value("manufacturer").toString());
str.replace("%{manufacturer-reference}", dc.value("manufacturer-reference").toString());
Modified: trunk/sources/diagramcontext.h
===================================================================
--- trunk/sources/diagramcontext.h 2017-10-02 14:46:26 UTC (rev 5058)
+++ trunk/sources/diagramcontext.h 2017-10-02 16:59:53 UTC (rev 5059)
@@ -34,6 +34,7 @@
* label -> label or identification of element
* formula -> formula used to create the label (formula is make with variable)
* designation -> exhaustive comment used to explain what the element does.
+ * description -> exhaustive description used to explain what the element does.
* comment -> a little comment wich can be displayed in the folio
* manufacturer -> the manufacturer of the element
* manufacturer-reference -> the manufacturer reference of the element
Modified: trunk/sources/editor/ui/elementpropertieseditorwidget.cpp
===================================================================
--- trunk/sources/editor/ui/elementpropertieseditorwidget.cpp 2017-10-02 14:46:26 UTC (rev 5058)
+++ trunk/sources/editor/ui/elementpropertieseditorwidget.cpp 2017-10-02 16:59:53 UTC (rev 5059)
@@ -152,7 +152,7 @@
*/
void ElementPropertiesEditorWidget::populateTree()
{
- QStringList keys{"label", "comment", "designation", "manufacturer", "manufacturer-reference", "machine-manufacturer-reference"};
+ QStringList keys{"label", "comment", "description", "designation", "manufacturer", "manufacturer-reference", "machine-manufacturer-reference"};
for(QString key : keys)
{
Modified: trunk/sources/nomenclature.cpp
===================================================================
--- trunk/sources/nomenclature.cpp 2017-10-02 14:46:26 UTC (rev 5058)
+++ trunk/sources/nomenclature.cpp 2017-10-02 16:59:53 UTC (rev 5059)
@@ -91,6 +91,7 @@
""+ QObject::tr("Position") +";"
""+ QObject::tr("Label") +";"
""+ QObject::tr("Désignation") +";"
+ ""+ QObject::tr("Description") +";"
""+ QObject::tr("Commentaire") +";"
""+ QObject::tr("Fabricant") +";"
""+ QObject::tr("Reference") +";"
@@ -147,6 +148,7 @@
info += elmt-> diagram()-> convertPosition(elmt -> scenePos()).toString() + ";";
info += autonum::AssignVariables::formulaToLabel(elmt_info["label"].toString(), elmt->rSequenceStruct(), elmt->diagram(), elmt) + ";";
info += autonum::AssignVariables::formulaToLabel(elmt_info["designation"].toString(), elmt->rSequenceStruct(), elmt->diagram(), elmt) + ";";
+ info += autonum::AssignVariables::formulaToLabel(elmt_info["description"].toString(), elmt->rSequenceStruct(), elmt->diagram(), elmt) + ";";
info += autonum::AssignVariables::formulaToLabel(elmt_info["comment"].toString(), elmt->rSequenceStruct(), elmt->diagram(), elmt) + ";";
info += autonum::AssignVariables::formulaToLabel(elmt_info["manufacturer"].toString(), elmt->rSequenceStruct(), elmt->diagram(), elmt) + ";";
info += autonum::AssignVariables::formulaToLabel(elmt_info["manufacturer-reference"].toString(), elmt->rSequenceStruct(), elmt->diagram(), elmt) + ";";
Modified: trunk/sources/qetapp.cpp
===================================================================
--- trunk/sources/qetapp.cpp 2017-10-02 14:46:26 UTC (rev 5058)
+++ trunk/sources/qetapp.cpp 2017-10-02 16:59:53 UTC (rev 5059)
@@ -284,6 +284,7 @@
info_list << "formula"
<< "label"
<< "comment"
+ << "description"
<< "designation"
<< "manufacturer"
<< "manufacturer-reference"
@@ -307,6 +308,7 @@
if (info == "formula") return tr("formule du label");
else if (info == "label") return tr("Label");
else if (info == "comment") return tr("Commentaire");
+ else if (info == "descrition") return tr("Descrition");
else if (info == "designation") return tr("Désignation");
else if (info == "manufacturer") return tr("Fabricant");
else if (info == "manufacturer-reference") return tr("Référence fabricant");
@@ -330,6 +332,7 @@
if (info == "formula") return QString("%{formula}");
else if (info == "label") return QString("%{label}");
else if (info == "comment") return QString("%{comment}");
+ else if (info == "description") return QString("%{description}");
else if (info == "designation") return QString("%{designation}");
else if (info == "manufacturer") return QString("%{manufacturer}");
else if (info == "manufacturer-reference") return QString("%{manufacturer-reference}");
Ce n'est pas très compliqué en soit mais ça peut devenir très chiant s' il faut en rajouter un certain nombre...
Pour moi, la difficulté se trouve du coté de la structure des attributs XML pour être compatible avec DEXPI et être interopérable avec d'autres logiciels, il y a quelques exemples mais pas de listes définies...
Bonjour,
tu pourrais établir un cahier des charges sur les changements à effectuer dans le logiciel?
Dans le cas ou la seule solution possible serait de faire un fork, tu penses pouvoir trouver et rassembler une communauté de développeurs pour travailler sur ce projet, voir ajouter des nouveaux modules à QET ?
Hi DMH78,
you could send us your project for checking?
Bonjour,
QET s'en sort très bien pour dessiner des schémas PID, ce que nous pouvons faire est d'ajouter de nouveaux champs informations dans l’éditeur de symboles et de schémas comme la capture plus haut, mais il en faudrait un nombre très conséquent d’après ce que j'en ai lu ...
Avec les textes dynamiques de la 0.7 il est possible d'automatiser le dessin et afficher les informations contenues dans le symbole ou dans le widget informations directement dans le schéma.
Par contre pour l'arbre XML et les différents attributs spécifiques ça se complique ...
Hi DMH78,
when you launch plugin in terminal you must see a little windows is the dialog file for selecting project.
Just tried with latest python 3.7 package on Win 10
If you dont choose and select a QET project and close this tk widget I saw this :
Microsoft Windows [version 10.0.15063]
(c) 2017 Microsoft Corporation. Tous droits réservés.
C:\Users\laurent>qet_tb_generator
Traceback (most recent call last):
File "c:\users\laurent\appdata\local\programs\python\python37-32\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\users\laurent\appdata\local\programs\python\python37-32\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\laurent\AppData\Local\Programs\Python\Python37-32\Scripts\qet_tb_generator.exe\__main__.py", line 9, in <module>
File "c:\users\laurent\appdata\local\programs\python\python37-32\lib\site-packages\src\main.py", line 1378, in main
qet_project = QETProject(qet_file) # allow working with a QET XML file.
File "c:\users\laurent\appdata\local\programs\python\python37-32\lib\site-packages\src\main.py", line 140, in __init__
self._qet_tree = etree.parse(project_file)
File "c:\users\laurent\appdata\local\programs\python\python37-32\lib\xml\etree\ElementTree.py", line 1197, in parse
tree.parse(source, parser)
File "c:\users\laurent\appdata\local\programs\python\python37-32\lib\xml\etree\ElementTree.py", line 587, in parse
source = open(source, "rb")
TypeError: expected str, bytes or os.PathLike object, not NoneType
Hi DMH78,
you could also update your QET version : qelectrotech version 0.70-dev + svn5248 -> to latest 0.70-dev+svn5437
Is it possible to launch the appimages with some parameter or other trick to make them use different folders of symbols, templates, drawings?
Yes !
By example : If I want to use new folder "test-0.5" in my HOME QET directory, you need to add argument --config-dir= to your AppImage.
./QElectroTech_0.5-x86_64.AppImage --config-dir=/home/laurent/.qet/test-0.5/
Or If you want to use other common collection (--common-elements-dir argument) :
./QElectroTech_0.5-x86_64.AppImage --common-elements-dir=/home/laurent/0.5-test/
You could also extract Appimage and change QET arguments in AppRun file.
https://github.com/AppImage/AppImageKit … -AppImages
./QElectroTech_0.5-x86_64.AppImage --appimage-extract
/squashfs-root$ cat AppRun
#! /bin/sh
cd $(dirname $(readlink -f $0))/usr/bin/
exec ./qelectrotech --common-elements-dir=../share/elements/ --common-tbt-dir=../share/titleblocks/ --lang-dir=../share/lang/ $@
Bonjour Opus,
Je découvre et je salue cette initiative d'interopérabilité entre logiciels d'ingénierie, merci pour l'info.
http://www.dexpi.org/wp-content/uploads … ortrag.pdf
https://github.com/DEXPI/Specification/ … %201.2.pdf
On Windows and macOs OS, it is easy to launch an old version of QET such as "ReadyToUse" or bundle "dmg" to minors adjust and retouch old and big projects that we do not need or want to convert them on recent versions, from done I also sent Appimage for versions 0.5 and 0.6.
Enjoy !
Nice, thanks Dik.
Salut Joshua, tu as prévu d'ajouter la même fonctionnalité dans l’éditeur d’éléments pour les primitives rectangle?
Je pense que ça serait très utile.
Nice ! Thanks for checking the appimage.
I uploaded latest AppImage : QElectroTech_0.7-r5437-x86_64.AppImage
QElectroTech V 0.70-dev
Compilation: GCC 6.3.0 20170516 - built with Qt 5.7.1 - run with Qt 5.7.1 using 16 thread(s)
Debian 9 GLIBC_2.24
Hmm, this AppImage was built on my Debian Sid and needs to work on the most recent distributions like Ubuntu 18.04, Debian testing/Unstable, etc.
So I use a older distribution to make AppImage, or https://github.com/AppImage/AppImageKit … pGenerator
or https://github.com/wheybags/glibc_version_header
QElectroTech → Posts by scorpio810
Powered by PunBB, supported by Informer Technologies, Inc.
Generated in 0.077 seconds (31% PHP - 69% DB) with 5 queries