Create a hole with a diameter of 100mm (users can do strange things... :wink:)
Select the circular edge.
Insert a fastener, for example DIN571.
Result: Error message see below.
21:53:37 pyException: Traceback (most recent call last):
File "C:\Users\Name\AppData\Roaming\FreeCAD\Mod\fasteners\.\FastenersCmd.py", line 669, in execute
self.calc_diam = screwMaker.AutoDiameter(
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Name\AppData\Roaming\FreeCAD\Mod\fasteners\.\ScrewMaker.py", line 487, in AutoDiameter
return res
^^^
<class 'UnboundLocalError'>: cannot access local variable 'res' where it is not associated with a value
21:53:37 Screw: cannot access local variable 'res' where it is not associated with a value