mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
ENH: reroder the path seq for concentric fill pattern
Signed-off-by: qing.zhang <qing.zhang@bambulab.com> Change-Id: I06bb9c5666e2205364d7031815e868eccfee6fd5
This commit is contained in:
parent
6ca5df9118
commit
99eee4a2d6
4 changed files with 20 additions and 2 deletions
|
@ -5,6 +5,7 @@
|
|||
#include "Arachne/WallToolPaths.hpp"
|
||||
|
||||
#include "FillConcentric.hpp"
|
||||
#include <libslic3r/ShortestPath.hpp>
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
|
@ -133,6 +134,8 @@ void FillConcentric::_fill_surface_single(const FillParams& params,
|
|||
}
|
||||
if (j < thick_polylines_out.size())
|
||||
thick_polylines_out.erase(thick_polylines_out.begin() + int(j), thick_polylines_out.end());
|
||||
|
||||
reorder_by_shortest_traverse(thick_polylines_out);
|
||||
}
|
||||
else {
|
||||
Polylines polylines;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue