mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 16:27:54 -06:00
Merge branch 'main' into feature/multitool
This commit is contained in:
commit
5e2f145c34
210 changed files with 2326 additions and 1605 deletions
|
@ -677,7 +677,6 @@ void PrintObject::estimate_curled_extrusions()
|
|||
[](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
|
||||
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()->default_object_config().inner_wall_acceleration.getFloat()),
|
||||
this->config().raft_layers.getInt(), this->config().brim_type.value,
|
||||
|
@ -2949,16 +2948,16 @@ struct POProfiler
|
|||
|
||||
void PrintObject::generate_support_preview()
|
||||
{
|
||||
POProfiler profiler;
|
||||
// POProfiler profiler;
|
||||
|
||||
boost::posix_time::ptime ts1 = boost::posix_time::microsec_clock::local_time();
|
||||
// boost::posix_time::ptime ts1 = boost::posix_time::microsec_clock::local_time();
|
||||
this->slice();
|
||||
boost::posix_time::ptime ts2 = boost::posix_time::microsec_clock::local_time();
|
||||
profiler.duration1 = (ts2 - ts1).total_milliseconds();
|
||||
// boost::posix_time::ptime ts2 = boost::posix_time::microsec_clock::local_time();
|
||||
// profiler.duration1 = (ts2 - ts1).total_milliseconds();
|
||||
|
||||
this->generate_support_material();
|
||||
boost::posix_time::ptime ts3 = boost::posix_time::microsec_clock::local_time();
|
||||
profiler.duration2 = (ts3 - ts2).total_milliseconds();
|
||||
// boost::posix_time::ptime ts3 = boost::posix_time::microsec_clock::local_time();
|
||||
// profiler.duration2 = (ts3 - ts2).total_milliseconds();
|
||||
}
|
||||
|
||||
void PrintObject::update_slicing_parameters()
|
||||
|
@ -3668,7 +3667,6 @@ template void PrintObject::remove_bridges_from_contacts<Polygons>(
|
|||
|
||||
SupportNecessaryType PrintObject::is_support_necessary()
|
||||
{
|
||||
static const double super_overhang_area_threshold = SQ(scale_(5.0));
|
||||
const double cantilevel_dist_thresh = scale_(6);
|
||||
#if 0
|
||||
double threshold_rad = (m_config.support_threshold_angle.value < EPSILON ? 30 : m_config.support_threshold_angle.value + 1) * M_PI / 180.;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue