mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-05 00:31:03 -07:00
Fixed an issue that internal_bridge_speed is applied to external bridge infills
A new extrusion role - erInternalBridgeInfill is introduced. SuperSlicer's implementation is referenced. Signed-off-by: SoftFever <103989404+SoftFever@users.noreply.github.com>
This commit is contained in:
parent
8dd9561574
commit
5807135a1f
8 changed files with 40 additions and 12 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include "ClipperUtils.hpp"
|
||||
#include "ExtrusionEntity.hpp"
|
||||
#include "ExtrusionEntityCollection.hpp"
|
||||
#include "Layer.hpp"
|
||||
#include "Print.hpp"
|
||||
|
|
@ -1325,7 +1326,7 @@ namespace SupportMaterialInternal {
|
|||
for (const ExtrusionEntity *ee2 : static_cast<const ExtrusionEntityCollection*>(ee)->entities) {
|
||||
assert(! ee2->is_collection());
|
||||
assert(! ee2->is_loop());
|
||||
if (ee2->role() == erBridgeInfill)
|
||||
if (ee2->role() == erBridgeInfill || ee2->role() == erInternalBridgeInfill)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue