mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 19:28:14 -06: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:
parent
e0c15db6b6
commit
8cfee69015
6 changed files with 85 additions and 87 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue