FIX: enable circle fitting of tree support with larger threshold
jira: STUDIO-8588 Change-Id: Ia566fa14f7f786ff905fc3484885634811a6d686
This commit is contained in:
parent
05877729ff
commit
82c72b19bd
|
@ -538,8 +538,6 @@ void PrintObject::simplify_extrusion_path()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this->set_started(posSimplifySupportPath)) {
|
if (this->set_started(posSimplifySupportPath)) {
|
||||||
//BBS: disable circle simplification for support as it causes separation of support walls
|
|
||||||
#if 0
|
|
||||||
m_print->set_status(75, L("Optimizing toolpath"));
|
m_print->set_status(75, L("Optimizing toolpath"));
|
||||||
BOOST_LOG_TRIVIAL(debug) << "Simplify extrusion path of support in parallel - start";
|
BOOST_LOG_TRIVIAL(debug) << "Simplify extrusion path of support in parallel - start";
|
||||||
tbb::parallel_for(
|
tbb::parallel_for(
|
||||||
|
@ -553,7 +551,6 @@ void PrintObject::simplify_extrusion_path()
|
||||||
);
|
);
|
||||||
m_print->throw_if_canceled();
|
m_print->throw_if_canceled();
|
||||||
BOOST_LOG_TRIVIAL(debug) << "Simplify extrusion path of support in parallel - end";
|
BOOST_LOG_TRIVIAL(debug) << "Simplify extrusion path of support in parallel - end";
|
||||||
#endif
|
|
||||||
this->set_done(posSimplifySupportPath);
|
this->set_done(posSimplifySupportPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,7 +65,7 @@ static constexpr double RESOLUTION = 0.0125;
|
||||||
static constexpr double SPARSE_INFILL_RESOLUTION = 0.04;
|
static constexpr double SPARSE_INFILL_RESOLUTION = 0.04;
|
||||||
#define SCALED_SPARSE_INFILL_RESOLUTION (SPARSE_INFILL_RESOLUTION / SCALING_FACTOR)
|
#define SCALED_SPARSE_INFILL_RESOLUTION (SPARSE_INFILL_RESOLUTION / SCALING_FACTOR)
|
||||||
|
|
||||||
static constexpr double SUPPORT_RESOLUTION = 0.1;
|
static constexpr double SUPPORT_RESOLUTION = 0.0375;
|
||||||
#define SCALED_SUPPORT_RESOLUTION (SUPPORT_RESOLUTION / SCALING_FACTOR)
|
#define SCALED_SUPPORT_RESOLUTION (SUPPORT_RESOLUTION / SCALING_FACTOR)
|
||||||
// Maximum perimeter length for the loop to apply the small perimeter speed.
|
// Maximum perimeter length for the loop to apply the small perimeter speed.
|
||||||
#define SMALL_PERIMETER_LENGTH(LENGTH) (((LENGTH)/SCALING_FACTOR)*2*PI)
|
#define SMALL_PERIMETER_LENGTH(LENGTH) (((LENGTH)/SCALING_FACTOR)*2*PI)
|
||||||
|
|
Loading…
Reference in New Issue