mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-02 20:51:23 -07:00
ENH: remove tbb simplify in gcode export
Useless after importing AABB tree. Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: Iaec9bef4a2a6bc4d097c6fd75720cb69d9cf314f
This commit is contained in:
parent
db86541df7
commit
1278cbf461
4 changed files with 1 additions and 26 deletions
|
|
@ -31,13 +31,10 @@ public:
|
|||
const PrintRegion& region() const { return *m_region; }
|
||||
|
||||
const SurfaceCollection& get_slices() const { return slices; }
|
||||
const SurfaceCollection& get_slices_simplified() const { return slices_simplified; }
|
||||
|
||||
// collection of surfaces generated by slicing the original geometry
|
||||
// divided by type top/bottom/internal
|
||||
SurfaceCollection slices;
|
||||
//BBS: simplifed final slices data to accelerate
|
||||
SurfaceCollection slices_simplified;
|
||||
// Backed up slices before they are split into top/bottom/internal.
|
||||
// Only backed up for multi-region layers or layers with elephant foot compensation.
|
||||
//FIXME Review whether not to simplify the code by keeping the raw_slices all the time.
|
||||
|
|
@ -78,8 +75,6 @@ public:
|
|||
void slices_to_fill_surfaces_clipped();
|
||||
void prepare_fill_surfaces();
|
||||
//BBS
|
||||
inline void simplify_final_slices() { this->slices_simplified.set(this->slices); this->slices_simplified.simplify(scaled(SIMPLIFY_SLICES_RESOLUTION));}
|
||||
//BBS
|
||||
void make_perimeters(const SurfaceCollection &slices, SurfaceCollection* fill_surfaces, ExPolygons* fill_no_overlap);
|
||||
void process_external_surfaces(const Layer *lower_layer, const Polygons *lower_layer_covered);
|
||||
double infill_area_threshold() const;
|
||||
|
|
@ -196,8 +191,6 @@ public:
|
|||
void simplify_extrusion_path() { for (auto layerm : m_regions) layerm->simplify_extrusion_entity();}
|
||||
//BBS: this function calculate the maximum void grid area of sparse infill of this layer. Just estimated value
|
||||
coordf_t get_sparse_infill_max_void_area();
|
||||
//BBS
|
||||
inline void simplify_reagon_final_slices() { for (auto* region : this->m_regions) region->simplify_final_slices();}
|
||||
|
||||
protected:
|
||||
friend class PrintObject;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue