ENH: CLI: add more logic to improve slicing

1. only report slicing error when no-check not set
2. skip duplicate when under spiral_mode with by-layer print

JIRA: STUDIO-XXX
Change-Id: I03bf7f45b4cc43dcc1fd2ffb6b53321fe3324dad
This commit is contained in:
lane.wei 2023-09-23 16:40:55 +08:00 committed by Lane.Wei
parent ec35d210ce
commit 59061f912b
2 changed files with 18 additions and 10 deletions

View file

@ -56,7 +56,7 @@
#define CLI_FILAMENTS_DIFFERENT_TEMP -62
#define CLI_OBJECT_COLLISION_IN_SEQ_PRINT -63
#define CLI_OBJECT_COLLISION_IN_LAYER_PRINT -64
#define CLI_SPIRAL_MODE_CANNOT_DUPLICATE -65
#define CLI_SPIRAL_MODE_INVALID_PARAMS -65
#define CLI_SLICING_ERROR -100
#define CLI_GCODE_PATH_CONFLICTS -101