mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
ENH: Optimize TreeSupport
New function plan_layer_heights added for pre-planning maximum layer heights Previous adjust_layer_heights function has been commentted out. Change-Id: I8ec5bb7b7e700ed7655d18a17d0b15de5f026592 (cherry picked from commit 55995c138e0375b8055f31768eea1392cd64168d)
This commit is contained in:
parent
ee59ac76a9
commit
18f794e4fa
3 changed files with 189 additions and 26 deletions
|
@ -401,6 +401,12 @@ private:
|
|||
|
||||
void adjust_layer_heights(std::vector<std::vector<Node*>>& contact_nodes);
|
||||
|
||||
/*! BBS: MusangKing: maximum layer height
|
||||
* \brief Optimize the generation of tree support by pre-planning the layer_heights
|
||||
*
|
||||
*/
|
||||
|
||||
std::vector<std::pair<coordf_t, coordf_t>> plan_layer_heights(std::vector<std::vector<Node*>>& contact_nodes);
|
||||
/*!
|
||||
* \brief Creates points where support contacts the model.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue