SoftFever / OrcaSlicer

G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)
https://discord.gg/P4VE9UY9gJ
GNU Affero General Public License v3.0
7.26k stars 859 forks source link

Orca won't navigate around Exclusion Zones #6296

Open robwaldhauser opened 3 months ago

robwaldhauser commented 3 months ago

Is there an existing issue for this problem?

OrcaSlicer Version

2.1.1

Operating System (OS)

Windows

OS Version

Windows 11

Additional system information

No response

Printer

Custom V0.2 Toolchanger

How to reproduce

When attempting to slice a file where items are "around the corner" of an exclusion zone or irregular bed shape

Actual results

Orca Slicer will not attempt to calculate a path around the exclusion zone but rather try to cut straight through. What seems to happen, in the even that there can't be a straight line without cutting across the exclusion zone, it will throw an error that it is too close to the exclusion zone. If we remove the exclusion zone and set the bed size based on an stl it will simply travel outside of the bed area (which is also no good if that's where the dock is). image image

Expected results

Orca should navigate to avoid exclusion zones and or custom bed sizes from stl. This is especially critical as toolchangers become more popular, where Orca will need to dodge the correctly excluded docking zones. In this case, a V0.2 has limited bed size so being about to use the space between docks for the purge tower allows far more room for the models.

Project file & Debug log uploads

Sheep.fail.zip

Checklist of files to include

Anything else?

No response

fer662 commented 3 months ago

image Another example of this being an issue is some gantry designs and toolhead combinations require excluding little areas around the front corners. A travel between 2 objects located at these spots will violate the exclusion zone.

oldcrazyeye commented 3 months ago

With the rise of toolchangers and awd custom machines I think this feature is extremely important to have working correctly and intuitively. Also need to ability to define multiple exclusion zones.

zruncho3d commented 3 months ago

I'll throw my use case in: dual-gantry machines.

In the two-toolhead "Stay within the lines" mode, as well as one-toolhead "Just don't hit the other one" mode, exclusions with Manhattan moves to avoid head crashes (which can happen in the middle of the print) are pretty valuable. Diagrams here:

https://github.com/zruncho3d/DuelingZero/blob/main/SOFTWARE.md

github-actions[bot] commented 1 week ago

Orca bot: this issue is stale because it has been open for 90 days with no activity.

noobydp commented 1 week ago

+1