mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-24 00:54:29 +08:00
clean 91535794705a65f406134d1d751c16c51bac3ac8
This commit is contained in:
parent
160b509a46
commit
491e49a2eb
@ -89,7 +89,6 @@ struct SurfaceFill {
|
|||||||
SurfaceFillParams params;
|
SurfaceFillParams params;
|
||||||
};
|
};
|
||||||
|
|
||||||
int fillidx = 0;
|
|
||||||
std::vector<SurfaceFill> group_fills(const Layer &layer)
|
std::vector<SurfaceFill> group_fills(const Layer &layer)
|
||||||
{
|
{
|
||||||
std::vector<SurfaceFill> surface_fills;
|
std::vector<SurfaceFill> surface_fills;
|
||||||
@ -434,16 +433,6 @@ void Layer::make_fills(FillAdaptive::Octree* adaptive_fill_octree, FillAdaptive:
|
|||||||
//init the surface with the current polygon
|
//init the surface with the current polygon
|
||||||
surface_fill.surface.expolygon = std::move(expoly);
|
surface_fill.surface.expolygon = std::move(expoly);
|
||||||
//make fill
|
//make fill
|
||||||
if (surface_fill.params.pattern == ipRectiWithPerimeter) {
|
|
||||||
{
|
|
||||||
std::stringstream stri;
|
|
||||||
stri << layerm->layer()->id() << "_" << fillidx++ << "_fill" << ".svg";
|
|
||||||
SVG svg(stri.str());
|
|
||||||
svg.draw((layerm->m_slices.surfaces[0].expolygon), "green");
|
|
||||||
svg.draw(to_polylines(surface_fill.surface.expolygon), "orange");
|
|
||||||
svg.Close();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
f->fill_surface_extrusion(&surface_fill.surface, surface_fill.params, m_regions[surface_fill.region_id]->fills.entities);
|
f->fill_surface_extrusion(&surface_fill.surface, surface_fill.params, m_regions[surface_fill.region_id]->fills.entities);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user