mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
WIP: Reworked the infill generator to merge areas with the same
properties. Note for Vojtech: Review src/libslic3r/Fill/Fill.cpp once again, add test for G-code generator properties (extrusion speed, cooling?) Fixes Modifier slice/move efficiency #1005
This commit is contained in:
parent
308f601a99
commit
d146a0237e
12 changed files with 376 additions and 259 deletions
|
@ -171,21 +171,6 @@ void Layer::make_perimeters()
|
|||
BOOST_LOG_TRIVIAL(trace) << "Generating perimeters for layer " << this->id() << " - Done";
|
||||
}
|
||||
|
||||
void Layer::make_fills()
|
||||
{
|
||||
#ifdef SLIC3R_DEBUG
|
||||
printf("Making fills for layer " PRINTF_ZU "\n", this->id());
|
||||
#endif
|
||||
for (LayerRegion *layerm : m_regions) {
|
||||
layerm->fills.clear();
|
||||
make_fill(*layerm, layerm->fills);
|
||||
#ifndef NDEBUG
|
||||
for (size_t i = 0; i < layerm->fills.entities.size(); ++ i)
|
||||
assert(dynamic_cast<ExtrusionEntityCollection*>(layerm->fills.entities[i]) != NULL);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
void Layer::export_region_slices_to_svg(const char *path) const
|
||||
{
|
||||
BoundingBox bbox;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue