mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-13 22:11:48 +00:00
ENH: add a new support style "Tree Organic"
Add a new suport style "Tree Organic" from Prusa, as organic support is faster and seems more strong in some cases. Thanks to Prusa. Feature detection including sharp tail, small overhang, long cantilever, are still kept. Known issue: first layer support path may go outside build plate. Jira: STUDIO-2358 Github: #2420 Change-Id: I4cec149bf4fa9eb733ae720ac1a7f65098e3b951 (cherry picked from commit d977bc5d3b4609f4fec0aa68152a33cacf184c4a)
This commit is contained in:
@@ -40,7 +40,6 @@ using namespace std::literals;
|
||||
#endif
|
||||
|
||||
// #define SLIC3R_DEBUG
|
||||
|
||||
// Make assert active if SLIC3R_DEBUG
|
||||
#ifdef SLIC3R_DEBUG
|
||||
#undef NDEBUG
|
||||
@@ -2463,11 +2462,15 @@ void PrintObject::combine_infill()
|
||||
|
||||
void PrintObject::_generate_support_material()
|
||||
{
|
||||
PrintObjectSupportMaterial support_material(this, m_slicing_params);
|
||||
support_material.generate(*this);
|
||||
|
||||
TreeSupport tree_support(*this, m_slicing_params);
|
||||
tree_support.generate();
|
||||
if (is_tree(m_config.support_type.value)) {
|
||||
TreeSupport tree_support(*this, m_slicing_params);
|
||||
tree_support.throw_on_cancel = [this]() { this->throw_if_canceled(); };
|
||||
tree_support.generate();
|
||||
}
|
||||
else {
|
||||
PrintObjectSupportMaterial support_material(this, m_slicing_params);
|
||||
support_material.generate(*this);
|
||||
}
|
||||
}
|
||||
|
||||
// BBS
|
||||
|
||||
Reference in New Issue
Block a user