mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-01 21:21:10 -06:00
ENH: sync master with auto-arranging and brim
auto-arranging considers wipe tower from smooth timelapse Change-Id: I5dd72260c777abfd2894776b2588bb3ff4224416
This commit is contained in:
parent
52a52ffc08
commit
0b4b6cde4f
3 changed files with 31 additions and 44 deletions
|
|
@ -1130,11 +1130,9 @@ private:
|
|||
return;
|
||||
{ // find a best position inside NFP of fixed items (excluded regions), so the center of pile is cloest to bed center
|
||||
RawShape objs_convex_hull = sl::convexHull(objs);
|
||||
for (const Item &item : config_.m_excluded_regions) { excludes.push_back(item.transformedShape()); }
|
||||
for (const Item &item : items_) {
|
||||
if (item.isFixed()) {
|
||||
if (!(item.is_wipe_tower && !need_wipe_tower))
|
||||
excludes.push_back(item.transformedShape());
|
||||
excludes.push_back(item.transformedShape());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue