ENH: add back even-odd mode

Add back even-odd mode to support slicing 3DLabPrint
airplane models

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Id3efcfb0ecf98350add7a19885750df74d4fdedd
(cherry picked from commit 553371e61e35355b3a73694d4cf9acb179b2a427)
This commit is contained in:
salt.wei 2022-10-26 16:20:18 +08:00 committed by Lane.Wei
parent 5791ca7e8d
commit c1599aa138
7 changed files with 28 additions and 12 deletions

View file

@ -703,7 +703,8 @@ bool PrintObject::invalidate_state_by_config_options(
|| opt_key == "adaptive_layer_height"
|| opt_key == "raft_layers"
|| opt_key == "raft_contact_distance"
|| opt_key == "slice_closing_radius") {
|| opt_key == "slice_closing_radius"
|| opt_key == "slicing_mode") {
steps.emplace_back(posSlice);
} else if (
opt_key == "elefant_foot_compensation"