mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-29 09:33:57 -06:00
Fix infill anchor missing (#9407)
* Fix infill anchor missing * Correctly process cases without fill lines in FillRectilinear::fill_surface_with_multilines() * Fix infill anchor missing for several other infill patterns * Fix infill anchor missing for rectilinear and aligned rectilinear infill pattern --------- Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
This commit is contained in:
parent
d1c2368eee
commit
66cab434b8
9 changed files with 36 additions and 33 deletions
|
@ -1787,6 +1787,18 @@ void Fill::connect_infill(Polylines &&infill_ordered, const std::vector<const Po
|
|||
polylines_out.emplace_back(std::move(pl));
|
||||
}
|
||||
|
||||
void Fill::chain_or_connect_infill(Polylines &&infill_ordered, const ExPolygon &boundary, Polylines &polylines_out, const double spacing, const FillParams ¶ms)
|
||||
{
|
||||
if (!infill_ordered.empty()) {
|
||||
if (params.dont_connect()) {
|
||||
if (infill_ordered.size() > 1)
|
||||
infill_ordered = chain_polylines(std::move(infill_ordered));
|
||||
append(polylines_out, std::move(infill_ordered));
|
||||
} else
|
||||
connect_infill(std::move(infill_ordered), boundary, polylines_out, spacing, params);
|
||||
}
|
||||
}
|
||||
|
||||
// Extend the infill lines along the perimeters, this is mainly useful for grid aligned support, where a perimeter line may be nearly
|
||||
// aligned with the infill lines.
|
||||
static inline void base_support_extend_infill_lines(Polylines &infill, BoundaryInfillGraph &graph, const double spacing, const FillParams ¶ms)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue