ENH: add the error codes return logic

1. write a json to the outputdir
2. including message/error code/plate id

Change-Id: If2a13a89d34982a86102162c9c968cdf60702f19
This commit is contained in:
lane.wei 2023-07-17 21:43:44 +08:00 committed by Lane.Wei
parent 903b6f0cb0
commit bb4f425027
4 changed files with 180 additions and 41 deletions

View file

@ -19,6 +19,9 @@ namespace Slic3r {
enum StringExceptionType {
STRING_EXCEPT_NOT_DEFINED = 0,
STRING_EXCEPT_FILAMENT_NOT_MATCH_BED_TYPE = 1,
STRING_EXCEPT_FILAMENTS_DIFFERENT_TEMP = 2,
STRING_EXCEPT_OBJECT_COLLISION_IN_SEQ_PRINT = 3,
STRING_EXCEPT_OBJECT_COLLISION_IN_LAYER_PRINT = 4,
STRING_EXCEPT_COUNT
};