prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.69k stars 1.93k forks source link

Prusa slicer auto-arrange fails when initial orientation too large for print bed #8591

Open puterboy opened 2 years ago

puterboy commented 2 years ago

Description of the bug

If I have two objects that together (without rotation) don't fit the print-bed as is, auto-arrange sends one of the objects far off the print bed (much further than the set minimal separation) - this itself is a bug.

But even worse, the 2 objects would both fit the bed if one of them were rotated 90 or 180 degrees. However, the auto-arrange algorithm doesn't seem to attempt such rotation.

If I manually rotate one of the objects myself, then auto-arrange works.

So, it seems that somehow the auto-arrangement algorithm does not seek to do a rotation that extend beyond the area of the print bed even if doing so will allow a subsequent translation to make all the items fit.

Project file & How to reproduce

As above.

Checklist of files included above

Version of PrusaSlicer

2.4.2

Operating system

Windows 10

Printer model

Prusa MK3S+

dartrax commented 2 years ago

The throw of build plate issue might be the same as #5653?

bubnikv commented 2 years ago

If you click on the arrange button with a right mouse button, a dialog opens up, where you may allow auto rotation. PrusaSlicer will then try to rotate the objects.

ne 31. 7. 2022 v 14:10 odesílatel dartrax @.***> napsal:

The doesn‘t rotate issue is a duplication of #5339 https://github.com/prusa3d/PrusaSlicer/issues/5339. The throw of build plate issue might be the same as #5653 https://github.com/prusa3d/PrusaSlicer/issues/5653?

— Reply to this email directly, view it on GitHub https://github.com/prusa3d/PrusaSlicer/issues/8591#issuecomment-1200412274, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABMPSI6EYTKALL6W7ETONNDVWZUJRANCNFSM55BNOAOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

puterboy commented 2 years ago

If you click on the arrange button with a right mouse button, a dialog opens up, where you may allow auto rotation. PrusaSlicer will then try to rotate the objects.

Thanks! Very helpful and that solves the rotation problem! (though wasn't obvious I could right click :)

Is there any way to make auto-rotation a default in the settings?

stepikovo commented 2 years ago

Is there any way to make auto-rotation a default in the settings?

When you select that option once it will then be the new default