Support generator parallelized.

This commit is contained in:
bubnikv 2017-03-22 15:35:50 +01:00
parent 04cd474708
commit ed495663e8
2 changed files with 1080 additions and 910 deletions

File diff suppressed because it is too large Load Diff

View File

@ -162,8 +162,7 @@ private:
const PrintObject &object,
const MyLayersPtr &bottom_contacts,
const MyLayersPtr &top_contacts,
MyLayerStorage &layer_storage,
const coordf_t max_object_layer_height) const;
MyLayerStorage &layer_storage) const;
// Fill in the base layers with polygons.
void generate_base_layers(
@ -171,12 +170,11 @@ private:
const MyLayersPtr &bottom_contacts,
const MyLayersPtr &top_contacts,
MyLayersPtr &intermediate_layers,
std::vector<Polygons> &layer_support_areas) const;
const std::vector<Polygons> &layer_support_areas) const;
// Generate raft layers, also expand the 1st support layer
// in case there is no raft layer to improve support adhesion.
MyLayersPtr generate_raft_base(
const PrintObject &object,
const MyLayersPtr &top_contacts,
const MyLayersPtr &interface_layers,
const MyLayersPtr &base_layers,
@ -184,7 +182,6 @@ private:
// Turn some of the base layers into interface layers.
MyLayersPtr generate_interface_layers(
const PrintObject &object,
const MyLayersPtr &bottom_contacts,
const MyLayersPtr &top_contacts,
MyLayersPtr &intermediate_layers,