Skip to content

Add missing error codes to SheetMetalUnfolder.py #98

@luzpaz

Description

@luzpaz

There are certain places in the SheetMetalUnfolder.py that are missing error codes.

# TODO: Error Codes
# - Put error numbers into the text
# - Put user help into more texts

else:
print('FIXME! make errorcondition')

if vert0Idx is None:
#print 'catastrophy: ', fEdge.Vertexes[0].Point, ' ', fEdge.Vertexes[1].Point, ' ', eType
Part.show(fEdge, 'catastrophyEdge')
# FIXME, need proper failure mode.

if oppoPoint is None:
print(' error need always an opposite point in a side face!')
# FIXME: need a proper error condition.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions