missing space in description
This commit is contained in:
parent
c09a44779d
commit
c38bd9adde
@ -431,16 +431,16 @@ void PrintObject::generate_support_spots()
|
|||||||
auto alert_fn = [&](PrintStateBase::WarningLevel level, SupportSpotsGenerator::SupportPointCause cause) {
|
auto alert_fn = [&](PrintStateBase::WarningLevel level, SupportSpotsGenerator::SupportPointCause cause) {
|
||||||
switch (cause) {
|
switch (cause) {
|
||||||
case SupportSpotsGenerator::SupportPointCause::LongBridge:
|
case SupportSpotsGenerator::SupportPointCause::LongBridge:
|
||||||
this->active_step_add_warning(level, L("There are bridges longer than recommended length. Consider adding supports.") +
|
this->active_step_add_warning(level, L("There are bridges longer than recommended length. Consider adding supports. ") +
|
||||||
(L("Object name")) + ": " + this->model_object()->name);
|
(L("Object name")) + ": " + this->model_object()->name);
|
||||||
break;
|
break;
|
||||||
case SupportSpotsGenerator::SupportPointCause::FloatingBridgeAnchor:
|
case SupportSpotsGenerator::SupportPointCause::FloatingBridgeAnchor:
|
||||||
this->active_step_add_warning(level, L("Unsupported bridges will collapse. Supports are needed.") + (L("Object name")) +
|
this->active_step_add_warning(level, L("Unsupported bridges will collapse. Supports are needed. ") + (L("Object name")) +
|
||||||
": " + this->model_object()->name);
|
": " + this->model_object()->name);
|
||||||
break;
|
break;
|
||||||
case SupportSpotsGenerator::SupportPointCause::FloatingExtrusion:
|
case SupportSpotsGenerator::SupportPointCause::FloatingExtrusion:
|
||||||
if (level == PrintStateBase::WarningLevel::CRITICAL) {
|
if (level == PrintStateBase::WarningLevel::CRITICAL) {
|
||||||
this->active_step_add_warning(level, L("Clusters of unsupported extrusions found. Supports are needed.") +
|
this->active_step_add_warning(level, L("Clusters of unsupported extrusions found. Supports are needed. ") +
|
||||||
(L("Object name")) + ": " + this->model_object()->name);
|
(L("Object name")) + ": " + this->model_object()->name);
|
||||||
} else {
|
} else {
|
||||||
this->active_step_add_warning(level, L("Some unspported extrusions found. Consider adding supports. ") +
|
this->active_step_add_warning(level, L("Some unspported extrusions found. Consider adding supports. ") +
|
||||||
@ -448,15 +448,15 @@ void PrintObject::generate_support_spots()
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case SupportSpotsGenerator::SupportPointCause::SeparationFromBed:
|
case SupportSpotsGenerator::SupportPointCause::SeparationFromBed:
|
||||||
this->active_step_add_warning(level, L("Object part may break from the bed. Consider adding brim and/or supports.") +
|
this->active_step_add_warning(level, L("Object part may break from the bed. Consider adding brim and/or supports. ") +
|
||||||
(L("Object name")) + ": " + this->model_object()->name);
|
(L("Object name")) + ": " + this->model_object()->name);
|
||||||
break;
|
break;
|
||||||
case SupportSpotsGenerator::SupportPointCause::UnstableFloatingPart:
|
case SupportSpotsGenerator::SupportPointCause::UnstableFloatingPart:
|
||||||
this->active_step_add_warning(level, L("Floating object parts detected. Supports are needed.") + (L("Object name")) +
|
this->active_step_add_warning(level, L("Floating object parts detected. Supports are needed. ") + (L("Object name")) +
|
||||||
": " + this->model_object()->name);
|
": " + this->model_object()->name);
|
||||||
break;
|
break;
|
||||||
case SupportSpotsGenerator::SupportPointCause::WeakObjectPart:
|
case SupportSpotsGenerator::SupportPointCause::WeakObjectPart:
|
||||||
this->active_step_add_warning(level, L("Thin parts of the object may break. Consider adding supports.") +
|
this->active_step_add_warning(level, L("Thin parts of the object may break. Consider adding supports. ") +
|
||||||
(L("Object name")) + ": " + this->model_object()->name);
|
(L("Object name")) + ": " + this->model_object()->name);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user