mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-15 17:35:59 +08:00
Two minor fixes
This commit is contained in:
parent
540d632bbb
commit
3a3b24ec7c
@ -86,7 +86,7 @@ LayerRegion::process_external_surfaces(const Layer* lower_layer)
|
|||||||
BridgeDetector bd(
|
BridgeDetector bd(
|
||||||
surface->expolygon,
|
surface->expolygon,
|
||||||
lower_layer->slices,
|
lower_layer->slices,
|
||||||
this->flow(frInfill, this->layer()->height, true).scaled_width()
|
this->flow(frInfill, true).scaled_width()
|
||||||
);
|
);
|
||||||
|
|
||||||
#ifdef SLIC3R_DEBUG
|
#ifdef SLIC3R_DEBUG
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
#include "Geometry.hpp"
|
#include "Geometry.hpp"
|
||||||
#include "Surface.hpp"
|
#include "Surface.hpp"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <complex>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
namespace Slic3r {
|
namespace Slic3r {
|
||||||
@ -161,7 +162,7 @@ SLAPrint::_infill_layer(size_t i, const Fill* _fill)
|
|||||||
Polygons internal = layer.slices;
|
Polygons internal = layer.slices;
|
||||||
for (size_t j = 0; j < this->layers.size(); ++j) {
|
for (size_t j = 0; j < this->layers.size(); ++j) {
|
||||||
const Layer &other = this->layers[j];
|
const Layer &other = this->layers[j];
|
||||||
if (abs(other.print_z - layer.print_z) > shell_thickness) continue;
|
if (std::abs(other.print_z - layer.print_z) > shell_thickness) continue;
|
||||||
|
|
||||||
if (j == 0 || j == this->layers.size()-1) {
|
if (j == 0 || j == this->layers.size()-1) {
|
||||||
internal.clear();
|
internal.clear();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user