mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-15 01:22:37 -07:00
Hollowing params: accuracy and smoothness
This commit is contained in:
@@ -776,9 +776,10 @@ void SLAPrint::process()
|
||||
po.m_hollowing_data.reset(new SLAPrintObject::HollowingData());
|
||||
|
||||
double thickness = po.m_config.hollowing_min_thickness.getFloat();
|
||||
|
||||
double accuracy = po.m_config.hollowing_accuracy.getFloat();
|
||||
double blur = po.m_config.hollowing_smoothness.getFloat();
|
||||
po.m_hollowing_data->interior =
|
||||
hollowed_interior(po.transformed_mesh(), thickness, 4, 0.5);
|
||||
hollowed_interior(po.transformed_mesh(), thickness, accuracy, blur);
|
||||
|
||||
if (po.m_hollowing_data->interior.empty())
|
||||
BOOST_LOG_TRIVIAL(warning) << "Hollowed interior is empty!";
|
||||
@@ -1752,7 +1753,10 @@ bool SLAPrintObject::invalidate_state_by_config_options(const std::vector<t_conf
|
||||
bool invalidated = false;
|
||||
for (const t_config_option_key &opt_key : opt_keys) {
|
||||
if ( opt_key == "hollowing_enable"
|
||||
|| opt_key == "hollowing_min_thickness") {
|
||||
|| opt_key == "hollowing_min_thickness"
|
||||
|| opt_key == "hollowing_accuracy"
|
||||
|| opt_key == "hollowing_smoothness"
|
||||
) {
|
||||
steps.emplace_back(slaposHollowing);
|
||||
} else if (
|
||||
opt_key == "layer_height"
|
||||
|
||||
Reference in New Issue
Block a user