mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-09 05:11:50 +08:00
FIX: enable circle fitting of tree support with larger threshold (#9038)
* FIX: enable circle fitting of tree support with larger threshold jira: STUDIO-8588 Change-Id: Ia566fa14f7f786ff905fc3484885634811a6d686 (cherry picked from commit bambulab/BambuStudio@82c72b19bd)
This commit is contained in:
parent
075565f4f4
commit
a3984a706e
@ -733,8 +733,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(
|
||||||
@ -748,7 +746,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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -75,7 +75,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…
x
Reference in New Issue
Block a user