mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-20 07:04:27 +08:00
parent
22593685a3
commit
48b8fc16e0
@ -930,10 +930,8 @@ void PerimeterGenerator::process()
|
||||
min = std::max(min, double(Flow::new_from_spacing(EPSILON, (float)nozzle_diameter, (float)this->layer->height, false).scaled_width()));
|
||||
double max = 2.2 * perimeter_spacing;
|
||||
//remove areas that are too big (shouldn't occur...)
|
||||
ExPolygons gaps_ex_to_test = diff_ex(
|
||||
gaps,
|
||||
offset2_ex(gaps, double(-max / 2), double(+max / 2)),
|
||||
true);
|
||||
ExPolygons too_big = offset2_ex(gaps, double(-max / 2), double(+max / 2));
|
||||
ExPolygons gaps_ex_to_test = too_big.empty()? gaps : diff_ex(gaps,too_big,true);
|
||||
ExPolygons gaps_ex;
|
||||
const double minarea = scale_(scale_(this->config->gap_fill_min_area.get_abs_value(unscaled((double)perimeter_width)*unscaled((double)perimeter_width))));
|
||||
// check each gapfill area to see if it's printable.
|
||||
|
Loading…
x
Reference in New Issue
Block a user