mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
ENH: enable arachne for concentric pattern
Enable arachne for concentric pattern by referring to PrusaSlicer Also remove useless pattern we added. Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: Ie2574f7fc4751ebdf1caab4de52013f3101e104f
This commit is contained in:
parent
df321f8cd9
commit
db9ade2257
10 changed files with 153 additions and 167 deletions
|
@ -239,6 +239,18 @@ public:
|
|||
std::pair<bool,bool> endpoints;
|
||||
};
|
||||
|
||||
inline ThickPolylines to_thick_polylines(Polylines&& polylines, const coordf_t width)
|
||||
{
|
||||
ThickPolylines out;
|
||||
out.reserve(polylines.size());
|
||||
for (Polyline& polyline : polylines) {
|
||||
out.emplace_back();
|
||||
out.back().width.assign((polyline.points.size() - 1) * 2, width);
|
||||
out.back().points = std::move(polyline.points);
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
class Polyline3 : public MultiPoint3
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue