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

@ -49,6 +49,11 @@
#define CLI_SLICING_TIME_EXCEEDS_LIMIT -58
#define CLI_TRIANGLE_COUNT_EXCEEDS_LIMIT -59
#define CLI_NO_SUITABLE_OBJECTS_AFTER_SKIP -60
#define CLI_FILAMENT_NOT_MATCH_BED_TYPE -61
#define CLI_FILAMENTS_DIFFERENT_TEMP -62
#define CLI_OBJECT_COLLISION_IN_SEQ_PRINT -63
#define CLI_OBJECT_COLLISION_IN_LAYER_PRINT -64
#define CLI_SLICING_ERROR -100
#define CLI_GCODE_PATH_CONFLICTS -101