mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
FIX: undef SUPPORT_TREE_DEBUG_TO_SVG and tree support enhance
1. undef SUPPORT_TREE_DEBUG_TO_SVG 2. change default tree branch angle to 45 degrees 3. encourage tree neighbors merge faster 4. draw more loops at the top of trees for stronger support Change-Id: I2edf6a2dddb3b6165c2519ee15e9a7ffaba9de94 (cherry picked from commit 3a9723b2e88a033b3298cd68daf9400265e984a1)
This commit is contained in:
@@ -250,13 +250,20 @@ public:
|
||||
ExPolygons base_areas;
|
||||
ExPolygons roof_gap_areas; // the areas in the gap between support roof and overhang
|
||||
|
||||
enum AreaType {
|
||||
enum AreaType {
|
||||
BaseType=0,
|
||||
RoofType=1,
|
||||
FloorType=2,
|
||||
Roof1stLayer=3
|
||||
};
|
||||
std::vector<std::pair<ExPolygon *, int>> area_groups;
|
||||
struct AreaGroup
|
||||
{
|
||||
ExPolygon *area;
|
||||
int type;
|
||||
int dist_to_top;
|
||||
AreaGroup(ExPolygon *a, int t, int d) : area(a), type(t), dist_to_top(d) {}
|
||||
};
|
||||
std::vector<AreaGroup> area_groups;
|
||||
|
||||
enum OverhangType {
|
||||
Detected=0,
|
||||
|
||||
Reference in New Issue
Block a user