When trying to add a screw or nut to a design the following error appears, and the part shows error.
Parts without thread like washer seems to work.
The Report View show:
15:52:21 pyException: Traceback (most recent call last):
File "C:\Users\gmi\AppData\Roaming\FreeCAD\Mod\fasteners\.\FastenersCmd.py", line 780, in execute
s = screwMaker.createFastener(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\gmi\AppData\Roaming\FreeCAD\Mod\fasteners\.\ScrewMaker.py", line 641, in createFastener
return self.createScrew(func, fastenerAttribs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\gmi\AppData\Roaming\FreeCAD\Mod\fasteners\.\screw_maker.py", line 153, in createScrew
screw = eval(function)
^^^^^^^^^^^^^^
File "<string>", line 1, in <module>
File "C:\Users\gmi\AppData\Roaming\FreeCAD\Mod\fasteners\.\FsFunctions\FSmakeHexNut.py", line 101, in makeHexNut
if fa.thread:
^^^^^^^^^
<class 'AttributeError'>: 'FSScrewObject' object has no attribute 'thread'
15:52:21 Nut: 'FSScrewObject' object has no attribute 'thread'
FC details:
OS: Windows 11 build 22631
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.37841 (Git)
Build type: Release
Branch: main
Hash: 5f761c758e2a0164b00a7183b9c0cbe32688e123
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: Danish/Denmark (da_DK)
Installed mods:
When trying to add a screw or nut to a design the following error appears, and the part shows error.
Parts without thread like washer seems to work.
The Report View show:
FC details: