mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-11 16:00:17 -07:00
Removing debug printf statements and fixed threading flag.
This commit is contained in:
parent
7f0b97e84f
commit
066dbcc0ed
3 changed files with 1 additions and 9 deletions
|
|
@ -270,7 +270,6 @@ public:
|
|||
float ext_perimeter_speed,
|
||||
float original_speed)
|
||||
{
|
||||
//printf("Estimate extrusion quality triggered \n");
|
||||
size_t speed_sections_count = std::min(overlaps.values.size(), speeds.values.size());
|
||||
std::vector<std::pair<float, float>> speed_sections;
|
||||
|
||||
|
|
|
|||
|
|
@ -502,12 +502,10 @@ void PrintObject::generate_support_material()
|
|||
void PrintObject::estimate_curled_extrusions()
|
||||
{
|
||||
if (this->set_started(posEstimateCurledExtrusions)) {
|
||||
printf("Estimating curled Extrusions \n");
|
||||
if ( std::any_of(this->print()->m_print_regions.begin(), this->print()->m_print_regions.end(),
|
||||
[](const PrintRegion *region) { return region->config().enable_overhang_speed.getBool(); })) {
|
||||
|
||||
// Estimate curling of support material and add it to the malformaition lines of each layer
|
||||
//printf("Estimating curling of support material and add it to the malformaition lines of each layer \n");
|
||||
float support_flow_width = support_material_flow(this, this->config().layer_height).width();
|
||||
SupportSpotsGenerator::Params params{this->print()->m_config.filament_type.values,
|
||||
float(this->print()->m_config.inner_wall_acceleration.getFloat()),
|
||||
|
|
@ -516,7 +514,7 @@ void PrintObject::estimate_curled_extrusions()
|
|||
SupportSpotsGenerator::estimate_malformations(this->layers(), params);
|
||||
m_print->throw_if_canceled();
|
||||
}
|
||||
//this->set_done(posEstimateCurledExtrusions);
|
||||
this->set_done(posEstimateCurledExtrusions);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -176,11 +176,6 @@ void estimate_malformations(LayerPtrs &layers, const Params ¶ms)
|
|||
line_out.curled_up_height = estimate_curled_up_height(middle_distance * sign, 0.5 * (a.curvature + b.curvature),
|
||||
l->height, flow_width, bottom_line.curled_up_height, params);
|
||||
|
||||
/*printf("middle_distance %f, sign %f , curvature %f , l->height %f, flow_width %f, bottom_line.curled_up_height%f\n",
|
||||
middle_distance, sign , 0.5 * (a.curvature + b.curvature), l->height, flow_width, bottom_line.curled_up_height);*/
|
||||
|
||||
//printf("Curled up height: %f\n", line_out.curled_up_height);
|
||||
|
||||
current_layer_lines.push_back(line_out);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue