mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-27 21:02:23 +00:00
Merge branch 'main' into dev/p2s-pr
This commit is contained in:
@@ -665,6 +665,7 @@ void TreeModelVolumes::calculateAvoidance(const std::vector<RadiusLayerPair> &ke
|
||||
// Limiting the offset step so that unioning the shrunk latest_avoidance with the current layer collisions
|
||||
// will not create gaps in the resulting avoidance region letting a tree support branch tunneling through an object wall.
|
||||
float move_step = 1.9 * std::max(task.radius, m_current_min_xy_dist);
|
||||
if (move_step < EPSILON) return;
|
||||
int move_steps = round_up_divide<int>(max_move, move_step);
|
||||
assert(move_steps > 0);
|
||||
float last_move_step = max_move - (move_steps - 1) * move_step;
|
||||
|
||||
Reference in New Issue
Block a user