-
Notifications
You must be signed in to change notification settings - Fork 72
Closed
Labels
Description
There are certain places in the SheetMetalUnfolder.py that are missing error codes.
FreeCAD_SheetMetal/SheetMetalUnfolder.py
Lines 131 to 133 in 9bf7bac
| # TODO: Error Codes | |
| # - Put error numbers into the text | |
| # - Put user help into more texts |
FreeCAD_SheetMetal/SheetMetalUnfolder.py
Lines 1859 to 1860 in 9bf7bac
| else: | |
| print('FIXME! make errorcondition') |
FreeCAD_SheetMetal/SheetMetalUnfolder.py
Lines 1510 to 1513 in 9bf7bac
| if vert0Idx is None: | |
| #print 'catastrophy: ', fEdge.Vertexes[0].Point, ' ', fEdge.Vertexes[1].Point, ' ', eType | |
| Part.show(fEdge, 'catastrophyEdge') | |
| # FIXME, need proper failure mode. |
FreeCAD_SheetMetal/SheetMetalUnfolder.py
Lines 783 to 785 in 9bf7bac
| if oppoPoint is None: | |
| print(' error need always an opposite point in a side face!') | |
| # FIXME: need a proper error condition. |