mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
FIX: cli arrange failed in some cases
1. set different bed_shrink for seq_print and layered print 2. fix the bug that seq_print arranging may get collision with exclusion area. 3. remove unused functions. Jira: STUDIO-4663 Change-Id: I8b726704cca33fe37bb3cb7c4502963a9ad8d16b
This commit is contained in:
@@ -534,7 +534,7 @@ StringObjectException Print::sequential_print_clearance_valid(const Print &print
|
||||
auto tmp = offset(convex_hull_no_offset,
|
||||
// Shrink the extruder_clearance_radius a tiny bit, so that if the object arrangement algorithm placed the objects
|
||||
// exactly by satisfying the extruder_clearance_radius, this test will not trigger collision.
|
||||
float(scale_(0.5 * print.config().extruder_clearance_max_radius.value - 0.01)),
|
||||
float(scale_(0.5 * print.config().extruder_clearance_max_radius.value - 0.1)),
|
||||
jtRound, scale_(0.1));
|
||||
if (!tmp.empty()) { // tmp may be empty due to clipper's bug, see STUDIO-2452
|
||||
convex_hull = tmp.front();
|
||||
|
||||
Reference in New Issue
Block a user