mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-20 21:27:52 -06:00
ENH: improve archor of internal bridge
Add loop inside sparse infill of lower layer to provide archor for internal bridge. This option controls how many lower layers generate loop path. Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: Ifdb6db9090115732aa2cacf5d155b587a10e18fc (cherry picked from commit 4fdb87ecd5c2e680f6bad2d018ba39cd05f787ce)
This commit is contained in:
parent
08494b5f6f
commit
588f18ac58
18 changed files with 141 additions and 15 deletions
|
@ -37,6 +37,12 @@ public:
|
|||
for (Surface &surface : this->surfaces)
|
||||
surface.surface_type = type;
|
||||
}
|
||||
//BBS
|
||||
void change_to_new_type(SurfaceType old_type, SurfaceType new_type) {
|
||||
for (Surface& surface : this->surfaces)
|
||||
if (surface.surface_type == old_type)
|
||||
surface.surface_type = new_type;
|
||||
}
|
||||
|
||||
void clear() { surfaces.clear(); }
|
||||
bool empty() const { return surfaces.empty(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue