mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-05 16:51:07 -07:00
ENH: separate the simplifying of infill and wall
This can avoid to simplify wall twice when the only invalid step is infill. Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: Ie5a9ccc10d5331c29c716aece08cdb195352cfe3
This commit is contained in:
parent
e6070fc607
commit
3a1e112d49
5 changed files with 40 additions and 23 deletions
|
|
@ -526,13 +526,6 @@ void LayerRegion::export_region_fill_surfaces_to_svg_debug(const char *name) con
|
|||
this->export_region_fill_surfaces_to_svg(debug_out_path("LayerRegion-fill_surfaces-%s-%d.svg", name, idx ++).c_str());
|
||||
}
|
||||
|
||||
//BBS
|
||||
void LayerRegion::simplify_extrusion_entity()
|
||||
{
|
||||
simplify_entity_collection(&perimeters);
|
||||
simplify_entity_collection(&fills);
|
||||
}
|
||||
|
||||
void LayerRegion::simplify_entity_collection(ExtrusionEntityCollection* entity_collection)
|
||||
{
|
||||
for (size_t i = 0; i < entity_collection->entities.size(); i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue