It looks like with OCC V7.2 (FreeCad 0.17 & up) there are some issues with creating nuts with real threads.
For example M4 or M5 nut, Iso 4032. the error I get:
Code: Select all
Traceback (most recent call last):
File "C:/Users/shaise/Documents/Personal/freecad/FreeCAD_Macros/ScrewMaker.FCMacro", line 1951, in guiCreateScrew
myObj = self.theScrew.createScrew(ST_text, ND_text, NL_text, threadType)
File "C:/Users/shaise/Documents/Personal/freecad/FreeCAD_Macros/ScrewMaker.FCMacro", line 2365, in createScrew
screw = self.makeIso4032(ST_text, ND_text)
File "C:/Users/shaise/Documents/Personal/freecad/FreeCAD_Macros/ScrewMaker.FCMacro", line 4836, in makeIso4032
nutShell = Part.Shell(nutFaces)
Part.OCCError: Shape is not a shell