Assembly3 preview

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Assembly3 preview

Post by triplus »

App::Link functionality should already be included in the daily AppImage:

https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre
HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: Assembly3 preview

Post by HoWil »

triplus wrote: Fri Aug 23, 2019 2:16 am App::Link functionality should already be included in the daily AppImage:

https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre
Thanks... 0.19_pre worked great.
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Assembly3 preview

Post by triplus »

HoWil wrote: Fri Aug 23, 2019 11:29 am Thanks... 0.19_pre worked great.
You're welcome.
aapo
Posts: 615
Joined: Mon Oct 29, 2018 6:41 pm

Re: Assembly3 preview

Post by aapo »

realthunder wrote: Fri Aug 09, 2019 1:25 pm Right, asm3 actually works in the LinkMerge branch. I'll soon make some changes so that it can be installed through the add-on manager.
Does this also mean that the possibility to install the Asm3 workbench is going to just appear in the Addons manager for the v0.19_pre binaries without any extra configuration needed from the user's part? If so, I'd be quite excited to try it out just because I'd be quite curious to learn what can be done with it! :D
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: Assembly3 preview

Post by looo »

I am recently trying asm3 with FreeCAD master and see some errors with qt5.12 (qt5.9 has no such issues)

Code: Select all

<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x25d00000000)  at 0x7f238934a4c8>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26000000000)  at 0x7f2394862bc8>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26300000000)  at 0x7f237d6bab48>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26b00000000)  at 0x7f23957b3148>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26b00000000)  at 0x7f23957b3148>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x27c00000000)  at 0x7f23957b7908>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x28f00000000)  at 0x7f2314074088>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x25d00000000)  at 0x7f238934a4c8>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26000000000)  at 0x7f2394862bc8>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26300000000)  at 0x7f237d6bab48>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26b00000000)  at 0x7f23957b3148>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26b00000000)  at 0x7f23957b3148>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x27c00000000)  at 0x7f23957b7908>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x26700000000)  at 0x7f238915d788>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x28f00000000)  at 0x7f2314074088>
results in tree icons look like this:
Bildschirmfoto von 2019-08-27 18-26-38.png
Bildschirmfoto von 2019-08-27 18-26-38.png (13.79 KiB) Viewed 3218 times
Would be nice to solve this as appimage and dmg were changed to qt5.12 just now.
User avatar
Zolko
Veteran
Posts: 2213
Joined: Mon Dec 17, 2018 10:02 am

Re: Assembly3 preview

Post by Zolko »

triplus wrote: Fri Aug 23, 2019 2:16 am App::Link functionality should already be included in the daily AppImage:
https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre
no AppImage for Linux there :cry:
try the Assembly4 workbench for FreCAD — tutorials here and here
realthunder
Veteran
Posts: 2190
Joined: Tue Jan 03, 2017 10:55 am

Re: Assembly3 preview

Post by realthunder »

looo wrote: Tue Aug 27, 2019 4:30 pm I am recently trying asm3 with FreeCAD master and see some errors with qt5.12 (qt5.9 has no such issues)
Thanks for reporting. Should have been fixed. Maybe you can try with my LinkMerge branch first.
Try Assembly3 with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
realthunder
Veteran
Posts: 2190
Joined: Tue Jan 03, 2017 10:55 am

Re: Assembly3 preview

Post by realthunder »

Zolko wrote: Tue Aug 27, 2019 9:32 pm no AppImage for Linux there :cry:
Is your asm4 still using expression binding for placement? The upstream expression cannot call into objects. I have already prepare a PR to make it possible to do matrix multiplication just like numbers. After my bug fix PR got accepted, I'll submit the expression PR.
Try Assembly3 with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: Assembly3 preview

Post by looo »

Zolko wrote: Tue Aug 27, 2019 9:32 pm no AppImage for Linux there :cry:
I made a mistake with adding solvespace to the bundles. Next build (today) hopefully solves this.
ascaron
Posts: 15
Joined: Sat Jun 01, 2019 3:59 pm

Re: Assembly3 preview

Post by ascaron »

realthunder wrote: Wed Aug 28, 2019 12:11 am
looo wrote: Tue Aug 27, 2019 4:30 pm I am recently trying asm3 with FreeCAD master and see some errors with qt5.12 (qt5.9 has no such issues)
Thanks for reporting. Should have been fixed. Maybe you can try with my LinkMerge branch first.
On master with your PR as well as with your LinkMerge branch I still get the errors:

Code: Select all

<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x1a600000000)  at 0x7fef66996e10>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x1a600000000)  at 0x7fef66996e10>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x1a600000000)  at 0x7fef66996e10>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x1a600000000)  at 0x7fef66996e10>
<class 'TypeError'>: PyCXX: Error creating object of type N2Py7SeqBaseINS_4CharEEE from <PySide2.QtGui.QIcon(availableSizes[normal,Off]=(),cacheKey=0x27500000000)  at 0x7fef65828f50>
OS: Manjaro Linux (dwm/dwm)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17913 (Git)
Build type: Release
Branch: LinkMerge
Hash: efb8502a9bc61764559bde94bb5fb57771defc6c
Python version: 3.7.4
Qt version: 5.13.0
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
Post Reply