mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00: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:
@@ -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(); }
|
||||
|
||||
Reference in New Issue
Block a user