Hi, maybe see https://kellylollardesigns.com/blogs/ne … svg-to-dxf

1,452

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

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

Hallo Olli,

you can't import image in element editor, but you could use DXF ASCII file with dxf2elmt plugins for quickly add complex draws in element editor.

What your python version?
In QET code qet_tb_generator launch path was hardcoded with python version 3.9.

https://github.com/qelectrotech/qelectr … .cpp#L2377


https://github.com/qelectrotech/qelectr … .cpp#L2433

On Apple Silicon M1/M2 try new bundle arm64 packages:

Need after for now:

codesign --force --deep --sign - /Applications/qelectrotech.app

BTW, sqlite3 export of project database didn't work yet with my new Brew arm64 (Apple silicon) packages, so if you want it use Intel X86_64 bundle dmg build with Macports Digikam script for create compil environment.

Compile and program works well, but if I use macdeployqt to make packaging bundle, bundle crash on launch time.
Long is the road .....


-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               qelectrotech [14278]
Path:                  /Applications/qelectrotech.app/Contents/MacOS/qelectrotech
Identifier:            org.qelectrotech
Version:               0.100.0 r7821 (???)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2023-02-06 12:58:50.0242 +0100
OS Version:            macOS 13.2 (22D49)
Report Version:        12
Anonymous UUID:        

Sleep/Wake UUID:       
Time Awake Since Boot: 6700 seconds
Time Since Wake:       3610 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))
Exception Codes:       UNKNOWN_0x32 at 0x00000001033f4000
Exception Codes:       0x0000000000000032, 0x00000001033f4000

Termination Reason:    Namespace CODESIGNING, Code 2 Invalid Page

EDIT: Ok some more progress here:
https://kubadownload.com/news/codesign-sign-app/

Todo:
https://eclecticlight.co/2019/01/17/cod … ng-an-app/
https://stackoverflow.com/questions/238 … ile-in-mac
https://stackoverflow.com/questions/426 … er-for-osx
https://wiki.freepascal.org/Notarizatio … 10.14.5%2B

https://github.com/crystalidea/macdeployqt-universal

Ok with:

codesign --force --deep --sign - /Applications/qelectrotech.app

Can't build QET with MacPorts and Digikam scripts, I have linking errors:
...........building for macOS-arm64 but attempting to link with file built for macOS-x86_64.. For All KF5 libs...

Ok! with Homebrew: ps: compile QET on mini M2 8Go 256Go take 60 s. BUT I can't provide export database with sqlite3

The time of compilation is 1 min 2 sec

12:35:04.709 Info: Elements collection finished to be loaded in 0.651 seconds

