Skip to content

Commit

Permalink
Fix secondary brim generation (#2044)
Browse files Browse the repository at this point in the history
  • Loading branch information
casperlamboo authored Mar 11, 2024
2 parents 0985117 + 8d297ec commit 6a8e116
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/SkirtBrim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -508,15 +508,15 @@ void SkirtBrim::generateSecondarySkirtBrim(Polygons& covered_area, std::vector<P
if (first)
{
ref_polys_or_idx = &reference_outline;
offset_from_reference = extruder_config.line_width_ / 2;
offset_from_reference = extruder_config.line_width_ / 2 + extruder_config.gap_;
}
else
{
ref_polys_or_idx = static_cast<int>(storage_.skirt_brim[extruder_nr].size() - 1);
offset_from_reference = extruder_config.line_width_;
}
constexpr bool outside_polys = true;
constexpr bool inside_polys = true; // The reference outline may contain both outlines and hole polygons.
const bool outside_polys = extruder_config.outside_polys_;
const bool inside_polys = extruder_config.inside_polys_;
Offset extra_offset(
ref_polys_or_idx,
outside_polys,
Expand Down

0 comments on commit 6a8e116

Please sign in to comment.