disable clearance check if set to 0

supermerill/SuperSlicer#1446
This commit is contained in:
supermerill 2021-08-22 17:49:25 +02:00
parent ff153356c3
commit 201cf90b97
2 changed files with 4 additions and 1 deletions

View File

@ -1280,6 +1280,8 @@ bool Print::has_skirt() const
static inline bool sequential_print_horizontal_clearance_valid(const Print &print)
{
if (print.config().extruder_clearance_radius == 0)
return true;
Polygons convex_hulls_other;
std::map<ObjectID, Polygon> map_model_object_to_convex_hull;
const double dist_grow = PrintConfig::min_object_distance(&print.default_region_config()) * 2;

View File

@ -1113,7 +1113,8 @@ void PrintConfigDef::init_fff_params()
def->tooltip = L("Set this to the clearance radius around your extruder. "
"If the extruder is not centered, choose the largest value for safety. "
"This setting is used to check for collisions and to display the graphical preview "
"in the plater.");
"in the plater."
"\nSet to 0 to disable clearance checking.");
def->sidetext = L("mm");
def->min = 0;
def->mode = comExpert;