:33:55.114 Info: Start-up 
12:33:55.122 Info: debugging enabled: false 
12:33:55.122 Info: Qt library version: 5.15.8 
12:33:55.122 Info: Qt library location default prefix: "/opt/homebrew/Cellar/qt@5/5.15.8_1" 
12:33:55.122 Info: Qt library location documentation: "/opt/homebrew/Cellar/qt@5/5.15.8_1/doc" 
12:33:55.122 Info: Qt library location headers: "/opt/homebrew/Cellar/qt@5/5.15.8_1/include" 
12:33:55.123 Info: Qt library location libraries: "/opt/homebrew/Cellar/qt@5/5.15.8_1/lib" 
12:33:55.123 Info: Qt library location executables: "/opt/homebrew/Cellar/qt@5/5.15.8_1/libexec" 
12:33:55.123 Info: Qt library location Qt binaries: "/opt/homebrew/Cellar/qt@5/5.15.8_1/bin" 
12:33:55.123 Info: Qt library location Qt plugins: "/opt/homebrew/Cellar/qt@5/5.15.8_1/plugins" 
12:33:55.123 Info: Qt library location installed QML extensions: "/opt/homebrew/Cellar/qt@5/5.15.8_1/imports" 
12:33:55.123 Info: Qt library location installed QML extensions: "/opt/homebrew/Cellar/qt@5/5.15.8_1/qml" 
12:33:55.123 Info: Qt library location dependent Qt data: "/opt/homebrew/Cellar/qt@5/5.15.8_1" 
12:33:55.123 Info: Qt library location independent Qt data: "/opt/homebrew/Cellar/qt@5/5.15.8_1" 
12:33:55.123 Info: Qt library location translation: "/opt/homebrew/Cellar/qt@5/5.15.8_1/translations" 
12:33:55.123 Info: Qt library location examples: "/opt/homebrew/Cellar/qt@5/5.15.8_1/examples" 
12:33:55.123 Info: Qt library location Qt testcases: "/opt/homebrew/Cellar/qt@5/5.15.8_1/tests" 
12:33:55.123 Info: Qt library location Qt settings: "/Library/Preferences/Qt" 
12:33:55.123 Info: "GitRevision 6e60842d6980f9d393bf234ccc4bc4963c62f720" 
12:33:55.123 Info: "QElectroTech V 0.100.0-dev" 
12:33:55.123 Info: "Compilation : CLANG 14.0.0 (clang-1400.0.29.202)" 
12:33:55.123 Info: "Built with Qt 5.15.8 - arm64 - Date : Feb  6 2023 : 12:13:31" 
12:33:55.123 Info: "Run with Qt 5.15.8 using 8 thread(s)" 
12:33:55.123 Info: "CPU : Apple M2\n" 
12:33:55.123 Info: "RAM Total : 8 GB" 
12:33:55.123 Info: "" 
12:33:55.123 Info: "GPU : " 
12:33:55.123 Info: "GPU RAM : " 
12:33:55.123 Info: "OS : darwin  - arm64 - Version : macOS 13.2 - Kernel : 22.3.0" 
12:33:55.123 Info: *** Qt screens *** 
12:33:55.123 Info: "( 1 : 3840 x 2160 )" 
12:33:55.152 Debug: isReadOnly: true (../sources/machine_info.cpp:161, void MachineInfo::send_info_to_debug())
12:33:55.152 Info: DISK : /   
12:33:55.153 Info: FileSystemType: "apfs" 
12:33:55.153 Info: SizeTotal: 245 GB 
12:33:55.153 Info: AvailableSize: 181 GB 
12:33:55.153 Debug: isReadOnly: true (../sources/machine_info.cpp:161, void MachineInfo::send_info_to_debug())
12:33:55.153 Info: DISK : /Volumes/qelectrotech   
12:33:55.153 Info: FileSystemType: "apfs" 
12:33:55.153 Info: SizeTotal: 0 GB 
12:33:55.153 Info: AvailableSize: 0 GB 
12:33:55.153 Debug: isReadOnly: true (../sources/machine_info.cpp:172, void MachineInfo::send_info_to_debug())
12:33:55.153 Info: DISK USED: /   
12:33:55.153 Info: FileSystemType: "apfs" 
12:33:55.153 Info: SizeTotal: 245 GB 
12:33:55.153 Info: AvailableSize: 181 GB 
12:33:55.310 Info: Elements collection reload 
12:33:55.321 Info: Elements collection finished to be loaded in 0.011 seconds 
12:35:03.838 Info: Start-up 
12:35:03.845 Info: debugging enabled: false 
12:35:03.845 Info: Qt library version: 5.15.8 
12:35:03.846 Info: Qt library location default prefix: "/opt/homebrew/Cellar/qt@5/5.15.8_1" 
12:35:03.846 Info: Qt library location documentation: "/opt/homebrew/Cellar/qt@5/5.15.8_1/doc" 
12:35:03.846 Info: Qt library location headers: "/opt/homebrew/Cellar/qt@5/5.15.8_1/include" 
12:35:03.846 Info: Qt library location libraries: "/opt/homebrew/Cellar/qt@5/5.15.8_1/lib" 
12:35:03.846 Info: Qt library location executables: "/opt/homebrew/Cellar/qt@5/5.15.8_1/libexec" 
12:35:03.846 Info: Qt library location Qt binaries: "/opt/homebrew/Cellar/qt@5/5.15.8_1/bin" 
12:35:03.846 Info: Qt library location Qt plugins: "/opt/homebrew/Cellar/qt@5/5.15.8_1/plugins" 
12:35:03.846 Info: Qt library location installed QML extensions: "/opt/homebrew/Cellar/qt@5/5.15.8_1/imports" 
12:35:03.846 Info: Qt library location installed QML extensions: "/opt/homebrew/Cellar/qt@5/5.15.8_1/qml" 
12:35:03.846 Info: Qt library location dependent Qt data: "/opt/homebrew/Cellar/qt@5/5.15.8_1" 
12:35:03.846 Info: Qt library location independent Qt data: "/opt/homebrew/Cellar/qt@5/5.15.8_1" 
12:35:03.846 Info: Qt library location translation: "/opt/homebrew/Cellar/qt@5/5.15.8_1/translations" 
12:35:03.846 Info: Qt library location examples: "/opt/homebrew/Cellar/qt@5/5.15.8_1/examples" 
12:35:03.846 Info: Qt library location Qt testcases: "/opt/homebrew/Cellar/qt@5/5.15.8_1/tests" 
12:35:03.846 Info: Qt library location Qt settings: "/Library/Preferences/Qt" 
12:35:03.846 Info: "GitRevision 6e60842d6980f9d393bf234ccc4bc4963c62f720" 
12:35:03.846 Info: "QElectroTech V 0.100.0-dev" 
12:35:03.846 Info: "Compilation : CLANG 14.0.0 (clang-1400.0.29.202)" 
12:35:03.846 Info: "Built with Qt 5.15.8 - arm64 - Date : Feb  6 2023 : 12:13:31" 
12:35:03.846 Info: "Run with Qt 5.15.8 using 8 thread(s)" 
12:35:03.846 Info: "CPU : Apple M2\n" 
12:35:03.846 Info: "RAM Total : 8 GB" 
12:35:03.846 Info: "" 
12:35:03.846 Info: "GPU : " 
12:35:03.846 Info: "GPU RAM : " 
12:35:03.846 Info: "OS : darwin  - arm64 - Version : macOS 13.2 - Kernel : 22.3.0" 
12:35:03.847 Info: *** Qt screens *** 
12:35:03.847 Info: "( 1 : 3840 x 2160 )" 
12:35:03.847 Debug: isReadOnly: true (../sources/machine_info.cpp:161, void MachineInfo::send_info_to_debug())
12:35:03.847 Info: DISK : /   
12:35:03.847 Info: FileSystemType: "apfs" 
12:35:03.847 Info: SizeTotal: 245 GB 
12:35:03.847 Info: AvailableSize: 181 GB 
12:35:03.847 Debug: isReadOnly: true (../sources/machine_info.cpp:161, void MachineInfo::send_info_to_debug())
12:35:03.847 Info: DISK : /Volumes/qelectrotech   
12:35:03.847 Info: FileSystemType: "apfs" 
12:35:03.847 Info: SizeTotal: 0 GB 
12:35:03.847 Info: AvailableSize: 0 GB 
12:35:03.847 Debug: isReadOnly: true (../sources/machine_info.cpp:172, void MachineInfo::send_info_to_debug())
12:35:03.847 Info: DISK USED: /   
12:35:03.847 Info: FileSystemType: "apfs" 
12:35:03.847 Info: SizeTotal: 245 GB 
12:35:03.847 Info: AvailableSize: 181 GB 
12:35:04.056 Info: Elements collection reload 
12:35:04.709 Info: Elements collection finished to be loaded in 0.651 seconds 

