Greetings all,
This is my first forum post. Many thanks to every contributor that has made FreeCAD what it is today.
I’ve been reading the forum and learning FreeCAD for about 2 months. It's a wonderful tool.
I believe I found a bug in the weekly ( v0.21.29321 (Git) AppImage ) while practicing Zolko’s Assembly 4 tutorial #2:
Steps to reproduce the bug:
1. Open FreeCAD
2. File -> Open -> asm_tuto2.FCStd
3. Switch to Assembly 4 WB
4. Click Animate Assembly icon in assembly toolbar
5. Select the variable Angle_disk
6. Choose 40 and 400 as Begin and End values
7. Choose 1 as Step and 0 for Sleep
8. Click Run button
Expected result:
Assembly animates at least one iteration
Actual result:
No animation at all. When Animate Assembly Variable field is populated with Angle_disk, error messages show in Report view. ( See below )
Report View Error Messages:
Error logs from terminal ( ./FreeCAD.appimage -l ):
Code: Select all
Traceback (most recent call last):
File "/home/bob/.local/share/FreeCAD/Mod/Assembly4/./AnimationLib.py", line 387, in sliderMoved
self.setVarValue(varName, varValue)
File "/home/bob/.local/share/FreeCAD/Mod/Assembly4/./AnimationLib.py", line 350, in setVarValue
self.rootAssembly.recompute('True')
TypeError: argument 1 must be bool, not str
Traceback (most recent call last):
File "/home/bob/.local/share/FreeCAD/Mod/Assembly4/./AnimationLib.py", line 387, in sliderMoved
self.setVarValue(varName, varValue)
File "/home/bob/.local/share/FreeCAD/Mod/Assembly4/./AnimationLib.py", line 350, in setVarValue
self.rootAssembly.recompute('True')
TypeError: argument 1 must be bool, not str
I was able to successfully animate the assembly in the latest official release ( v0.20.29177 (Git) AppImage ). And that is why I believe it's a bug.
If this turns out to be a bug, should I submit a bug report?
Cheers,
Code: Select all
OS: Ubuntu 20.04.4 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.29321 (Git) AppImage
Build type: Release
Branch: master
Hash: 8ee773362e08d703bce9cfdcefd8e4ad424a7d44
Python 3.10.5, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: English/United States (en_US)
Installed mods:
* Assembly4 0.12.0
* DynamicData 2.46.0
* dodo (Disabled)