mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-27 10:41:15 -06:00
hollowing params renamed, filtering generalized
This commit is contained in:
parent
bc3d22348a
commit
4b08865809
12 changed files with 111 additions and 72 deletions
|
|
@ -17,7 +17,7 @@
|
|||
#include "slic3r/GUI/Plater.hpp"
|
||||
#include "slic3r/GUI/PresetBundle.hpp"
|
||||
#include "libslic3r/SLAPrint.hpp"
|
||||
#include "libslic3r/OpenVDBUtils.hpp"
|
||||
#include "libslic3r/SLA/Hollowing.hpp"
|
||||
|
||||
|
||||
namespace Slic3r {
|
||||
|
|
@ -597,10 +597,11 @@ void GLGizmoHollow::on_update(const UpdateData& data)
|
|||
|
||||
void GLGizmoHollow::hollow_mesh()
|
||||
{
|
||||
TriangleMesh cavity = hollowed_interior(*m_mesh, double(m_offset),
|
||||
double(m_accuracy),
|
||||
double(m_smoothness));
|
||||
|
||||
TriangleMesh cavity = sla::generate_interior(*m_mesh,
|
||||
double(m_offset),
|
||||
double(m_accuracy),
|
||||
double(m_smoothness));
|
||||
|
||||
if (cavity.empty()) return;
|
||||
|
||||
m_cavity_mesh.reset(new TriangleMesh(cavity));
|
||||
|
|
|
|||
|
|
@ -498,8 +498,8 @@ const std::vector<std::string>& Preset::sla_print_options()
|
|||
"pad_object_connector_penetration",
|
||||
"hollowing_enable",
|
||||
"hollowing_min_thickness",
|
||||
"hollowing_accuracy",
|
||||
"hollowing_smoothness",
|
||||
"hollowing_quality",
|
||||
"hollowing_flatness",
|
||||
"output_filename_format",
|
||||
"default_sla_print_profile",
|
||||
"compatible_printers",
|
||||
|
|
|
|||
|
|
@ -3568,8 +3568,8 @@ void TabSLAPrint::build()
|
|||
optgroup = page->new_optgroup(_(L("Hollowing")));
|
||||
optgroup->append_single_option_line("hollowing_enable");
|
||||
optgroup->append_single_option_line("hollowing_min_thickness");
|
||||
optgroup->append_single_option_line("hollowing_accuracy");
|
||||
optgroup->append_single_option_line("hollowing_smoothness");
|
||||
optgroup->append_single_option_line("hollowing_quality");
|
||||
optgroup->append_single_option_line("hollowing_flatness");
|
||||
|
||||
page = add_options_page(_(L("Advanced")), "wrench");
|
||||
optgroup = page->new_optgroup(_(L("Slicing")));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue