From e88cf466fedb19ca51ba55db7d82dfbb9b3a3198 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Mon, 23 Feb 2015 00:55:00 +0100 Subject: [PATCH] A couple notes about infill_only_where_needed --- lib/Slic3r/Print/Object.pm | 6 +++++- xs/src/libslic3r/PrintConfig.cpp | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/Slic3r/Print/Object.pm b/lib/Slic3r/Print/Object.pm index cc1e7ea79..687d676b5 100644 --- a/lib/Slic3r/Print/Object.pm +++ b/lib/Slic3r/Print/Object.pm @@ -792,7 +792,11 @@ sub clip_fill_surfaces { $new_internal, 1, )}; - + + # If there are voids it means that our internal infill is not adjacent to + # perimeters. In this case it would be nice to add a loop around infill to + # make it more robust and nicer. TODO. + $layerm->fill_surfaces->clear; $layerm->fill_surfaces->append($_) for (@new, @other); } diff --git a/xs/src/libslic3r/PrintConfig.cpp b/xs/src/libslic3r/PrintConfig.cpp index f11d64dc2..da74dcdc5 100644 --- a/xs/src/libslic3r/PrintConfig.cpp +++ b/xs/src/libslic3r/PrintConfig.cpp @@ -428,7 +428,7 @@ PrintConfigDef::build_def() { Options["infill_only_where_needed"].type = coBool; Options["infill_only_where_needed"].label = "Only infill where needed"; Options["infill_only_where_needed"].category = "Infill"; - Options["infill_only_where_needed"].tooltip = "This option will limit infill to the areas actually needed for supporting ceilings (it will act as internal support material)."; + Options["infill_only_where_needed"].tooltip = "This option will limit infill to the areas actually needed for supporting ceilings (it will act as internal support material). If enabled, slows down the G-code generation due to the multiple checks involved."; Options["infill_only_where_needed"].cli = "infill-only-where-needed!"; Options["infill_overlap"].type = coFloatOrPercent;