I'm using:
Code: Select all
OS: Ubuntu 20.04.5 LTS (XFCE/xfce)
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20.1)
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: English/United States (en_US)
Installed mods:
* A2plus 0.4.58
Once selecting a A2+ sub-assembly and clicking the black/orange update button I get the following error:
Code: Select all
16:05:03 Running the Python command 'rnp_Update_A2pParts' failed:
Traceback (most recent call last):
File "/home/mikael/.local/share/FreeCAD/Mod/A2plus/./CD_A2plusupdater.py", line 651, in Activated
funcs.selectfiles()
File "/home/mikael/.local/share/FreeCAD/Mod/A2plus/./CD_A2plusupdater.py", line 107, in selectfiles
self.secondrun(False)
File "/home/mikael/.local/share/FreeCAD/Mod/A2plus/./CD_A2plusupdater.py", line 133, in secondrun
self.runpostchange()
File "/home/mikael/.local/share/FreeCAD/Mod/A2plus/./CD_A2plusupdater.py", line 141, in runpostchange
self.findfeats_attempt1()
File "/home/mikael/.local/share/FreeCAD/Mod/A2plus/./CD_A2plusupdater.py", line 322, in findfeats_attempt1
newfeat = self.findnewedge_attempt1(d)
File "/home/mikael/.local/share/FreeCAD/Mod/A2plus/./CD_A2plusupdater.py", line 482, in findnewedge_attempt1
testdict_ = self.getedgebynum(num, g.shape2)
File "/home/mikael/.local/share/FreeCAD/Mod/A2plus/./CD_A2plusupdater.py", line 279, in getedgebynum
tstr = str(edge.Curve)
undefined curve type
The dialog below stays open and nothing happens after this.
- dialog.png (8.52 KiB) Viewed 793 times
-
Unfortunately because of the nature of the project I won't be able to share the project file in this case.
My guess is that the error occurs because of me selecting a sub assembly instead of a single part?