mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
ENH: should apply instance shift in is_through_overhang
Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: I07ca04d459c3e98650c8e5a33f56dac20f99b9a2
This commit is contained in:
@@ -2045,6 +2045,17 @@ void PrintObject::get_certain_layers(float start, float end, std::vector<LayerPt
|
||||
boundingbox_objects.emplace_back(std::move(temp));
|
||||
out.emplace_back(std::move(out_temp));
|
||||
};
|
||||
|
||||
std::vector<Point> PrintObject::get_instances_shift_without_plate_offset()
|
||||
{
|
||||
std::vector<Point> out;
|
||||
out.reserve(m_instances.size());
|
||||
for (const auto& instance : m_instances)
|
||||
out.push_back(instance.shift_without_plate_offset());
|
||||
|
||||
return out;
|
||||
}
|
||||
|
||||
// Only active if config->infill_only_where_needed. This step trims the sparse infill,
|
||||
// so it acts as an internal support. It maintains all other infill types intact.
|
||||
// Here the internal surfaces and perimeters have to be supported by the sparse infill.
|
||||
|
||||
Reference in New Issue
Block a user