mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 02:52:10 +00: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:
@@ -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
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user