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:
SoftFever 2023-08-12 15:38:22 +08:00
parent 8dd9561574
commit 5807135a1f
8 changed files with 40 additions and 12 deletions

View file

@ -354,6 +354,7 @@ std::string ExtrusionEntity::role_to_string(ExtrusionRole role)
case erBottomSurface : return L("Bottom surface");
case erIroning : return L("Ironing");
case erBridgeInfill : return L("Bridge");
case erInternalBridgeInfill : return L("Internal Bridge");
case erGapFill : return L("Gap infill");
case erSkirt : return ("Skirt");
case erBrim : return ("Brim");
@ -388,6 +389,8 @@ ExtrusionRole ExtrusionEntity::string_to_role(const std::string_view role)
return erIroning;
else if (role == L("Bridge"))
return erBridgeInfill;
else if (role == L("Internal Bridge"))
return erInternalBridgeInfill;
else if (role == L("Gap infill"))
return erGapFill;
else if (role == ("Skirt"))