mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06: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:
parent
c00719b837
commit
bc0273d734
4 changed files with 53 additions and 30 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue