mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
ENH: only draw infill in normal nodes of hybrid support
1. Only draw infill in normal nodes of hybrid support. Previously when hybrid support was selected, all nodes would have infill including the circle nodes which don't need infill. Now we draw infill only when there are normal nodes. 2. Move remove_bridge after small overhang removal because the trimmed bridge may be detected as small overhangs. 3. Only split circle nodes in draw_circles to prevent floating circles. 4. Fix the issue where tree support infills may not be aligned, which is caused by the changing spacing of filler. 5. Fix a bug where lightning infill in tree support may crash. Note: it is still not prepared to set lightning infill as default, as for some models the generation time of lightning infill is still too long. Change-Id: I556e5097041d09afae1e2957d4dc9914d4610149 (cherry picked from commit 4c0849a81b60cde0c3b8ca54f03f63ea7c62dcd9)
This commit is contained in:
@@ -239,6 +239,7 @@ public:
|
||||
, height(0.0)
|
||||
{}
|
||||
|
||||
// when dist_mm_to_top_==0, new node's dist_mm_to_top=parent->dist_mm_to_top + parent->height;
|
||||
Node(const Point position, const int distance_to_top, const int obj_layer_nr, const int support_roof_layers_below, const bool to_buildplate, Node* parent,
|
||||
coordf_t print_z_, coordf_t height_, coordf_t dist_mm_to_top_=0)
|
||||
: distance_to_top(distance_to_top)
|
||||
|
||||
Reference in New Issue
Block a user