re-wrote PrintObject::detect_surfaces_type() to C++,

Fixed some cracks in the fill surfaces created by rounding all surfaces inside detect_surface_type().

Fixed https://github.com/prusa3d/Slic3r/issues/12
Bridging-Angle not optimal

Extended the "Ensure veritcal wall thickness" mode (merged with the original discover_horizontal_shells function), but this a work in progress. Already Slic3r with "ensure vertical wall thickness" produces less spurious infills inside solids.
This commit is contained in:
bubnikv 2016-11-10 19:23:01 +01:00
parent 317e9131e8
commit 4460b5ce50
8 changed files with 345 additions and 293 deletions

View file

@ -120,7 +120,11 @@ PerimeterGenerator::process()
// from the line width of the infill?
coord_t distance = (i == 1) ? ext_pspacing2 : pspacing;
if (this->config->thin_walls) {
//FIXME Vojtech: Why there is a special case for the thin walls?
// Gap fill is active all the time anyway and this is not the outer perimeter.
// if (this->config->thin_walls) {
if (false) {
offsets = offset2(
last,
-(distance + min_spacing/2 - 1),