https://download.qelectrotech.org/qet/forum_img_2/Capture%20d%e2%80%99%c3%a9cran%202023-02-06%20%c3%a0%2012.37.32.png

https://download.qelectrotech.org/qet/forum_img_2/Capture%20d%e2%80%99%c3%a9cran%202023-02-06%20%c3%a0%2012.48.52.png

1,458

(18 replies, posted in Elements)

Hello Rudolph,

merged, thanks.

Try with pip3 command:

pip3 install qet_tb_generator

Hi,

uninstall python 3.11 and try with python 3.9

Just tried on macOS Ventura:

 pip3 install qet_tb_generator  
Defaulting to user installation because normal site-packages is not writeable
Collecting qet_tb_generator
  Downloading qet_tb_generator-1.3.1-py3-none-any.whl (393 kB)
     |████████████████████████████████| 393 kB 4.2 MB/s 
Requirement already satisfied: PySimpleGUI in /Library/Python/3.9/site-packages (from qet_tb_generator) (4.60.4)
Installing collected packages: qet-tb-generator
  WARNING: The script qet_tb_generator is installed in '/Users/laurent/Library/Python/3.9/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed qet-tb-generator-1.3.1
WARNING: You are using pip version 21.2.4; however, version 23.0 is available.
You should consider upgrading via the '/Applications/Xcode.app/Contents/Developer/usr/bin/python3 -m pip install --upgrade pip' command.

