mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-27 19:01:02 +00:00
Rename smsOrganic to smsTreeOrganic
This commit is contained in:
@@ -1808,7 +1808,7 @@ void generate_support_toolpaths(
|
||||
filler->link_max_length = coord_t(scale_(filler->spacing * link_max_length_factor / density));
|
||||
sheath = true;
|
||||
no_sort = true;
|
||||
} else if (support_params.support_style == SupportMaterialStyle::smsOrganic) {
|
||||
} else if (support_params.support_style == SupportMaterialStyle::smsTreeOrganic) {
|
||||
tree_supports_generate_paths(base_layer.extrusions, base_layer.polygons_to_extrude(), flow, support_params);
|
||||
done = true;
|
||||
}
|
||||
|
||||
@@ -678,7 +678,7 @@ public:
|
||||
m_support_material_closing_radius(params.support_closing_radius)
|
||||
{
|
||||
if (m_style == smsDefault) m_style = smsGrid;
|
||||
if (std::set<SupportMaterialStyle>{smsTreeSlim, smsTreeStrong, smsTreeHybrid, smsOrganic}.count(m_style))
|
||||
if (std::set<SupportMaterialStyle>{smsTreeSlim, smsTreeStrong, smsTreeHybrid, smsTreeOrganic}.count(m_style))
|
||||
m_style = smsGrid;
|
||||
switch (m_style) {
|
||||
case smsGrid:
|
||||
@@ -774,7 +774,7 @@ public:
|
||||
case smsTreeSlim:
|
||||
case smsTreeStrong:
|
||||
case smsTreeHybrid:
|
||||
case smsOrganic:
|
||||
case smsTreeOrganic:
|
||||
assert(false);
|
||||
//[[fallthrough]];
|
||||
return Polygons();
|
||||
|
||||
@@ -161,7 +161,7 @@ struct SupportParameters {
|
||||
if (support_style == smsDefault) {
|
||||
if (is_tree(object_config.support_type)) {
|
||||
// Orca: use organic as default
|
||||
support_style = smsOrganic;
|
||||
support_style = smsTreeOrganic;
|
||||
} else {
|
||||
support_style = smsGrid;
|
||||
}
|
||||
|
||||
@@ -1631,7 +1631,7 @@ void TreeSupport::generate_toolpaths()
|
||||
|
||||
void TreeSupport::generate()
|
||||
{
|
||||
if (m_support_params.support_style == smsOrganic) {
|
||||
if (m_support_params.support_style == smsTreeOrganic) {
|
||||
generate_tree_support_3D(*m_object, this, this->throw_on_cancel);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user