mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-09 07:56:24 -06:00
ENH: improve generate_contact_points tree support
1. Previously we used integer Point type to detect corner, which was wrong. 2. Delete duplicate points more aggressively to prevent too many points around curved overhangs. 3. Do not generate roof_1st_layers if there is no interface at all. Change-Id: I1167ac04c533ec8f29dc9e656ba7072d1b54197f (cherry picked from commit 1329347c4bf9c8207cf21e591a6ad113bb565673)
This commit is contained in:
parent
4385a8b33e
commit
bb48983e91
2 changed files with 28 additions and 18 deletions
|
@ -270,7 +270,8 @@ public:
|
|||
mutable double radius = 0.0;
|
||||
mutable double max_move_dist = 0.0;
|
||||
NodeType type = eCircle;
|
||||
bool is_merged = false; // this node is generated by merging upper nodes
|
||||
bool is_merged = false; // this node is generated by merging upper nodes
|
||||
bool is_corner = false;
|
||||
const ExPolygon* overhang = nullptr; // when type==ePolygon, set this value to get original overhang area
|
||||
|
||||
/*!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue