mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-30 05:21:51 -06:00
Fix for bed filling with some existing items out of bed.
This commit is contained in:
parent
4e90df1ea5
commit
2813db8906
3 changed files with 30 additions and 3 deletions
|
@ -62,6 +62,15 @@ struct ArrangePolygon {
|
|||
|
||||
/// Test if arrange() was called previously and gave a successful result.
|
||||
bool is_arranged() const { return bed_idx != UNARRANGED; }
|
||||
|
||||
inline ExPolygon transformed_poly() const
|
||||
{
|
||||
ExPolygon ret = poly;
|
||||
ret.rotate(rotation);
|
||||
ret.translate(translation.x(), translation.y());
|
||||
|
||||
return ret;
|
||||
}
|
||||
};
|
||||
|
||||
using ArrangePolygons = std::vector<ArrangePolygon>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue