FIX: raft_first_layer_expansion not working with tree support

jira: STUDIO-6043
github: #3355
Change-Id: Idf2a0053026a6f232a5239c3f504191321feb6ee
(cherry picked from commit 3eb35f5b1a53990d215ae4d3527917611f5083c6)
(cherry picked from commit 0589348c3264e56b9e3a16afea95a5d44983498b)
This commit is contained in:
Arthur 2024-01-26 16:19:59 +08:00 committed by Noisyfox
parent d0868d6711
commit c7febad548
3 changed files with 37 additions and 23 deletions

View file

@ -484,7 +484,7 @@ private:
* If a node is already at that position in the layer, the nodes are merged.
*/
void insert_dropped_node(std::vector<SupportNode*>& nodes_layer, SupportNode* node);
void create_tree_support_layers();
void create_tree_support_layers(bool support_enabled=true);
void generate_toolpaths();
// get unscaled radius of node
coordf_t calc_branch_radius(coordf_t base_radius, size_t layers_to_top, size_t tip_layers, double diameter_angle_scale_factor);