Hi,

maybe it is not available for python 3.11?
otherwise you have exe package here : https://download.qelectrotech.org/qet/b … generator/
Or here  https://download.qelectrotech.org/qet/b … rator_win/

Position du folio serait préférable.

Hi,

you can import it as picture image in diagrams.
https://download.qelectrotech.org/qet/m … cture.html

1,464

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

Added to official collection, thanks.

1,465

(5 replies, posted in News)

QElectroTech 0.90 is now released on Chocolatey software management automation for Windows. (QElectroTech 0.90.7758)
https://community.chocolatey.org/packages/qet


Many thanks to you Erich.

Enjoy! nomicons/wink

1,466

(18 replies, posted in Elements)

Pushed to 0.9.0 branch
https://git.tuxfamily.org/qet/qet.git/c … bdad055e82
https://git.tuxfamily.org/qet/qet.git/c … 6e787738bb

                100%
0[=====================] 700 €
 

They used the Donate button:
Thanks:

Mauro (IT)
Marco (CH)
Bernd (DE)
Jean (FR)
Anastasios  (EL)
Krystian (PL)
Philipp (DE)
Jean Pierre (BE)
Jacobo (ES)
Fabrice (FR)
Immanuel (DE)
Marcel (DE)
Miguel (PER)
Johannes (DE)
Marcel (DE)
Antonio (ES)
Ruben (DE)
Andre (DE)

1,468

(18 replies, posted in Elements)

Hello Vbxier,

merged, thanks.

1,469

(0 replies, posted in Videos howto)

1,470

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

Please make warning if you link by reports yours conductors:
https://qelectrotech.org/forum/viewtopi … 88&p=2

1,471

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

Enable this rules at all folios, and draw conductors, the wire numbering is start to 1 through folio.
https://download.qelectrotech.org/qet/forum_img_2/autonum_number_folio.png

1,472

(17 replies, posted in Elements)

I think it's here:
https://github.com/qelectrotech/qelectr … 3ea8c55daf

1,473

(17 replies, posted in Elements)

Hmm! ok on the 0.7 AppImage, not on 0.8 AppImage ...
https://download.qelectrotech.org/qet/forum_img_2/hotspot_calcul_0.7.png

1,474

(17 replies, posted in Elements)

Yes, I think it does not calculate the extreme position of the ARC primitive, is the case if we stretch the arc into an ellipse :
https://github.com/qelectrotech/qelectr … e.cpp#L405
https://github.com/qelectrotech/qelectr … t.cpp#L249

Ctrl + A for selected all parts, is wrong!
https://download.qelectrotech.org/qet/forum_img_2/hotspot_calcul.png

1,475

(17 replies, posted in Elements)

Hotspot miscalculated the rounding of the arc, a workaroud is to add 2 invisible little line on the two arc center...for the moment.