Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2016-11-10 21:23:01 +0300
committerbubnikv <bubnikv@gmail.com>2016-11-10 21:23:01 +0300
commit4460b5ce50c7160cd922972a190c27bf4381ffbd (patch)
treec9030404b1edebaf3501f107960697cc84f76e02 /xs/src/libslic3r/Layer.hpp
parent317e9131e89782c98201849a21c0e2e91c8fc142 (diff)
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.
Diffstat (limited to 'xs/src/libslic3r/Layer.hpp')
-rw-r--r--xs/src/libslic3r/Layer.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/xs/src/libslic3r/Layer.hpp b/xs/src/libslic3r/Layer.hpp
index f603d1fe5..375d8ac9f 100644
--- a/xs/src/libslic3r/Layer.hpp
+++ b/xs/src/libslic3r/Layer.hpp
@@ -61,6 +61,7 @@ class LayerRegion
Flow flow(FlowRole role, bool bridge = false, double width = -1) const;
void merge_slices();
+ void slices_to_fill_surfaces_clipped();
void prepare_fill_surfaces();
void make_perimeters(const SurfaceCollection &slices, SurfaceCollection* perimeter_surfaces, SurfaceCollection* fill_surfaces);
void process_external_surfaces(const Layer* lower_layer);
@@ -108,7 +109,8 @@ public:
size_t region_count() const;
- LayerRegion* get_region(int idx);
+ const LayerRegion* get_region(int idx) const { return this->regions.at(idx); }
+ LayerRegion* get_region(int idx) { return this->regions.at(idx); }
LayerRegion* add_region(PrintRegion* print_region);
void make_slices();