mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Hollowing params: accuracy and smoothness
This commit is contained in:
parent
a82f1268f3
commit
bc3d22348a
9 changed files with 85 additions and 23 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue