Skip to content

Commit

Permalink
Brim should be printed outside to inside
Browse files Browse the repository at this point in the history
  • Loading branch information
jellespijker committed Mar 6, 2023
1 parent d866140 commit f66ed64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FffGcodeWriter.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2022 Ultimaker B.V.
// Copyright (c) 2023 UltiMaker
// CuraEngine is released under the terms of the AGPLv3 or higher

#include <algorithm>
Expand Down Expand Up @@ -1245,7 +1245,7 @@ void FffGcodeWriter::processSkirtBrim(const SliceDataStorage& storage, LayerPlan
}

const Settings& global_settings = Application::getInstance().current_slice->scene.current_mesh_group->settings;
bool inner_to_outer = global_settings.get<EPlatformAdhesion>("adhesion_type") == EPlatformAdhesion::BRIM && // for skirt outer to inner is faster
bool inner_to_outer = global_settings.get<EPlatformAdhesion>("adhesion_type") != EPlatformAdhesion::BRIM && // for skirt outer to inner is faster
train.settings.get<coord_t>("brim_gap") < line_w; // for a large brim gap it's not so bad for the overextrudate to propagate inward.
std::unordered_multimap<ConstPolygonPointer, ConstPolygonPointer> order_requirements;
for (const std::pair<SquareGrid::GridPoint, SparsePointGridInclusiveImpl::SparsePointGridInclusiveElem<BrimLineReference>>& p : grid)
Expand Down

0 comments on commit f66ed64

Please sign in to comment.