Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/CuraEngine.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Kuipers <t.kuipers@ultimaker.com>2022-03-25 11:08:42 +0300
committerTim Kuipers <t.kuipers@ultimaker.com>2022-03-25 11:08:42 +0300
commit256acd6d1eaec5286a675020973c6acb773d2353 (patch)
treee13fe2cc891596c668e618e471c05520d2538a69
parent22c085a7f339772e699df90ba1f43c5eb196e556 (diff)
remove center_last functionalitycenter_last_setting
We decided there is no real use for this as a user setting. The center walls are currently always printed after their enclosing walls. Printing all center walls after all normal walls means that all the centers and normal walls aren't interspersed. This was hypothesized to lead to less flow changes during printing of the walls. However, we didn't want to test this and we didn't want to confuse the user with more settings.
-rw-r--r--src/InsetOrderOptimizer.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/InsetOrderOptimizer.cpp b/src/InsetOrderOptimizer.cpp
index d78e508d8..6c3bfc1b5 100644
--- a/src/InsetOrderOptimizer.cpp
+++ b/src/InsetOrderOptimizer.cpp
@@ -54,7 +54,6 @@ bool InsetOrderOptimizer::addToLayer()
// Settings & configs:
const bool pack_by_inset = ! settings.get<bool>("optimize_wall_printing_order");
const InsetDirection inset_direction = settings.get<InsetDirection>("inset_direction");
- const bool center_last = settings.get<bool>("wall_order_center_last");
const bool alternate_walls = settings.get<bool>("material_alternate_walls");
const bool outer_to_inner = inset_direction == InsetDirection::OUTSIDE_IN;
@@ -129,23 +128,6 @@ bool InsetOrderOptimizer::addToLayer()
getInsetOrder(walls_to_be_added, outer_to_inner)
: getRegionOrder(walls_to_be_added, outer_to_inner);
- if (center_last)
- {
- for (const ExtrusionLine* line : walls_to_be_added)
- {
- if (line->is_odd)
- {
- for (const ExtrusionLine* other_line : walls_to_be_added)
- {
- if ( ! other_line->is_odd)
- {
- order.emplace(std::make_pair(other_line, line));
- }
- }
- }
- }
- }
-
constexpr Ratio flow = 1.0_r;
bool added_something = false;