mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 20:57:53 -06:00
Improvements of the C++ RectInfill2 code for supports:
Make the contours more continuous. Some documentation, asserts and such.
This commit is contained in:
parent
ee4b9ab82f
commit
c16eca0065
4 changed files with 267 additions and 96 deletions
|
@ -66,7 +66,7 @@ BridgeDetector::detect_angle()
|
|||
we'll use this one to clip our test lines and be sure that their endpoints
|
||||
are inside the anchors and not on their contours leading to false negatives. */
|
||||
Polygons clip_area;
|
||||
offset(this->expolygon, &clip_area, +this->extrusion_width/2);
|
||||
offset((const Slic3r::Polygons)this->expolygon, &clip_area, +this->extrusion_width/2);
|
||||
|
||||
/* we'll now try several directions using a rudimentary visibility check:
|
||||
bridge in several directions and then sum the length of lines having both
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue