Running the Python command 'Draft_SelectPlane' failed:
Traceback (most recent call last):
File "/Applications/FreeCAD Weeekly.app/Contents/Resources/Mod/Draft/draftguitools/gui_selectplane.py", line 138, in Activated
if self.handle():
^^^^^^^^^^^^^
File "/Applications/FreeCAD Weeekly.app/Contents/Resources/Mod/Draft/draftguitools/gui_selectplane.py", line 215, in handle
FreeCAD.DraftWorkingPlane.alignToFace(sel.SubObjects[0],
File "/Applications/FreeCAD Weeekly.app/Contents/Resources/Mod/Draft/WorkingPlane.py", line 579, in alignToFace
if shape.ShapeType == 'Face':
^^^^^^^^^^^^^^^
cannot determine type of null shape
Draft SelectPlane will work again by saving the file, closing the file, and reopening the file. But after modifying the file by adding or moving an object the error will reappear until I reopen the file again.
I'm running macOS arm but I was able to recreate the bug on Windows x86_64. Here is a video of the error. In the video you can see that Draft SelectPlane is working but after adding an object it breaks. Is it possible that my file got corrupted, even though the issue goes away after reopening the file?
Code: Select all
OS: macOS 13.1
Word size of FreeCAD: 64-bit
Version: 0.21.0.31483 (Git)
Build type: Release
Branch: master
Hash: 588620fd9fd138892b1cd2466f5c87d441493174
Python 3.11.0, Qt 5.15.6, Coin 4.0.0, Vtk 9.2.2, OCC 7.6.3
Locale: C/Default (C)
Installed mods:
* BIM 2021.12.0
* Help 1.0.3
Code: Select all
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.0.31709 (Git)
Build type: Release
Branch: master
Hash: e188802ca6997d2564e7570ab648462e6a059f87
Python 3.8.15, Qt 5.15.6, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US)