mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
ENH: don't calculate overhang degree if disable overhang slow down
When the model has no overhang, user may disable overhang slowing down. In this case, it's unnecessary to calculate overhang degree which make slicing slow when model is complex. This is improvement for github issue #331. Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: I2eaeca3ee4068f76709fe97535bbf05c0d27c062
This commit is contained in:
parent
81da77d1e0
commit
fd0f22b771
2 changed files with 33 additions and 15 deletions
|
@ -779,6 +779,8 @@ bool PrintObject::invalidate_state_by_config_options(
|
|||
|| opt_key == "fuzzy_skin_thickness"
|
||||
|| opt_key == "fuzzy_skin_point_distance"
|
||||
|| opt_key == "detect_overhang_wall"
|
||||
//BBS
|
||||
|| opt_key == "enable_overhang_speed"
|
||||
|| opt_key == "detect_thin_wall") {
|
||||
steps.emplace_back(posPerimeters);
|
||||
steps.emplace_back(posSupportMaterial);
|
||||
|
@ -794,8 +796,6 @@ bool PrintObject::invalidate_state_by_config_options(
|
|||
opt_key == "seam_position"
|
||||
|| opt_key == "support_speed"
|
||||
|| opt_key == "support_interface_speed"
|
||||
//BBS
|
||||
|| opt_key == "enable_overhang_speed"
|
||||
|| opt_key == "overhang_1_4_speed"
|
||||
|| opt_key == "overhang_2_4_speed"
|
||||
|| opt_key == "overhang_3_4_speed"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue